agentleFS
GenKerenskyGenKerensky/pi-cartographer/skills/plan/SKILL.md

plan

Skill0 starsChanged 6 months agoMITView on GitHub

Pi Cartographer planning workflow: generate .plan/<topic>/plan.md from a proposal plus index-project, map, and research graphs with ordered phases, dependencies, checklists, and validation criteria.

179 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use heartmula, minecraft-modpack-server 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.
  • braxtonROSE4Skill

    heartmula

    Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.

    Also in 8 projects that use this

  • braxtonROSE4Skill

    minecraft-modpack-server

    Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.

    Also in 4 projects that use this

  • kevinnftSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 6 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 7 projects that use this

  • kevinnftSkill

    debugging-hermes-tui-commands

    Debug Hermes TUI slash commands: Python, gateway, Ink UI.

    Also in 3 projects that use this

  • sahinSkill

    execute

    Also in 18 projects that use this

  • +5 more from braxtonROSE4
  • +1 more from kevinnft

The file

Show its rules and text

We split this skill into the rules it gives an agent

28 rules. 0 are common, 13 are distinctive, and 15 are very specific to this project.

  • 0

    Common

    Most of the 158 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 15

    Very specific

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

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

    Use when the user asks for a plan, delivery plan, execution plan, or task breakdown that should live at .plan/<topic>/plan.md.

    line 12
  2. Very specific:

    Do not create .cartographer/ execution state during planning.

    line 29
  3. Distinctive:

    Use deterministic wrappers for plan graph, status, validation, context pack, handoff, and finalization steps.

    line 33
  4. Distinctive:

    Do not manually sync plan status, validation checkoffs, or lifecycle receipts when wrappers exist.

    line 34
  5. Distinctive:

    Do not overwrite an existing plan without preserving useful content and stable IDs.

    line 35
  6. Distinctive:

    Do not implement source changes while planning.

    line 36
  7. Distinctive:

    Do not cite fact IDs unless they exist as fact nodes and cited source-backed facts have support edges.

    line 37
  8. Very specific:

    Do not cite raw .plan/_private/ paths or contents.

    line 38
  9. Distinctive:

    Do not hide unresolved decisions.

    line 39
  10. Distinctive:

    Read only when needed:

    line 46
  11. Distinctive:

    If an existing plan is present, preserve stable IDs and reconcile rather than replacing blindly.

    line 61
  12. Distinctive:

    If scope is too vague and no proposal exists, ask one clarifying question.

    line 62
  13. Very specific:

    Read references/inputs-gates.md when requirements/design or ADR handling is unclear.

    line 65
  14. Very specific:

    Call subagent({action:"list"}) before delegation when the tool is available.

    line 69
  15. Distinctive:

    Ask before serial mode or fallback substitution when preferred agents are unavailable.

    line 78
  16. Very specific:

    Use the index-project workflow or cartographer_index ensure.

    line 82
  17. Very specific:

    Ensure .plan/_index/ is ignored and do not commit generated index/cache artifacts unless requested.

    line 83
  18. Very specific:

    If map artifacts are missing/thin, prefer cartographer_index slice-jsonl or the index script starter export.

    line 84
  19. Distinctive:

    Create a bounded retrieval plan with exact probes before broad context gathering.

    line 85
  20. Very specific:

    Keep code retrieval separate from .plan/ rationale retrieval.

    line 86
  21. Very specific:

    Verify high-impact indexed/map references with focused rg/grep or selective reads.

    line 87
  22. Very specific:

    Read references/retrieval-delegation.md for detailed retrieval and specialist policy.

    line 89
  23. Very specific:

    Read references/drafting-graph.md for exact structure and graph expectations.

    line 108
  24. Very specific:

    Use cartographer_plan generate-graph or the CLI plan-generate-graph fallback after Markdown is ready.

    line 112
  25. Distinctive:

    Run topic JSONL validation.

    line 124
  26. Distinctive:

    Create/update a context pack when useful for handoff.

    line 127
  27. Very specific:

    Use cartographer_plan finalize only after deterministic validation and auditor PASS or approved fallback.

    line 130
  28. Very specific:

    Read references/validation-audit.md for full criteria and fallback handling.

    line 132

“Common” is measured: kept by at least 6 in 10 of the 158 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Pi Cartographer Plan

When to Use

Use when the user asks for a plan, delivery plan, execution plan, or task breakdown that should live at .plan/<topic>/plan.md.

This workflow creates a plan only. Do not implement code unless the user explicitly asks to start implementation afterward.

Outputs

Wrapper-managed primary artifacts:

  • .plan/<topic>/plan.md
  • .plan/<topic>/plan.nodes.jsonl
  • .plan/<topic>/plan.edges.jsonl

Supporting inputs when present:

  • .plan/_index/project-graph.sqlite and manifest
  • proposal, interview, requirements, design, map, and fact artifacts under .plan/<topic>/

Do not create .cartographer/ execution state during planning. Plans may describe implementation state, but .plan/<topic>/plan.md and plan graph artifacts remain authoritative.

