agentleFS
GenKerenskyGenKerensky/pi-cartographer/skills/AGENTS.md

pi-cartographer / skills

AGENTS.md0 starsChanged 6 months agoMITView on GitHub

Scope: applies only under skills/. Project-wide testing, state, privacy, and wrapper rules live in the root AGENTS.md and still apply here. When editing skills/*/SKILL.md or bundled skill assets: - Preserve the existing Cartographer workflow/userflow unless the user asks for a redesign and proposal/ADR handling supports it. - Treat skill text as agent operating instructions, not human prose. Keep it terse, specific, and only detailed enough for an LLM to act correctly. - Use RFC 2119 terms intentionally: MUST/MUST NOT for…

  • 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,266 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 repositoryOne other file it gives its agents.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

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

    When editing skills/*/SKILL.md or bundled skill assets:

    line 6
  2. Distinctive:

    Treat skill text as agent operating instructions, not human prose.

    line 10
  3. Very specific:

    Use RFC 2119 terms intentionally: MUST/MUST NOT for hard safety, wrapper, privacy, validation, and lifecycle requirements.

    line 12
  4. Distinctive:

    Add only context the agent lacks: project conventions, exact tools, fragile sequences, gotchas, inputs/outputs, and validation gates.

    line 15
  5. Distinctive:

    Prefer defaults over menus.

    line 18
  6. Very specific:

    Keep each skill coherent. If SKILL.md approaches 500 lines or low-frequency detail dominates, move detail to one-level reference files and …

    line 20
  7. Very specific:

    Keep references one level deep from SKILL.md.

    line 23
  8. Distinctive:

    Prefer templates, command blocks, tables, and checklists over paragraphs when they reduce ambiguity.

    line 31
  9. Distinctive:

    Prefer deterministic scripts over English instructions when a repeatable command can express the operation.

    line 35
  10. Distinctive:

    Add validation loops for quality-critical skill edits: run the relevant lint/check script, fix failures, and rerun before handoff.

    line 49
  11. Very specific:

    If no dedicated wrapper exists for a required JSONL mutation, either add a narrow wrapper/script or document the fallback with …

    line 55
  12. Very specific:

    Keep raw .plan/_private/ contents out of skills, prompts, references, examples, receipts, and ADRs.

    line 62

≈ “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

Skill Authoring Discipline

Scope: applies only under skills/. Project-wide testing, state, privacy, and wrapper rules live in the root AGENTS.md and still apply here.

When editing skills/*/SKILL.md or bundled skill assets:

  • Preserve the existing Cartographer workflow/userflow unless the user asks for a redesign and proposal/ADR handling supports it.
  • Treat skill text as agent operating instructions, not human prose. Keep it terse, specific, and only detailed enough for an LLM to act correctly.
  • Use RFC 2119 terms intentionally: MUST/MUST NOT for hard safety, wrapper, privacy, validation, and lifecycle requirements; SHOULD for strong defaults; MAY/OPTIONAL for true choices only.
  • Add only context the agent lacks: project conventions, exact tools, fragile sequences, gotchas, inputs/outputs, and validation gates. Remove generic best-practice filler and repeated rationale.
  • Prefer defaults over menus. Name the default tool/path first, then mention alternatives only as fallbacks.
  • Keep each skill coherent. If SKILL.md approaches 500 lines or low-frequency detail dominates, move detail to one-level reference files and state exactly when to read them.
  • Keep references one level deep from SKILL.md; avoid nested reference chains.
  • Frontmatter descriptions must be concise, specific, and trigger-oriented: describe user intent/task, include important trigger terms, and avoid over-broad language that fires on near-misses.
  • For description changes, create/update realistic trigger and near-miss prompts when practical, then check that routing stays precise.
  • Ground skill changes in project artifacts, observed failures, ADRs, runbooks, tests, or user corrections. Do not synthesize generic instructions.
  • Prefer templates, command blocks, tables, and checklists over paragraphs when they reduce ambiguity.
  • Match detail to risk: use exact commands/scripts for fragile, stateful, or consistency-critical operations; allow judgment for review-heavy work.
  • Prefer deterministic scripts over English instructions when a repeatable command can express the operation.
  • Bundled scripts should be executable without reading source. Document invocation in SKILL.md; tell agents to read source only when it is intended as reference.
  • Script interfaces MUST be non-interactive, support --help, emit structured output where useful (--json preferred), send diagnostics to stderr, provide actionable errors, use safe/idempotent defaults, support --dry-run for destructive/stateful actions, and keep output bounded or file-backed.
  • Pin or document runtime dependencies for one-off commands and scripts. Do not assume unavailable packages or network access.
  • For high-stakes or batch operations, use plan-validate-execute: produce a structured plan/intermediate file, validate it, then apply changes only after validation passes.
  • Add validation loops for quality-critical skill edits: run the relevant lint/check script, fix failures, and rerun before handoff.
  • Skill prose MUST NOT instruct agents to hand-edit, append, or upsert canonical Cartographer JSONL/lifecycle artifacts when a wrapper exists. Agents MAY read JSONL directly for context; writes MUST go through cartographer_* tools or dedicated artifact/phase/transition scripts.
  • If no dedicated wrapper exists for a required JSONL mutation, either add a narrow wrapper/script or document the fallback with cartographer_jsonl upsert, validation, receipt evidence, and residual risk.
  • Delegated specialists should receive read-only summaries, artifact paths, receipts, and explicit output contracts. They should propose draft text or suggestions, not mutate canonical artifacts, unless a structured handoff grants narrow write scope.
  • Keep raw .plan/_private/** contents out of skills, prompts, references, examples, receipts, and ADRs. Cite sanitized evidence only.

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.