implement
Skill0 starsChanged 6 months agoMITView on GitHub
Pi Cartographer implementation workflow: execute .plan/<topic>/plan.md phase-by-phase with a single parent writer, minimal .cartographer state, milestone compaction, deterministic receipts, read-only specialist gates, and conventional commits.
193 other projects use a version of this.
Adopted by
Most recently taken up by
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- AlexisBalayre/claude-code-configtheir own version, first seen Oct 5, 2026
- KroxiDev/engineering-skillstheir own version, first seen Oct 5, 2026
- ofweb/skillstheir own version, first seen Oct 5, 2026
- roby2358/skillstheir own version, first seen Oct 5, 2026
- michielvandermeer/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use setup-ts-deep-modules, ask-matt and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 17 projects that use this
AWSSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 36 projects that use this
AWSSkillto-spec
Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.
Also in 75 projects that use this
ArvorCoSkillspecify
Create feature specification from natural language description. Use when starting a new feature or creating a spec. Triggers on: create spec, specify feature, new feature spec.
Also in 12 projects that use this
qwlabsSkillclaude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
Also in 18 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 22 projects that use this
- +5 more from aws
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- mattpocock/skills★ 335ksame name
- vinvcn/mattpocock-skills-zh-CN★ 4.6ksame name
- huggingface/OpenEnv★ 2.6ksame name
- stevesolun/ctx★ 588same name
- nodetool-ai/nodetool★ 551same name
- aws/graph-explorer★ 484same name
- boshu2/agentops★ 447same name
- devcxl/mattpocock-skills-zh★ 426same name
- bighadj22/codflow★ 338same name
- ninehills/skills★ 280same name
183 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- dashboardSkill
- designSkill
- index-projectSkill
- interviewSkill
- model-configSkill
- planSkill
- proposalSkill
- requirementsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
39 rules. 0 are common, 17 are distinctive, and 22 are very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
17
Distinctive
This author's own choices. Worth a look.
22
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use when the user asks to implement an existing .plan/<topic>/plan.md plan.
- Very specific: line 13
Do not improvise a missing plan.
- Very specific: line 45
Use wrapper tools for lifecycle/status/receipt/state mutations.
- Very specific: line 46
Do not hand-edit plan checkboxes/status when cartographer_plan_status can do it.
- Distinctive: line 47
Do not manually append lifecycle receipts when a wrapper exists.
- Very specific: line 48
Do not create duplicate task graphs such as plan.json or generated status.md.
- Very specific: line 49
Do not read raw .plan/_private/ inputs unless the phase explicitly uses synthetic fixtures.
- Very specific: line 50
Do not use retired cartographer-pathfinder as a routine implementation writer.
- Distinctive: line 51
Do not mark tasks or validations complete without evidence.
- Distinctive: line 52
Do not skip auditor review after deterministic validation.
- Distinctive: line 53
Do not skip ADR or requirements-fold handling when the plan requires it.
- Very specific: line 54
Keep .cartographer/current.json non-authoritative and ignored.
- Distinctive: line 58
Read only when needed:
- Distinctive: line 71
Read the plan and identify phases, dependencies, open questions, validation items, and ADR metadata.
- Very specific: line 73
Run subagent({action:"list"}) before any specialist handoff.
- Distinctive: line 74
Check git status --short, branch, and commit SHA.
- Distinctive: line 75
Stop if unrelated user changes are present.
- Very specific: line 77
Start/resume with cartographer_implement start.
- Very specific: line 82
Use cartographer_implement step before edits.
- Very specific: line 86
If resuming after compaction, read resume-primer first, use state-resume only for expanded context, and respond with current phase, next …
- Very specific: line 90
Read references/state-compaction.md if state/resume details are unclear.
- Very specific: line 94
Write a short retrieval plan with exact probes before broad reading.
- Very specific: line 98
Read references/retrieval-delegation.md for specialist or retrieval edge cases.
- Distinctive: line 106
Run the narrowest useful check.
- Very specific: line 108
Check off task/validation IDs with cartographer_plan_status only after evidence.
- Very specific: line 111
Read references/execution-loop.md for detailed loop and commit discipline.
- Distinctive: line 115
Run all phase validation items until green.
- Distinctive: line 116
Run topic validation when plan/graph artifacts change.
- Distinctive: line 117
Create/update the phase context pack.
- Very specific: line 122
Read references/validation-gates.md for fallback and final validation details.
- Very specific: line 127
Run cartographer_implement record with validation/audit receipt IDs.
- Very specific: line 128
Run cartographer_implement compact for phase-end state.
- Very specific: line 129
Call cartographer_compact_context when available to request actual Pi compaction.
- Distinctive: line 130
Commit intended files with a Conventional Commit message.
- Distinctive: line 136
After all phases complete:
- Distinctive: line 138
Run full topic and project validation.
- Very specific: line 143
Read references/finalization-adr.md before finalization.
- Distinctive: line 156
Before reporting completion, verify:
- Distinctive: line 161
Every validation item has command, auditor, or approved manual evidence.
“Common” is measured: kept by at least 6 in 10 of the 175 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Pi Cartographer Implement
When to Use
Use when the user asks to implement an existing .plan/<topic>/plan.md plan.
Do not improvise a missing plan; use the plan workflow first.
The parent/current agent is the default writer. Specialists are read-only reviewers or advisors unless the user explicitly approves a narrow fallback handoff.
Core loop:
Orient → Select → Narrow → Inspect → Act → Validate → Record → Compact → ContinueInputs
Primary source of truth:
.plan/<topic>/plan.md.plan/<topic>/plan.nodes.jsonl.plan/<topic>/plan.edges.jsonl.plan/<topic>/receipts.jsonl.plan/<topic>/context-packs.jsonl
Supporting context when present:
- proposal, interview, requirements, design, map, and fact artifacts under
.plan/<topic>/ .cartographer/<topic>/state.json.cartographer/<topic>/journal.jsonl.cartographer/current.jsonas a non-authoritative local hint only.plan/_index/project-graph.sqliteand manifest for indexed retrieval
Hard Rules
- Work one dependency-unblocked phase at a time.
- Use wrapper tools for lifecycle/status/receipt/state mutations.
- Do not hand-edit plan checkboxes/status when
cartographer_plan_statuscan do it. - Do not manually append lifecycle receipts when a wrapper exists.
- Do not create duplicate task graphs such as
plan.jsonor generatedstatus.md. - Do not read raw
.plan/_private/**inputs unless the phase explicitly uses synthetic fixtures. - Do not use retired
cartographer-pathfinderas a routine implementation writer. - Do not mark tasks or validations complete without evidence.
- Do not skip auditor review after deterministic validation.
- Do not skip ADR or requirements-fold handling when the plan requires it.
- Keep
.cartographer/current.jsonnon-authoritative and ignored.
Reference Files
Read only when needed:
references/execution-loop.md— detailed phase loop, checklist/status, commits.references/validation-gates.md— validation, auditor gates, fallbacks, final checks.references/state-compaction.md— state mutation, journal, compaction/resume.references/retrieval-delegation.md— retrieval plans, specialists, least privilege.references/finalization-adr.md— requirements fold, ADR, final implementation gate.
Procedure
1. Start and preflight
- Derive the topic and locate
.plan/<topic>/plan.md. - Read the plan and identify phases, dependencies, open questions, validation items, and ADR metadata.
- Run
subagent({action:"list"})before any specialist handoff. - Check
git status --short, branch, and commit SHA. - Stop if unrelated user changes are present.
- Refresh the index with
cartographer_index ensurewhen stale. - Start/resume with
cartographer_implement start.
2. Select the next phase
- Validate or initialize state with
cartographer_state/cartographer_implement. - Use
cartographer_implement stepbefore edits. - Select the first incomplete phase whose dependencies are complete.
- Mark it
in-progresswithcartographer_plan_status. - Set one
next_actionand a narrowworking_setwithcartographer_state. - If resuming after compaction, read
resume-primerfirst, usestate-resumeonly for expanded context, and respond with current phase, next action, and files to inspect.
Read references/state-compaction.md if state/resume details are unclear.
3. Gather focused context
Write a short retrieval plan with exact probes before broad reading. Prefer plan,
map/fact graphs, context packs, receipts, cartographer_index, focused rg, and
selective read calls. Keep code retrieval separate from .plan/ rationale.
Read references/retrieval-delegation.md for specialist or retrieval edge cases.
4. Execute phase tasks
For each task:
- Re-open active files from disk.
- Apply one scoped parent-owned patch.
- Run the narrowest useful check.
- Record validation receipts with
cartographer_validationor an approved wrapper. - Check off task/validation IDs with
cartographer_plan_statusonly after evidence. - Record validation refs with
cartographer_implement record.
Read references/execution-loop.md for detailed loop and commit discipline.
5. Validate and audit the phase
- Run all phase validation items until green.
- Run topic validation when plan/graph artifacts change.
- Create/update the phase context pack.
- Request read-only
cartographer-auditorreview after deterministic receipts pass. - Capture PASS/FAIL with
cartographer_handoff auditor. - On FAIL, fix narrowly, rerun checks, record wrapper receipts/state refs, and re-audit.
Read references/validation-gates.md for fallback and final validation details.
6. Complete the phase and continue
- Mark the phase complete with
cartographer_plan_status. - Run
cartographer_implement recordwith validation/audit receipt IDs. - Run
cartographer_implement compactfor phase-end state. - Call
cartographer_compact_contextwhen available to request actual Pi compaction. - Commit intended files with a Conventional Commit message.
- Re-orient and continue to the next phase unless blocked by a human gate, unresolved risk, unrelated changes, or explicit user stop instruction.
7. Finalize implementation
After all phases complete:
- Run full topic and project validation.
- Capture final auditor PASS.
- Resolve requirements fold and ADR handling.
- Run
cartographer_implement finalize.
Read references/finalization-adr.md before finalization.
Specialist Roles
cartographer-auditor: default read-only semantic gate after deterministic validation.cartographer-compass: scope/dependency/repeated-failure/plan-drift advice.cartographer-archivist: isolated missing research compression.
Fallback reviewers/oracles require explicit receipted fallback rationale. Routine writer handoff is not the default.
Validation Checklist
Before reporting completion, verify:
- Plan and plan graph statuses match.
- State validates or absence is intentionally receipted.
- Journal contains only durable lessons, not routine logs.
- Every validation item has command, auditor, or approved manual evidence.
- Final auditor PASS exists.
- ADR intent and requirements-fold handling are resolved.
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.