Hard Rules

  • Use deterministic wrappers for plan graph, status, validation, context pack, handoff, and finalization steps.
  • Do not manually sync plan status, validation checkoffs, or lifecycle receipts when wrappers exist.
  • Do not overwrite an existing plan without preserving useful content and stable IDs.
  • Do not implement source changes while planning.
  • Do not cite fact IDs unless they exist as fact nodes and cited source-backed facts have support edges.
  • Do not cite raw .plan/_private/** paths or contents.
  • Do not hide unresolved decisions; record them under Open Questions or stop for user input.
  • Preserve ADR metadata from the proposal.
  • For behavior-changing work, validation must trace to accepted requirements/design Testing Strategy or an explicit exception.
  • Plans become ready only after deterministic validation and auditor PASS or approved fallback.

Reference Files

Read only when needed:

  • references/inputs-gates.md — proposal/requirements/design/ADR inputs and gates.
  • references/drafting-graph.md — plan structure, phase rules, testing trace, graph generation.
  • references/validation-audit.md — JSONL/planning-graph validation, auditor gate, fallbacks.
  • references/retrieval-delegation.md — retrieval plan, specialist roles, least privilege.
  • references/context-inventory.md — context inventory script usage.

Procedure

1. Derive topic and inspect artifacts

  1. Summarize the topic in 3 words or less, filesystem-safe kebab-case.
  2. Locate/create .plan/<topic>/.
  3. Inspect existing proposal, map, fact, requirements, design, and plan artifacts.
  4. If an existing plan is present, preserve stable IDs and reconcile rather than replacing blindly.
  5. If scope is too vague and no proposal exists, ask one clarifying question.
  6. Extract phases, dependencies, open questions, requirements/design gate status, Testing Strategy, and ADR metadata from upstream artifacts.

Read references/inputs-gates.md when requirements/design or ADR handling is unclear.

2. Inspect subagents

Call subagent({action:"list"}) before delegation when the tool is available.

Preferred roles:

  • cartographer-drafter for phase planning from compact artifacts.
  • cartographer-auditor for final semantic review.
  • cartographer-compass for scope/dependency/decision consistency.
  • cartographer-archivist for isolated missing research compression.

Ask before serial mode or fallback substitution when preferred agents are unavailable.

3. Refresh index and gather context

  1. Use the index-project workflow or cartographer_index ensure.
  2. Ensure .plan/_index/ is ignored and do not commit generated index/cache artifacts unless requested.
  3. If map artifacts are missing/thin, prefer cartographer_index slice-jsonl or the index script starter export.
  4. Create a bounded retrieval plan with exact probes before broad context gathering.
  5. Keep code retrieval separate from .plan/ rationale retrieval.
  6. Verify high-impact indexed/map references with focused rg/grep or selective reads.

Read references/retrieval-delegation.md for detailed retrieval and specialist policy.

4. Draft the phase plan

Draft .plan/<topic>/plan.md with:

  • Source Artifacts
  • Planning Assumptions
  • Phase Dependency Graph
  • Phase Summary
  • Phases
  • Cross-Phase Validation
  • Open Questions
  • Handoff Guidance

Each phase needs stable ID, status, dependencies, objective, scope, checklist IDs, validation IDs, Testing Strategy Trace when applicable, exit criteria, risks, and execution notes.

Dependencies must be acyclic and topologically ordered. Prefer coherent reviewable phases over vague milestones.

Read references/drafting-graph.md for exact structure and graph expectations.

5. Generate plan graph artifacts

Use cartographer_plan generate-graph or the CLI plan-generate-graph fallback after Markdown is ready. Treat plan graph JSONL as derived wrapper/script output.

Expected graph coverage:

  • root plan;
  • phases;
  • tasks;
  • validations and cross-phase checks;
  • contains/depends/unlocks/validates/references edges where applicable.

6. Validate and audit

  1. Run topic JSONL validation.
  2. Run skills/plan/scripts/validate_planning_graph.py --root "$PWD" --topic <topic> --json.
  3. Record deterministic receipts with cartographer_validation.
  4. Create/update a context pack when useful for handoff.
  5. Capture cartographer-auditor PASS through cartographer_handoff auditor.
  6. On FAIL, correct narrowly, rerun affected checks, and re-audit.
  7. Use cartographer_plan finalize only after deterministic validation and auditor PASS or approved fallback.

Read references/validation-audit.md for full criteria and fallback handling.

7. Final response

Report:

  • topic;
  • updated plan paths;
  • source artifacts used;
  • phase count/dependency shape;
  • validation coverage summary;
  • unresolved questions or residual risks.

Verification Checklist

Before finalizing, verify:

  • plan Markdown exists;
  • plan graph artifacts exist and parse;
  • index exists or indexing failure was approved;
  • map/fact artifacts were read or intentionally regenerated;
  • phases have IDs, status, dependencies, checklist, validation, exit criteria, and risks;
  • dependencies are acyclic and ordered;
  • referenced files/facts/nodes exist;
  • behavior-changing validation covers requirements/scenarios or justified exceptions;
  • ADR intent is preserved;
  • final auditor PASS or approved fallback receipt exists.

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.