agentleFS
tonmoy007tonmoy007/forge-plugins/skills/forge-plan/SKILL.md

forge-plan

Skill2 starsChanged 5 months agoMITView on GitHub

Run Stage 5 of the Forge pipeline — implementation planning. Use when the

7 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use forge-ship and Forge.

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.
  • redteamlifeSkill

    forge-ship

    Use when the user asks to merge, release, promote, reconcile, or close out work in a repo containing `docs/forge/` or governed by FORGE. Not for per-task commits; those complete inside forge-execute-task.

    Also in 3 projects that use this

  • ikennaokpalaSkill

    Forge

    Autonomous quality engineering swarm that forges production-ready code through continuous behavioral verification, exhaustive E2E testing, and self-healing fix loops. Combines DDD+ADR+TDD methodology with BDD/Gherkin specifications, 7 quality gates, defect prediction, chaos testing, and cross-context dependency awareness. Architecture-agnostic - works with monoliths, microservices, modular monoliths, and any bounded-context topology.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 2 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

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

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

    If it exits non-zero, STOP: present its message verbatim and do not proceed — the prior stage must be completed first (or use …

    line 26
  2. Very specific:

    Read pipeline/state.md — confirm Forge project.

    line 30
  3. Distinctive:

    If stage > 5, ask if the user wants to revise the plan.

    line 32
  4. Very specific:

    Run python3 ${CLAUDE_PLUGIN_ROOT}/scripts/load-profile.py --cwd .

    line 33
  5. Very specific:

    Read agents/planner.md to load the Planner persona.

    line 37
  6. Very specific:

    Read pipeline/04-spec/technical-spec.md and pipeline/03-architecture/architecture.md.

    line 39
  7. Distinctive:

    Follow the Planner workflow: decompose into tasks, map dependencies, identify critical path, enumerate risks.

    line 40
  8. Very specific:

    Write pipeline/05-plan/task-dag.md and pipeline/05-plan/risk-register.md per the Output Contract.

    line 42
  9. Very specific:

    Run python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py advance --to 5 to mark Stage 5 active.

    line 43

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

/forge:plan — Implementation Planning

When to Use

  • User says /forge:plan
  • User wants a task breakdown, DAG, effort estimates, milestones, or risk register
  • Working in a Forge project at Stage 4 or 5

Pre-flight Check

Entry gate (REQ-GATE-ENTRY-001) — before adopting the persona, verify the prior stage's artifact exists:

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py preflight --stage 5

If it exits non-zero, STOP: present its message verbatim and do not proceed — the prior stage must be completed first (or use /forge:force-advance to skip intentionally).

  1. Read pipeline/state.md — confirm Forge project.
  2. Confirm pipeline/04-spec/technical-spec.md exists. If not: "Complete Stage 4 first (/forge:spec)."
  3. If stage > 5, ask if the user wants to revise the plan.
  4. Run python3 ${CLAUDE_PLUGIN_ROOT}/scripts/load-profile.py --cwd . --stage 5 to load project-type overrides and the stage_emphasis hints — use the emphasis to weight effort estimates (e.g., ML projects emphasize spec/eval/monitor, so reserve more tasks there).

Steps

  1. Read agents/planner.md to load the Planner persona.
  2. Adopt that persona — you are now the Planner.
  3. Read pipeline/04-spec/technical-spec.md and pipeline/03-architecture/architecture.md.
  4. Follow the Planner workflow: decompose into tasks, map dependencies, identify critical path, enumerate risks. Apply the profile's emphasis: under-emphasized stages get lighter task budgets, over-emphasized stages get explicit milestones.
  5. Outline, then confirm (REQ-INTERACTIVE-CONFIRM-001). Before generating the full task DAG, present a short OUTLINE / table of contents — the proposed milestones, the high-level task groups (and rough task count per group), and the top risks. Then PAUSE and ask the user to confirm ("Shall I write the full task DAG, or adjust the breakdown first?"). Do not write the full document until the user confirms — this gives them a cheap chance to redirect before the expensive generation.
  6. Write pipeline/05-plan/task-dag.md and pipeline/05-plan/risk-register.md per the Output Contract.
  7. Run python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py advance --to 5 to mark Stage 5 active.

Verification

After running, confirm:

  • pipeline/05-plan/task-dag.md exists with T-IDs, dependencies, and effort estimates
  • pipeline/05-plan/risk-register.md exists with R-IDs and mitigations
  • pipeline/state.md shows current_stage: 5

Next Step

Derive the hint from the canonical stage table — never hardcode it (REQ-NEXTHINT-001, single source of truth). Run the helper and present its output to the user verbatim:

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py next-hint --stage 5

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.