agentleFS
paladinipaladini/harness-score/.cursor/rules/core.mdc

harness-score / rules

Cursor rule545 starsChanged 2 months agoMITView on GitHub

Non-negotiable conventions for the harness-score monorepo

  • Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.

    Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository5 other files it gives its agents.

The file

We split this core.mdc into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check changes touch three files together: packages/cli/src/score.ts, docs/guide/maturity-model.md, docs/guide/measure-and-improve.md — …

    line 10
  2. Distinctive:

    Check IDs are stable public API (they are documentation anchors and appear in users' CI logs).

    line 15

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
core.mdc
---
description: Non-negotiable conventions for the harness-score monorepo
alwaysApply: true
---

- The scanner is deterministic by contract: no model calls, no network, no
  time-dependent output. If a proposed check needs judgment, it does not
  belong in the CLI — it belongs in the guide as advice.
- `packages/cli` has zero runtime dependencies. Do not add one.
- Check changes touch three files together: `packages/cli/src/score.ts`,
  `docs/guide/maturity-model.md`, `docs/guide/measure-and-improve.md` —
  enforced in CI by `docs.test.ts` and `maturity-sync.test.ts`.
- Guide edits must keep **all five locales** in sync — see `.cursor/rules/docs-i18n-parity.mdc`
  and `docs.test.ts` (file set + anchor parity).
- Check IDs are stable public API (they are documentation anchors and appear
  in users' CI logs). Never renumber, reuse, or delete an ID — deprecate by
  making the check always-pass if truly needed.
- This repository must keep scoring L4 on `npm run scan`.
- **External PRs:** push fixes to the contributor PR head branch, not local
  `main` ahead of `origin/main`.
- **English on GitHub:** PR/issue comments and review bodies on
  `paladini/harness-score` are English only (changesets/release notes too,
  unless the user explicitly asks for another language). Do not post
  maintainer review feedback in Portuguese or other locales on public threads.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.