<< All versions

Skill v1.0.0

currentLLM-judged scan90/100
pooyagolchian/specforge/plan
──Details
PublishedOctober 23, 2026 at 12:26 AM
Content Hashsha256:2514fe43a2f49be4...
Git SHA587f25d4f2b8
──Files
Files (1 file, 3.2 KB)
SKILL.md3.2 KBactive
SKILL.md · 65 lines · 3.2 KB

version: "1.0.0" name: plan description: Produce the technical implementation plan (the HOW) for an approved feature spec. Use when the user wants to plan a feature, design the architecture, decide the tech approach, or move from spec to implementation design. Writes plan.md plus research.md, data-model.md, contracts/, and quickstart.md, and checks the plan against the constitution. allowed-tools: Read, Write, Edit, Glob, Grep


/specforge:plan — design HOW to build it

Translate an approved spec into a concrete technical plan. This is the Construction design step. Consider delegating to the architect subagent. The human's approval of this plan is what unblocks code edits (together with the spec approval).

When to use

  • A feature spec exists and the user is ready to design the implementation.
  • Trigger words: "plan", "design", "architecture", "how should we build".

Preconditions

  • The active feature's spec.md should be reviewed. Ideally specify is already approved

(/specforge:approve specify). If the spec still has [NEEDS CLARIFICATION], run /specforge:clarify first.

Steps

  1. Read the active feature's spec.md, the project constitution.md, and

specforge/inputs/tech-environment.md (honor its constraints; never use a prohibited library).

  1. Write plan.md from ${CLAUDE_SKILL_DIR}/../_shared/plan-template.md (or the skeleton below):
  • Constitution Check — for each principle, state compliance or a justified exception.
  • Technical Approach and Architecture (components, data flow, a diagram).
  • Technology Decisions table grounded in tech-environment.md.
  • Requirement → Design Traceability — every FR/NFR maps to a design element.
  • Risks & Mitigations.
  1. Generate the companion artifacts in the feature dir:
  • research.md — options considered, decisions + rationale.
  • data-model.md — entities, fields, relationships, validation.
  • contracts/ — API endpoints / event / schema specs.
  • quickstart.md — how to run and verify once built.
  1. Update specforge/state.md: add/ensure | NNN-slug | plan | done | <date> |.
  2. Audit: | <today ISO-8601> | NNN-slug | plan | Plan + companions drafted |.
  3. Tell the user the plan is ready for review. Emphasize: once they run

`/specforge:approve specify` and `/specforge:approve plan`, the gate opens and /specforge:tasks → /specforge:implement can proceed.

Plan skeleton (if the shared template is unavailable)

markdown
# Implementation Plan: <name>
-Feature ID: NNN · Spec: ./spec.md · Status: Draft
## Constitution Check (per-principle compliance/exception)
## Technical Approach
## Architecture (components, data flow, diagram)
## Technology Decisions (table; grounded in tech-environment.md)
## Requirement → Design Traceability (every FR/NFR mapped)
## Companion Artifacts (research.md, data-model.md, contracts/, quickstart.md)
## Risks & Mitigations
## Review Checklist (gate)

Guardrails

  • The plan must satisfy every FR/NFR in the spec — a complete traceability table is required

so /specforge:analyze can verify coverage.

  • Respect the constitution; if you must deviate, document it as an explicit exception, don't hide it.
All versions