Plan command
Skill datamaker-kr/synapse-claude-marketplace/plugins/speckit-helper/skills/plan-command
Run the `speckit-helper:plan` workflow from the original Claude slash command. Use when the user asks to generate technical design and planning documents from specificationFrom its SKILL.md
npx -y skills add datamaker-kr/synapse-claude-marketplace --skill plan-commandAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
10.2 KB, ~2.3k tokens by cl100k_base, as published. Nobody here has run it
speckit-helper:plan Command Workflow
Codex Adaptation
- Treat the user request or explicitly supplied text as the command arguments.
- Use the available Codex file, search, terminal, and clarification capabilities that match the workflow.
- Do not depend on Claude-only slash command variables or tool names.
/plan — Generate Technical Design & Planning Documents
Transform a specification into actionable technical design documents including architecture overview, component design, data models, API contracts, and a quickstart guide.
Step 1: Setup
1.1 Resolve Feature Slug
- If an argument is provided, use it as the
<feature-slug>. - If no argument is provided:
- Scan
.speckit/*/spec.mdfor all existing specifications. - Select the most recently modified
spec.md. - Extract its parent directory name as the
<feature-slug>. - If no spec.md files exist anywhere, abort with an error (see Error Handling).
- Scan
1.2 Read the Specification
- Read
.speckit/<feature-slug>/spec.md. - If the file does not exist, abort immediately:
"No specification found at
.speckit/<feature-slug>/spec.md. Run/speckit-helper:spec <feature-slug>first."
1.3 Read the Constitution (Optional)
- Check if
.speckit/constitution.mdexists. - If it does, read it and store the principles for compliance verification in Step 4.
- If it does not exist, skip constitution checking and note this in the final summary.
1.4 Detect Project Tech Stack
Scan the project root for technology indicator files:
| File | Stack / Language |
|---|---|
package.json | Node.js / JavaScript |
tsconfig.json | TypeScript |
pyproject.toml | Python |
requirements.txt | Python |
go.mod | Go |
Cargo.toml | Rust |
pom.xml | Java (Maven) |
build.gradle | Java / Kotlin (Gradle) |
Gemfile | Ruby |
composer.json | PHP |
mix.exs | Elixir |
*.csproj | C# / .NET |
- Read detected config files to extract version numbers, dependencies, and framework choices.
- Build a tech stack summary object containing: language, framework, package manager, test framework, and notable libraries.
- If no tech stack files are found, prompt the user (see Error Handling).
1.5 Identify Existing Project Architecture
Scan for key directories and catalog what exists:
src/,lib/,app/,pkg/,internal/,cmd/tests/,test/,__tests__/,spec/docs/,config/,scripts/,migrations/components/,pages/,routes/,api/,services/
For each directory found:
- List top-level files and subdirectories.
- Note naming conventions (camelCase, kebab-case, snake_case).
- Identify patterns (MVC, hexagonal, feature-based, layer-based).
Store findings as the architectural context for design decisions.
Step 2: Phase 0 — Research (generate research.md)
2.1 Identify Open Questions
- Parse
spec.mdfor any[Clarification needed]markers. - For each marker:
- Attempt to resolve it using context from the spec, tech stack, and architecture.
- If resolvable, note the resolution and rationale.
- If not resolvable, flag it as an open question requiring user input.
2.2 Technology Decisions
For each technology decision implied or required by the spec:
- Identify 2-3 viable alternatives.
- For each alternative, evaluate:
- Pros: performance, ecosystem, community support, learning curve.
- Cons: complexity, licensing, maintenance burden, lock-in risk.
- Compatibility: with existing tech stack and architecture.
- Make a recommendation with clear rationale.
- Note any alternatives that were considered but rejected, and why.
2.3 Risk Evaluation
Assess risks across three categories:
- Technical Complexity: areas of the spec that are hard to implement, novel algorithms, or unfamiliar patterns.
- Third-Party Dependency Risk: external services, APIs, or libraries that could become unavailable, change, or introduce breaking updates.
- Security Concerns: authentication/authorization requirements, data sensitivity, input validation needs, known vulnerability patterns.
For each risk, assign a severity (Low / Medium / High) and suggest a mitigation strategy.
2.4 Write Research Output
Write .speckit/<feature-slug>/research.md with the following structure:
# Research: <Feature Name>
## Open Questions
- [ ] Question 1 — Status: Resolved / Unresolved
- Resolution: ...
## Technology Decisions
### Decision 1: <Topic>
| Alternative | Pros | Cons | Verdict |
|------------|------|------|---------|
| Option A | ... | ... | Chosen |
| Option B | ... | ... | Rejected|
## Risk Assessment
| Risk | Category | Severity | Mitigation |
|------|----------|----------|------------|
| ... | ... | ... | ... |
Step 3: Phase 1 — Design (generate plan.md and supporting docs)
3.1 Architecture Overview
- Define the high-level system components and their responsibilities.
- Describe interactions between components (data flow, control flow).
- Create a component diagram in text/ASCII or Mermaid format.
- Map components to the existing directory structure (or propose new directories).
3.2 Component Design
For each major component identified in the architecture:
- Interface: public API surface (functions, methods, events, hooks).
- Implementation approach: algorithms, patterns, data structures.
- Dependencies: other components, external libraries, services.
- Error handling: failure modes and recovery strategies.
- Testing strategy: unit test scope, mocks needed, edge cases.
3.3 Data Model (conditional)
If the feature involves data storage, persistence, or entity management:
- Generate
.speckit/<feature-slug>/data-model.mdcontaining:- Entity definitions with attributes and types.
- Relationships between entities (one-to-one, one-to-many, many-to-many).
- Indexes and constraints.
- Migration strategy (if modifying existing data).
- Example data for illustration.
3.4 API Contracts (conditional)
If the feature involves HTTP APIs, RPCs, or inter-service communication:
- For each endpoint group, generate
.speckit/<feature-slug>/contracts/<endpoint-group>.md:- Endpoint definition: method, path, description.
- Request schema: headers, query params, body (with types and validation rules).
- Response schema: success body, status codes.
- Error codes: code, HTTP status, message, resolution.
- Example request/response pairs.
- Rate limiting or throttling notes (if applicable).
3.5 Quickstart Guide
Generate .speckit/<feature-slug>/quickstart.md containing:
- Prerequisites (runtime versions, tools, accounts).
- Setup steps (install dependencies, configure environment, seed data).
- Integration guide (how this feature connects to the existing codebase).
- Verification steps (how to confirm the feature works after setup).
3.6 Write Plan Output
Write .speckit/<feature-slug>/plan.md with the full design:
# Technical Plan: <Feature Name>
## Tech Stack
- Language: ...
- Framework: ...
## Architecture Overview
...
## Component Design
### Component 1: <Name>
- Responsibility: ...
- Interface: ...
- Implementation: ...
## Directory Structure
...
## Implementation Notes
...
## Open Items
...
Step 4: Constitution Check
4.1 Verify Compliance
If constitution.md was loaded in Step 1.3:
- For each principle defined in the constitution:
- Check whether the plan adheres to it.
- Note compliance status: PASS, WARN, or FAIL.
- Compile results into a compliance table.
4.2 Flag Violations
- For any principle with status WARN or FAIL:
- Describe the specific conflict between the plan and the principle.
- Suggest a modification to bring the plan into compliance.
- If compliance is impossible without changing the spec, flag it clearly.
4.3 Append to Plan
Add a "Constitution Compliance" section at the end of plan.md:
## Constitution Compliance
| Principle | Status | Notes |
|-----------|--------|-------|
| ... | PASS | ... |
Step 5: Summary
5.1 Print Generated Files
List every file created or updated during this command:
Generated files:
.speckit/<feature-slug>/research.md — Technology research and risk assessment
.speckit/<feature-slug>/plan.md — Full technical design document
.speckit/<feature-slug>/data-model.md — Entity definitions and relationships (if applicable)
.speckit/<feature-slug>/contracts/ — API endpoint contracts (if applicable)
.speckit/<feature-slug>/quickstart.md — Setup and integration guide
5.2 Suggest Next Step
Print the following:
Next step: Run
/speckit-helper:tasks <feature-slug>to decompose this plan into executable, dependency-ordered tasks.
Error Handling
spec.md Not Found
If .speckit/<feature-slug>/spec.md does not exist:
- Print: "Specification not found at
.speckit/<feature-slug>/spec.md." - Suggest: "Run
/speckit-helper:spec <feature-slug>to create a specification first." - Abort the command.
No Tech Stack Detected
If no technology indicator files are found in the project root:
- Print: "Could not detect project tech stack automatically."
- Ask the user: "Please specify your primary language and framework (e.g., TypeScript + Next.js, Python + FastAPI)."
- Wait for user input before proceeding.
Conflicting Constitution Principles
If two or more constitution principles conflict with each other in the context of the current plan:
- Flag both principles and describe the conflict.
- Ask the user to clarify which principle takes precedence.
- Document the resolution in
plan.mdunder the Constitution Compliance section.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.
Gives 0 of the 12 instructions most plan spec skills give in ~2.3k tokens
Counted across 1,099 of the 1,860 authors here whose files we hold, read 2026-08-07
- Ask one question at a timein 51 of 1099
- Break plans into vertical slicesin 29 of 1099, across 11 files
- Publish issues in dependency orderin 27 of 1099, across 9 files
- Iterate until user approves the breakdownin 25 of 1099, across 7 files
- Explore the repository to understand the codebase statein 24 of 1099, across 7 files
- Use domain glossary vocabularyin 23 of 1099, across 5 files
- Apply correct triage labels to published issuesin 23 of 1099, across 5 files
- Prefer AFK slices over HITLin 22 of 1099, across 7 files
- Write a specification before writing any codein 22 of 1099, across 14 files
- Write failing tests before implementation codein 22 of 1099, across 20 files
- Ask clarifying questions until requirements are concretein 21 of 1099, across 13 files
- Respect existing architecture decision recordsin 20 of 1099, across 5 files
Said here and by no other author read
- identify the existing project architecture
- generate a research document
- generate a data model if data storage is involved
- verify compliance with the project constitution
- list all generated files at the end
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.