cmd-speckit-plan
Original:🇺🇸 English
Translated
Generate technical plan, data model, and interface contracts from spec.md
6installs
Sourcegsmlg-dev/code-agent
Added on
NPX Install
npx skill4agent add gsmlg-dev/code-agent cmd-speckit-planTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →/speckit.plan
Agent skill wrapper for the Claude command .
/speckit.planWhen the original command text references , , or named arguments, map them from the user's current request.
{{INPUT}}$1Command Instructions
Produce a complete technical implementation plan from a feature specification.
Steps
-
Locate the spec:
- If input names a feature or file path, use it.
- Otherwise check ; if multiple, ask which to plan.
.specify/specs/*/spec.md - Fall back to in the project root.
spec.md - Set to the spec's parent directory.
FEATURE_DIR
-
Load context: Readand
spec.md. Detect tech stack from.specify/memory/constitution.md,package.json,mix.exs,Cargo.toml,pyproject.toml, etc.go.mod -
Phase 0 — Research: For eachmarker and technical unknown:
[NEEDS CLARIFICATION]- Search the codebase for existing patterns and abstractions.
- Identify required external dependencies.
- Write findings to :
FEATURE_DIR/research.mdmarkdown# Research: <Feature Name> ## Unknowns Investigated ## Existing Patterns Found ## External Dependencies - Resolve all open questions before proceeding.
-
Phase 1 — Design artifacts:Write:
FEATURE_DIR/plan.mdmarkdown# Technical Plan: <Feature Name> ## Architecture Overview ## Technology Choices (with rationale) ## Component Design ## Implementation Phases ## Risk Assessment ## Open Technical QuestionsWrite(only if the feature involves persistent data):FEATURE_DIR/data-model.mdmarkdown# Data Model: <Feature Name> ## Entities (fields, types, constraints, relationships) ## Migrations (in dependency order) ## Indexes (with justification)Createfor each external interface:FEATURE_DIR/contracts/<interface-name>.mdmarkdown# Contract: <Interface Name> ## Signature / Endpoint ## Request / Input Schema ## Response / Output Schema ## Error Conditions ## Constraints -
Constitution check: Verify the plan does not violate any MUST or SHOULD NOT principle. If violations found, flagand pause for user review before continuing.
[CONSTITUTION CONFLICT] -
Report: List all files created with paths and one-line summaries.
Next step: Run to validate consistency, or to generate the task breakdown.
/speckit.analyze/speckit.tasks{{INPUT}}