agentleFS
harshanandakharshanandak/forge/AGENTS.md

forge

AGENTS.md0 starsChanged 9 days agoMITView on GitHub

Forge (forge-workflow, command forge) builds CLI and MCP tools from block operations. Core knows no workflow; stages, TDD and pull requests belong in blocks/templates. Bun builds Forge; consumers need npm and Node 24.15+ in 24.x or Node 26+. Node 25 is unsupported. Commands: package.json. Guards: test/structure. Agents: use forge <noun> <verb> --help --json or forge catalog describe <noun.verb> for the full JSON contract. Read CODING_STANDARDS.md before writing or reviewing code, adding a dependency, adding a test, or retiring something. It…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,337 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.

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Commit with conventional titles (feat:, fix:, docs:, chore:, refactor:, test:, ci:).

    line 15
  2. Very specific:

    After cloning, run forge skills sync.

    line 16
  3. Very specific:

    Read CODING_STANDARDS.md before writing or reviewing code, adding a dependency, adding a test, or retiring something.

    line 21

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md 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
AGENTS.md

Forge

Forge (forge-workflow, command forge) builds CLI and MCP tools from block operations. Core knows no workflow; stages, TDD and pull requests belong in blocks/templates. Bun builds Forge; consumers need npm and Node 24.15+ in 24.x or Node 26+. Node 25 is unsupported.

Commands: package.json. Guards: test/structure. Agents: use forge <noun> <verb> --help --json or forge catalog describe <noun.verb> for the full JSON contract.

Gotchas

  • no-comments refuses new source/test comments. Put reasons in a test named for the constraint, a named constant or the issue.
  • bun lint needs canary; bun fmt is stable in 1.4.4. The lint and fmt scripts use tools/bun-builtin.ts, which exits 1 with an upgrade hint on a Bun without the built-in. bun check needs Bun 1.4.3 or newer.
  • Owner rule (2026-11-03): CI is the test gate; no local test suites. Local checks: lint, format check, typecheck and build. Prove red then green in CI. No local git hooks; fix failing checks, never bypass them.
  • Work in a git worktree under .worktrees/, based on the fetched origin/main.
  • Commit with conventional titles (feat:, fix:, docs:, chore:, refactor:, test:, ci:). The pull request title is checked and becomes the squash-merge title and the changelog line.
  • After cloning, run forge skills sync. People run /forge-loop; models read .agents/skills/forge-loop/SKILL.md when told to.
  • Checks: PASS exits 0; FAIL 1; INCOMPLETE/NOT_EXECUTED 2. Non-PASS keeps the receipt with ok:false.

Standards

Read CODING_STANDARDS.md before writing or reviewing code, adding a dependency, adding a test, or retiring something. It holds the boundaries, dependency, test and platform rules; most are enforced by a guard in test/structure. Review guidelines: check every diff against docs/review-guidelines.md.

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.