LogoSkills

product:tech-spec

Executes the Tech Spec workflow as the Product Manager.

ํ•ญ๋ชฉ๋‚ด์šฉ
Invoke/tech-spec

/tech-spec โ€” ์ž‘์€ ํ”„๋กœ์ ํŠธ์šฉ "๊ฐ„๋‹จ ๊ธฐ์ˆ  ์„ค๊ณ„์„œ"#

ํ•œ๋งˆ๋””๋กœ#

์ž‘์€ ํ”„๋กœ์ ํŠธ๋ฅผ ์œ„ํ•œ ๊ฐ€๋ฒผ์šด ์„ค๊ณ„ ๋ฉ”๋ชจ์ž…๋‹ˆ๋‹ค. ํฐ ์ง‘์„ ์ง€์„ ๋•Œ ์“ฐ๋Š” ๋‘๊บผ์šด ์„ค๊ณ„๋„(PRD) ๋Œ€์‹ , ์ž‘์€ ์ฐฝ๊ณ ๋ฅผ ์ง€์„ ๋•Œ ์“ฐ๋Š” ํ•œ๋‘ ์žฅ์งœ๋ฆฌ ์•ฝ์‹ ๋„๋ฉด์ด๋ผ๊ณ  ๋ณด๋ฉด ๋ฉ๋‹ˆ๋‹ค. 20~40๋ถ„์ด๋ฉด ๋๋‚ฉ๋‹ˆ๋‹ค.

๋ˆ„๊ฐ€ยท์–ธ์ œ ์“ฐ๋‚˜์š”#

  • ๋งŒ๋“ค ๊ฒƒ์ด ์ž‘๊ณ  ๋ช…ํ™•ํ•  ๋•Œ (์Šคํ† ๋ฆฌ 10๊ฐœ ์ดํ•˜์˜ ์†Œ๊ทœ๋ชจ ์ž‘์—…)
  • ๊ฑฐ์ฐฝํ•œ ๊ธฐํš ๋ฌธ์„œ๊นŒ์ง€๋Š” ํ•„์š” ์—†์ง€๋งŒ, ๋ฌด์—‡์„ยท์–ด๋–ป๊ฒŒ ๋งŒ๋“ค์ง€ ํ•œ ๋ฒˆ ์ •๋ฆฌํ•˜๊ณ  ์‹œ์ž‘ํ•˜๊ณ  ์‹ถ์„ ๋•Œ
  • ์ œํ’ˆ ๋ธŒ๋ฆฌํ”„(product brief)๊ฐ€ ์ด๋ฏธ ์žˆ์œผ๋ฉด ๊ทธ๊ฑธ ๋ฐ”ํƒ•์œผ๋กœ ๋” ๋น ๋ฅด๊ฒŒ ์ง„ํ–‰๋ฉ๋‹ˆ๋‹ค

๐Ÿ‘‰ ๊ทœ๋ชจ๊ฐ€ ์ปค์ง€๋ฉด(์Šคํ† ๋ฆฌ๊ฐ€ ๋งŽ๊ณ  ํŽ˜์ด์ง€๊ฐ€ ๋Š˜์–ด๋‚˜๋ฉด) ์ด ๋ช…๋ น ๋Œ€์‹  ์ •์‹ ๊ธฐํš ๋ฌธ์„œ์ธ /prd๋ฅผ ์“ฐ๋Š” ๊ฒŒ ๋‚ซ์Šต๋‹ˆ๋‹ค.

๋ฌด์—‡์„ ํ•ด์ฃผ๋‚˜์š”#

