/tech-spec:createfrom tech-spec
Guides creation of technical specifications from product requirements. Gathers inputs, explores codebases, interviews for planning, writes drafts with architecture diagrams, and reviews for consistency.
Ships in tech-spec. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Ask the user to provide:
@path/to/file.md), URLs (fetch via appropriate tools), or pasted content.tmp/feature-tech-spec.md).Be flexible about input sources. Don't assume specific tools or formats.
Discuss with the user which repositories need exploration:
Scan for:
Interview the user through AskUserQuestion, batching up to 4 questions per call by topic and refining later batches based on prior answers. Guide the interview toward:
Write incrementally to the output file, section by section. Use the template structure from references/template.md.
For architecture diagrams, always use mermaid:diagram for correct syntax and rendering.
Invoke tech-spec:review on the draft spec.
Refine until the user is satisfied. Long sessions with incremental changes create drift—validate consistency before concluding:
Also address:
Captures architecture trade-offs:
| Decision | Choice | Alternatives | Rationale | Notes |
|---|---|---|---|---|
| Brief description | What we chose | What we didn't | Why this choice | Caveats, follow-ups |
Populate as decisions emerge. Focus on:
Capture decision highlights, not interview dialogue.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub bendrucker/claude --plugin tech-specOther plugins' skills for the same job