tech-spec
8
总安装量
6
周安装量
#34777
全站排名
安装命令
npx skills add https://github.com/sd0xdev/sd0x-dev-flow --skill tech-spec
Agent 安装分布
amp
6
github-copilot
6
codex
6
kimi-cli
6
gemini-cli
6
opencode
6
Skill 文档
Tech Spec Skill
Trigger
- Keywords: tech spec, technical specification, spec review, review spec, requirement analysis, feature design
When NOT to Use
- Creating request documents (use /create-request)
- Code implementation (use feature-dev)
- Architecture consulting (use /codex-architect)
Commands
| Command | Purpose | When |
|---|---|---|
/tech-spec |
Produce tech spec | Starting from scratch |
/deep-analyze |
Deepen spec + roadmap | After initial concept |
/review-spec |
Review tech spec | Spec confirmation |
Workflow
sequenceDiagram
participant A as Analyst
participant C as Codebase
participant D as Document
A->>A: 1. Requirement clarification
A->>C: 2. Code research
C-->>A: Related modules
A->>A: 3. Solution design
A->>A: 4. Risk assessment
A->>A: 5. Work breakdown
A->>D: 6. Output document
Spec Structure
- Requirement summary (problem + goals + scope)
- Existing code analysis
- Technical solution (architecture + data model + API + core logic)
- Risks and dependencies
- Work breakdown
- Testing strategy
- Open questions
Output
Numbered tech spec document with sections: Overview, Requirements, Architecture, Implementation plan, Work breakdown, Testing strategy, Open questions.
Verification
- Solution covers all requirement points
- Architecture diagrams use Mermaid
- Risks have mitigation strategies
- Work can be broken into trackable items
References
references/template.md– Spec template + review dimensions
File Location
docs/features/{feature}/
âââ 2-tech-spec.md # Technical spec (numbered per docs-numbering rule)
âââ requests/ # Request documents
âââ README.md # Feature description
Examples
Input: /tech-spec "Implement user asset snapshot feature"
Action: Requirement clarification -> Code research -> Solution design -> Output document
Input: /review-spec docs/features/xxx/2-tech-spec.md
Action: Read -> Research -> Review -> Output report + Gate