.bmad/tech-spec-{ํ”„๋กœ์ ํŠธ์ด๋ฆ„}-{๋‚ ์งœ}.md ํŒŒ์ผ ํ•œ ๊ฐœ๋ฅผ ๋งŒ๋“ค์–ด ์ค๋‹ˆ๋‹ค. ๊ทธ ์•ˆ์—๋Š”:

  • ๋ฌธ์ œ์™€ ํ•ด๊ฒฐ์ฑ… โ€” ๋ฌด์—‡์„ ์™œ ๋งŒ๋“œ๋Š”์ง€
  • ์š”๊ตฌ์‚ฌํ•ญ ๋ชฉ๋ก โ€” ๋งŒ๋“ค์–ด์•ผ ํ•  ๊ธฐ๋Šฅ๋“ค (๊ทธ๋ฆฌ๊ณ  ๋งŒ๋“ค์ง€ ์•Š์„ ๋ฒ”์œ„)
  • ๊ธฐ์ˆ  ๋ฐฉ์‹ โ€” ์–ด๋–ค ์–ธ์–ดยทDBยท์ธํ”„๋ผยท๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์“ธ์ง€
  • ๊ตฌํ˜„ ๊ณ„ํš โ€” ์ž‘์—…์„ 1~10๊ฐœ ์Šคํ† ๋ฆฌ๋กœ ์ชผ๊ฐ  ๋ชฉ๋ก๊ณผ ์ˆœ์„œ
  • ์™„๋ฃŒ ๊ธฐ์ค€ / ๋น„๊ธฐ๋Šฅ ์š”๊ตฌ์‚ฌํ•ญ / ์˜์กด์„ฑยท๋ฆฌ์Šคํฌยท์ผ์ • โ€” ์–ธ์ œ ๋๋‚ฌ๋‹ค๊ณ  ๋ณผ์ง€, ์„ฑ๋Šฅยท๋ณด์•ˆ ๋“ฑ

์–ด๋–ป๊ฒŒ ์“ฐ๋‚˜์š”#

# ๊ธฐ์ˆ  ์„ค๊ณ„์„œ ์ž‘์„ฑ ์‹œ์ž‘
/tech-spec

๋ช…๋ น์„ ์‹คํ–‰ํ•˜๋ฉด PM(์ œํ’ˆ ๋งค๋‹ˆ์ €) ์—ญํ• ๋กœ ์ง„ํ–‰๋˜๋ฉฐ, ๋ฌธ์ œยท์š”๊ตฌ์‚ฌํ•ญยท๊ธฐ์ˆ  ๋ฐฉ์‹ยท๊ณ„ํš ๋“ฑ์„ ์ฐจ๋ก€๋กœ ์งˆ๋ฌธํ•ด ์ค๋‹ˆ๋‹ค. ๋‹ตํ•˜๋ฉด ๊ทธ ๋‚ด์šฉ์œผ๋กœ ์œ„ ๋ฌธ์„œ๋ฅผ ์ž๋™ ์ž‘์„ฑํ•ฉ๋‹ˆ๋‹ค. ์ž‘์„ฑ์ด ๋๋‚˜๋ฉด ๋‹ค์Œ ์•ˆ๋‚ด๊ฐ€ ๋‚˜์˜ต๋‹ˆ๋‹ค.

  • ์Šคํ† ๋ฆฌ 1๊ฐœ(Level 0): /create-story๋กœ ์Šคํ† ๋ฆฌ๋ฅผ ๋งŒ๋“ค๊ณ  /dev-story๋กœ ๊ตฌํ˜„
  • ์Šคํ† ๋ฆฌ ์—ฌ๋Ÿฌ ๊ฐœ(Level 1): /sprint-planning์œผ๋กœ ์Šคํ† ๋ฆฌ๋ฅผ ์ •๋ฆฌํ•˜๊ณ  ๊ตฌํ˜„ ๊ณ„ํš ์ˆ˜๋ฆฝ

์•ˆ์—์„œ ๋ฌด์Šจ ์ผ์ด ๋ฒŒ์–ด์ง€๋‚˜์š”#

