跳到主要内容
知仓学习社ZHICANG

bmad-tech-spec

|

不碰外部(只输出文字)无严重或高危命中aj-geddes/claude-code-bmad-skills

它会碰到什么

扫了多少2 个文本文件,12 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

BMAD Tech Spec — Quick Flow

This skill produces a focused tech-spec.md for Quick Flow work: small, well-scoped

features or changes that sit in the 1-15 story range. It consolidates the product

rationale, technical approach, and story backlog into a single lightweight document,

skipping the separate PRD + architecture artifacts that larger tracks require.

> Track guidance

> - 1-15 stories, single team, clear requirements → Quick Flow (this skill)

> - 10-50+ stories, multiple concerns, or uncertain scope → use bmad-prd then bmad-architecture

> - 30+ stories, cross-org, security/compliance/DevOps dimensions → Enterprise track


Workflow

Step 1 — Identify intent

Ask the user (or infer from context) which of three intents applies:

| Intent | When |

|--------|------|

| Create | No tech-spec.md exists yet |

| Update | Revising scope, requirements, or approach in an existing spec |

| Validate | Checking a draft spec for BMAD completeness before moving to stories |

Step 2 — Gather context

For Create, collect (interactively or from existing project files):

  1. Problem & solution — what are we solving and how?
  2. Scope — what is in scope? What is explicitly out of scope?
  3. Functional requirements — numbered, MoSCoW-tagged (MUST / SHOULD / COULD)
  4. Non-functional requirements — performance, security, accessibility targets that are relevant; omit boilerplate that does not apply
  5. Technical approach — stack, key components, data model sketch, API surface (if any)
  6. Story list — high-level backlog items; the scrum-master skill will compile them into full story files
  7. Dependencies & risks — third-party libs, external services, known unknowns
  8. Decision log entries — any choices made during this conversation that belong in bmad-output/decision-log.md

Load bmad-output/project-context.md if present — it is the project constitution and must

not be contradicted without a recorded decision.

For Update, read the existing bmad-output/tech-spec.md first, then apply targeted

edits and log what changed in the decision log.

For Validate, read the existing spec and report against the checklist in the

[Validation Checklist](#validation-checklist) section below.

Step 3 — Draft or revise

Render the template at:

${CLAUDE_PLUGIN_ROOT}/skills/bmad-tech-spec/templates/tech-spec.template.md

Fill every section. Omit sections that genuinely do not apply (e.g., no API design for a

pure-CLI tool) and note the omission inline. Do not leave unreplaced {{placeholders}}.

Testing strategy in the spec is planning only — describe what should be tested and

why. Do not write test code. Do not set coverage numbers as mandatory targets; frame them

as guidance for the dev team.

Step 4 — Write output

Write to bmad-output/tech-spec.md (respecting the outputFolder user config if set).

If decision-log entries were made, append them to bmad-output/decision-log.md

(create the file if it does not exist, using the format: ## [YYYY-MM-DD] <title> /

Decision: ... / Rationale: ...).

Step 5 — Confirm next steps

After writing, tell the user:

  • The spec is the Quick Flow planning artifact. Story creation is the next step.
  • Use bmad-epics-and-stories to compile stories from the story list in the spec.
  • If scope has grown during this conversation beyond ~15 stories, recommend switching to

the BMad Method track (bmad-prd + bmad-architecture) before proceeding.


Validation Checklist

When intent is Validate, report pass/fail for each item:

  • [ ] Problem statement is clear and specific
  • [ ] Solution is described without implementation code
  • [ ] All functional requirements are numbered and MoSCoW-tagged
  • [ ] Non-functional requirements include at least one performance or security entry if applicable
  • [ ] Technical approach names the stack and describes key components
  • [ ] Story list exists and each story title is one-line, action-oriented
  • [ ] Story count is 1-15 (flag if over)
  • [ ] No unreplaced {{placeholders}} remain
  • [ ] Testing section describes strategy only (no executable test code)
  • [ ] Dependencies table lists version or version constraint
  • [ ] Risks table lists at least one risk with a mitigation
  • [ ] Decision log entries have been written for any significant choices
  • [ ] No content instructs a dev agent to run tests, lint, build, or deploy

Subagent Strategy

This skill is primarily single-threaded (one conversation, one document). Parallelism is

optional and limited to information gathering:

  • If the user wants concurrent research (e.g., compare two tech options), spawn two

WebSearch/WebFetch agents in parallel and synthesize results before writing the spec.

  • Do not spawn parallel agents for writing — the spec is one coherent document and must

be written atomically to avoid merge conflicts.


> ---

> Part of the BMAD Planning & Orchestrator plugin — a Claude Code harness for the BMAD Method by the BMAD Code Organization (https://github.com/bmad-code-org/BMAD-METHOD). Implements the spirit of bmad-tech-spec. All methodology credit belongs to the BMAD Code Organization.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 488
本站分层T2
该仓技能数20
原文件路径bmad-planning-orchestrator/skills/bmad-tech-spec/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 20 个技能