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 checking a change actually works.
Of the AGENTS.md files we read, the 11,736 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 repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dashboardSkill
- designSkill
- implementSkill
- index-projectSkill
- interviewSkill
- model-configSkill
- planSkill
- proposalSkill
- requirementsSkill
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
- Very specific: line 6
When editing skills/*/SKILL.md or bundled skill assets:
- Distinctive: line 10
Treat skill text as agent operating instructions, not human prose.
- Very specific: line 12
Use RFC 2119 terms intentionally: MUST/MUST NOT for hard safety, wrapper, privacy, validation, and lifecycle requirements.
- Distinctive: line 15
Add only context the agent lacks: project conventions, exact tools, fragile sequences, gotchas, inputs/outputs, and validation gates.
- Distinctive: line 18
Prefer defaults over menus.
- Very specific: line 20
Keep each skill coherent. If SKILL.md approaches 500 lines or low-frequency detail dominates, move detail to one-level reference files and …
- Very specific: line 23
Keep references one level deep from SKILL.md.
- Distinctive: line 31
Prefer templates, command blocks, tables, and checklists over paragraphs when they reduce ambiguity.
- Distinctive: line 35
Prefer deterministic scripts over English instructions when a repeatable command can express the operation.
- Distinctive: line 49
Add validation loops for quality-critical skill edits: run the relevant lint/check script, fix failures, and rerun before handoff.
- Very specific: line 55
If no dedicated wrapper exists for a required JSONL mutation, either add a narrow wrapper/script or document the fallback with …
- Very specific: line 62
Keep raw .plan/_private/ contents out of skills, prompts, references, examples, receipts, and ADRs.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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.
Files
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 NOTfor hard safety, wrapper, privacy, validation, and lifecycle requirements;SHOULDfor strong defaults;MAY/OPTIONALfor 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.mdapproaches 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 (--jsonpreferred), send diagnostics to stderr, provide actionable errors, use safe/idempotent defaults, support--dry-runfor 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.
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
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.