์งˆ๋ฌธ โ†’ ์ •๋ฆฌ โ†’ ๋ฌธ์„œ ์ƒ์„ฑ์˜ ํ๋ฆ„์œผ๋กœ ์ง„ํ–‰๋ฉ๋‹ˆ๋‹ค.

  1. ์‚ฌ์ „ ์ค€๋น„ โ€” ๊ธฐ์กด ์„ค์ •๊ณผ ์ง„ํ–‰ ์ƒํƒœ๋ฅผ ๋ถˆ๋Ÿฌ์˜ค๊ณ , ์ œํ’ˆ ๋ธŒ๋ฆฌํ”„๊ฐ€ ์žˆ์œผ๋ฉด ํ•จ๊ป˜ ์ฝ์Šต๋‹ˆ๋‹ค.
  2. ์ˆœ์„œ๋Œ€๋กœ ์ธํ„ฐ๋ทฐ โ€” ๋ฌธ์ œ/ํ•ด๊ฒฐ์ฑ… โ†’ ์š”๊ตฌ์‚ฌํ•ญ(๊ณผ ์ œ์™ธ ๋ฒ”์œ„) โ†’ ๊ธฐ์ˆ  ๋ฐฉ์‹(์–ธ์–ดยทDBยท์•„ํ‚คํ…์ฒ˜ยทAPI) โ†’ ๊ตฌํ˜„ ์Šคํ† ๋ฆฌ โ†’ ์™„๋ฃŒ ๊ธฐ์ค€ โ†’ ์„ฑ๋Šฅยท๋ณด์•ˆ ๋“ฑ โ†’ ์˜์กด์„ฑยท๋ฆฌ์Šคํฌยท์ผ์ •์„ ์ฐจ๋ก€๋กœ ๋ฌผ์–ด๋ด…๋‹ˆ๋‹ค.
  3. ๋ฌธ์„œ ์ƒ์„ฑ โ€” ๋‹ต๋ณ€์„ ํ…œํ”Œ๋ฆฟ์— ์ฑ„์›Œ .bmad/tech-spec-...md ํŒŒ์ผ๋กœ ์ €์žฅํ•˜๊ณ  ์š”์•ฝ์„ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค.
  4. ๊ฒ€์ฆ๊ณผ ๋งˆ๋ฌด๋ฆฌ โ€” ์ฒดํฌ๋ฆฌ์ŠคํŠธ๋กœ ๋น ์ง„ ๊ณณ์ด ์—†๋Š”์ง€ ํ™•์ธ๋ฐ›๊ณ , ์ง„ํ–‰ ์ƒํƒœ๋ฅผ ๊ฐฑ์‹ ํ•œ ๋’ค ๋‹ค์Œ ๋‹จ๊ณ„๋ฅผ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค.

โš™๏ธ ์ƒ์„ธ ์˜ต์…˜ยท์‹คํ–‰ ๋ช…์„ธ (๊ฐœ๋ฐœ์ž / AI ์—์ด์ „ํŠธ์šฉ)

Workflow Overview#

Goal: Create focused technical specification for small projects

Phase: 2 - Planning

Agent: Product Manager

Inputs: Product brief (if available), requirements discussion

Output: .bmad/tech-spec-{project-name}-{date}.md

Duration: 20-40 minutes

Best for: Level 0-1 projects (โ‰ค10 stories)


Pre-Flight#

  1. Load context per helpers.md#Combined-Config-Load
  2. Check status per helpers.md#Load-Workflow-Status
  3. Load product brief if exists (read .bmad/product-brief-*.md)
  4. Load template per helpers.md#Load-Template (tech-spec.md)

Streamlined Requirements Process#

Use TodoWrite to track: Pre-flight โ†’ Requirements โ†’ Technical โ†’ Plan โ†’ Generate โ†’ Validate โ†’ Update

Approach: Pragmatic and efficient for smaller scope.


Section 1: Problem & Solution#

If product brief exists, extract:

  • Problem statement
  • Proposed solution

If NO brief: Ask:

"In 2-3 sentences:

  1. What problem are you solving?
  2. What's your solution?"

Store as: {{problem_statement}}, {{proposed_solution}}


Section 2: Requirements List#

Explain:

"For small projects, we'll keep requirements simple and actionable."

Ask: "What needs to be built? List the key features or capabilities."

Format as bulleted list:

- Feature 1: Description with acceptance criteria
- Feature 2: Description with acceptance criteria
- Feature 3: Description with acceptance criteria

Typical count: 3-8 requirements

Also ask: "What is explicitly OUT of scope?"

Store as: {{requirements_list}}, {{out_of_scope}}


Section 3: Technical Approach#

Technology Stack: Ask: "What technologies will you use?"

  • Language/framework
  • Database
  • Hosting/deployment
  • Key libraries

Format:

- **Language/Framework:** Python 3.11 + FastAPI
- **Database:** PostgreSQL 15
- **Hosting:** AWS (ECS + RDS)
- **Key Libraries:** SQLAlchemy, Pydantic, pytest

Store as: {{tech_stack}}

Architecture Overview: Ask: "At a high level, how does the system work?"

Encourage: Simple description or diagram text

  • Main components
  • Data flow
  • Key interactions

Store as: {{architecture_overview}}

Data Model (if applicable): If data-heavy: Ask: "What are the main data entities and their relationships?"

Format as simple list or markdown table.

Store as: {{data_model}}

API Design (if applicable): If API project: Ask: "What are the key API endpoints?"

