agentleFS
KemdirimakujuobiKemdirimakujuobi/skills/templates/AGENTS.md

skills / templates

AGENTS.md9 starsChanged 31 days agoMITView on GitHub

Instructions for AI agents (Claude Code, Codex, Cursor and others) and a fast orientation for humans. CLAUDE.md should contain one line, @AGENTS.md, so every tool reads the same file. Read WORKING_AGREEMENTS.md. The short version: - The base branch is main. Branch off it, PR back into it. - Agents may push branches and open draft PRs. Agents never merge, deploy, or push to main. A human pulls the trigger. Approval in one message does not carry to the next. -…

The file

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

1 rule. About 0 are common, 0 are distinctive, and 1 is 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.

  • 1

    Very specific

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

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

    Read WORKING_AGREEMENTS.md.

    line 12

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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

AGENTS.md

Instructions for AI agents (Claude Code, Codex, Cursor and others) and a fast orientation for humans. CLAUDE.md should contain one line, @AGENTS.md, so every tool reads the same file.

What this repo is

<!-- One paragraph. What it is, what it is NOT (no production data? not published?), who reviews. -->

The rules that don't bend

Read WORKING_AGREEMENTS.md. The short version:

  • The base branch is main. Branch off it, PR back into it.
  • Agents may push branches and open draft PRs. Agents never merge, deploy, or push to main. A human pulls the trigger. Approval in one message does not carry to the next.
  • One concern per PR. No stacked PRs.
  • Green npm run preflight before opening a PR.
  • Secrets come from the environment, never a literal in source.

Start and finish a change (use the skills)

  • Writing a spec: authoring-a-prd.
  • Before branching: starting-a-change (branch naming, fresh base, latest RETRO.md traps).
  • Building UI: figma-import → building-components → figma-build. Tokens: design-tokens.
  • While building and before pushing: testing-a-change (unit, integration and component tests at the right layer, with independent expected values).
  • Before pushing: pre-push-review (self-review against docs/standards/STANDARDS.md, then the local gates). It calls updating-the-changelog, announcing-a-feature, docs-sync-review and mobile-responsive-review where they apply.
  • After a design-system merge: landing-a-design-system-change. A merge is not delivery.

Configuration the skills read

KeyValue
Base branchmain
Branch areasfeat fix ui docs ci chore
Preflightnpm run preflight
Unit testsnpm test
Integration testsnpm run test:integration (needs npm run dev)
Component a11y testsnpm run test:storybook
ChangelogCHANGELOG.md (or a folder, one file per entry)
Feature announcements<!-- e.g. lib/feature-announcements/entries.ts, 45-day window -->
In-app docs mapdocs/docs-map.md
Product truth for PRDs<!-- e.g. docs/prd/_features.md -->
Exemplar component<!-- e.g. src/ui/button.tsx -->

Where things live

<!-- app/, components/, lib/, docs/decisions/, docs/standards/ … -->

Known traps

See the newest entries in RETRO.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.