Format:

- GET /api/users - List users
- POST /api/users - Create user
- GET /api/users/{id} - Get user by ID

Store as: {{api_design}}


Section 4: Implementation Plan#

Stories: Ask: "Let's break this into implementable pieces. What are the 1-10 stories?"

For Level 0 (single story):

  • Just one story that encompasses everything

For Level 1 (1-10 stories):

  • Break into logical chunks
  • Each story should be 1-3 days of work

Format:

1. **Story Name** - What it delivers
2. **Story Name** - What it delivers
...

Store as: {{stories_list}}

Development Phases (optional for Level 1): If multiple stories, ask about order:

"What's the logical implementation order?"

Store as: {{development_phases}}


Section 5: Acceptance Criteria#

Ask: "How will you know it's complete? What must work?"

Format as checklist:

- [ ] Feature X works as described
- [ ] All tests pass
- [ ] Deployed to [environment]
- [ ] User can successfully [key action]

Store as: {{acceptance_criteria}}


Section 6: Non-Functional Requirements (Brief)#

Ask concisely:

Performance:

"Any performance requirements? (e.g., response time, load handling)"

Security:

"Any security requirements? (e.g., authentication, data protection)"

Other:

"Anything else? (accessibility, browser support, etc.)"

Store as: {{performance_requirements}}, {{security_requirements}}, {{other_nfr}}


Section 7: Dependencies, Risks, Timeline#

Dependencies: Ask: "What does this depend on?" Store as: {{dependencies}}

Risks: Ask: "What could go wrong? How to mitigate?" Format:

- **Risk:** Description
  - **Mitigation:** Strategy

Store as: {{risks}}

Timeline: Ask: "When do you want this done?" Ask: "Any key milestones?" Store as: {{target_completion}}, {{milestones}}


Generate Document#

  1. Load template from ${CLAUDE_PLUGIN_ROOT}/references/templates/tech-spec.md
  2. Substitute variables per helpers.md#Apply-Variables-to-Template
  3. Determine output path: {output_folder}/tech-spec-{project-name}-{date}.md
  4. Write document using Write tool
  5. Display summary:
        โœ“ Tech Spec Created!
    
    Summary:
    - Requirements: {count}
    - Stories: {count}
    - Tech Stack: {stack}
    - Target: {completion_date}
    

Validation#

โœ“ Checklist:
- [ ] Problem and solution are clear
- [ ] Requirements are specific and testable
- [ ] Tech stack is defined
- [ ] Stories are broken down (if Level 1)
- [ ] Acceptance criteria are clear
- [ ] Out of scope is stated

Ask user: "Please review the tech spec. Is it complete?"


Update Status#

Per helpers.md#Update-Workflow-Status:

  1. Update tech-spec status to file path
  2. Save

Recommend Next Steps#

Level 0:

โœ“ Tech Spec complete!

Next: Create your story
Run /create-story to create the single story for implementation.

Then: /dev-story to implement it.

Level 1:

โœ“ Tech Spec complete!

Next: Sprint Planning
Run /sprint-planning to organize your stories and plan implementation.

Note: Level 1 projects can skip architecture and go straight to implementation.

Helper References#

  • Load config: helpers.md#Combined-Config-Load
  • Load status: helpers.md#Load-Workflow-Status
  • Load template: helpers.md#Load-Template
  • Apply variables: helpers.md#Apply-Variables-to-Template
  • Save document: helpers.md#Save-Output-Document
  • Update status: helpers.md#Update-Workflow-Status
  • Recommend next: helpers.md#Determine-Next-Workflow

Tips for Tech Specs#

Keep it lightweight:

  • Don't over-plan for small projects
  • Focus on what's essential
  • Get to implementation faster

But be clear:

  • Requirements should still be testable
  • Tech decisions should be documented
  • Success criteria should be explicit

Right-size:

  • Level 0: 1 page is fine
  • Level 1: 2-3 pages maximum
  • If you need more, consider using /prd instead

Notes for LLMs#

  • Maintain a pragmatic persona for small projects
  • Move faster than PRD - less ceremony
  • Still ensure clarity and testability
  • Don't skip critical elements (requirements, acceptance criteria)
  • For Level 0, keep it very simple (single story focus)
  • For Level 1, provide just enough structure

Remember: Tech specs are for speed on small projects. Don't over-engineer the planning process.