Bmad Spec 标志

Bmad Spec

社区
aj-geddes
bmad-spec

将任何杂乱的输入——头脑风暴记录、文字稿、长篇 PRD、利益相关方笔记、功能请求或语音备忘录——提炼成简洁的五字段 SPEC.md 核心文档,供任何下游规划技能使用。五个字段分别是:问题、能力、限制、非目标、成功指标。当用户说“创建规格说明”“为……撰写规格说明”“把这些内容提炼成规格说明”“我有一份头脑风暴记录”“把这些整理成结构化内容”“整理这些笔记”“根据……生成 SPEC”“我想明确问题”“帮我确定范围”“总结我们要构建什么”“我有 PRD,但需要一份核心文档”“我们究竟要解决什么问题?”,或提供原始文本/文字稿并要求整理结构时使用。启动任何新计划但缺少清晰、统一的定义时,也使用此技能。

Add to TypingMind

概览

发布者aj-geddes
代码仓库claude-code-bmad-skills
技能名称bmad-spec
星标数
492
复刻数
77
附带文件
2
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 aj-geddes 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Bmad Spec AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/aj-geddes/claude-code-bmad-skills/tree/main/bmad-planning-orchestrator/skills/bmad-spec
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aj-geddes/claude-code-bmad-skills.git /tmp/claude-code-bmad-skills
mkdir -p .claude/skills
cp -r /tmp/claude-code-bmad-skills/bmad-planning-orchestrator/skills/bmad-spec .claude/skills/bmad-spec
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Bmad Spec,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Bmad Spec。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Bmad Spec 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

BMAD Spec — Five-Field Kernel Distiller

Function: Accept messy, unstructured, or verbose input and produce a lean SPEC.md kernel (five fields, no more) that anchors every downstream planning workflow. This is a planning skill. It never writes application code, runs tests, or builds anything.

What it produces

A single file under the configured output folder (default bmad-output/):

bmad-output/
└── SPEC.md    # the five-field kernel

The kernel is intentionally small — a SPEC is not a PRD, not a brief, not an architecture doc. It is the shared definition of what is being built and why. Every downstream skill (PRD, tech-spec, architecture) loads it as the ground truth for scope.

The five fields

FieldPurpose
ProblemThe one thing that hurts right now and why it matters
CapabilitiesWhat the solution must be able to do (outcome-framed)
ConstraintsHard limits that are not negotiable (budget, tech, time, compliance)
Non-GoalsScope that is explicitly out — prevents creep and confusion
Success MetricsObservable signals that confirm the problem is solved

See templates/spec.template.md for the exact template with guidance and examples.

Workflow

1. Ingest

Accept whatever the user hands over:

  • Paste of raw text, notes, or a transcript
  • A path to an existing file (Read it)
  • Verbal description in the chat

If the input exceeds a few hundred words, briefly acknowledge what you received before proceeding. Do not ask the user to reformat it — that is the skill's job.

2. Extract (silent analysis)

Read the input and locate signal for each field:

  • Problem: What pain, gap, or failure state is described? Who experiences it?
  • Capabilities: What outcomes or abilities are requested? Rephrase features as capabilities ("users can …", "the system supports …").
  • Constraints: What is fixed? Look for budget figures, tech mandates, deadlines, regulatory mentions, team-size limits.
  • Non-Goals: What is the input silent about that a reader might assume? What is explicitly ruled out? What is deferred?
  • Success Metrics: What does "done" or "working" look like? Numbers, observable behaviors, thresholds.

3. Draft and present

Write a concise draft of all five fields and show it to the user in the chat before writing to disk. Keep each field tight:

  • Problem: 2–5 sentences max.
  • Capabilities: 3–7 bullet points, outcome-framed.
  • Constraints: 2–6 bullet points, hard limits only.
  • Non-Goals: 2–6 bullet points, clear and unambiguous.
  • Success Metrics: 2–5 bullet points, each with a measurable signal.

After presenting, ask one targeted question: "Does anything here need to change before I write SPEC.md?"

4. Write

Once the user confirms (or revises), write SPEC.md using the template:

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

Output path: <outputFolder>/SPEC.md (read bmad-output/config.yaml if it exists to find the configured output folder; fall back to bmad-output/).

Append a new entry to bmad-output/decision-log.md (create it if absent):

markdown
## SPEC created — <ISO date>
- Source: <one-line description of the input, e.g. "stakeholder brain dump">
- Key scope decision: <the single most important Non-Goal or Constraint>

5. Hand off

After writing, tell the user what the SPEC unlocks:

  • Quick Flow track → hand off to bmad-tech-spec to turn the kernel into a deployable spec.
  • BMad Method / Enterprise track → hand off to bmad-product-brief or the PM role (bmad-prfaq) for a full PRD.
  • If no workspace exists yet, suggest running /bmad-planning-orchestrator:bmad-init first to pick a track.

Three intents

  • Create — distill fresh input into a new SPEC.md (the common case).
  • Update — the user has new information or changed scope. Read the existing SPEC.md, apply the changes, present a diff-style summary, confirm, then overwrite. Record the change in decision-log.md.
  • Validate — review SPEC.md against the five-field contract: are all fields present and non-empty? Is the Problem one coherent statement? Are Capabilities outcome-framed (not feature-list)? Are Non-Goals unambiguous? Flag any gaps and offer to fix them.

Distillation heuristics

Follow these when mapping noisy input to the five fields:

Input patternMaps to
"we need to fix / users complain / it's broken"Problem
"it should / users can / the system supports"Capabilities
"we can't / no budget / must use / by deadline"Constraints
"not in scope / later / out of v1 / won't do"Non-Goals
"if X% then / we'll know it works when / target"Success Metrics

When a constraint sounds aspirational (e.g., "we'd like to finish in Q3"), move it to Non-Goals or flag it as a soft constraint and note the ambiguity.

When capabilities sound like features rather than outcomes, rephrase: "add a search bar" → "users can find any record within 3 keystrokes".

When no success metrics appear in the input, use the Problem statement to derive proxy metrics: if the problem is "users can't find X", a metric is "time-to-find X reduced by Y%".

Guardrails

  • Lean by design. Resist adding a sixth field. If important information does not fit the five fields, note it as context in the file header and direct the user to expand it in the PRD or tech-spec stage.
  • No solutioning. The Capabilities field names outcomes, not implementation choices. Architecture, tech stack, and approach live downstream.
  • No story points, velocity, or burndown anywhere in the SPEC.
  • Scope law. This skill's last artifact is SPEC.md. It does not create stories, write code, or produce acceptance criteria. Hand those to downstream skills.

See REFERENCE.md for extended distillation patterns and edge cases.


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-spec. All methodology credit belongs to the BMAD Code Organization.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Bmad Spec AI 技能有什么作用?

将任何杂乱的输入——头脑风暴记录、文字稿、长篇 PRD、利益相关方笔记、功能请求或语音备忘录——提炼成简洁的五字段 SPEC.md 核心文档,供任何下游规划技能使用。五个字段分别是:问题、能力、限制、非目标、成功指标。当用户说“创建规格说明”“为……撰写规格说明”“把这些内容提炼成规格说明”“我有一份头脑风暴记录”“把这些整理成结构化内容”“整理这些笔记”“根据……生成 SPEC”“我想明确问题”“帮我确定范围”“总结我们要构建什么”“我有 PRD,但需要一份核心文档”“我们究竟要解决什么问题?”,或提供原始文本/文字稿并要求整理结构时使用。启动任何新计划但缺少清晰、统一的定义时,也使用此技能。

为什么在 TypingMind 中使用 Bmad Spec?

因为您只需安装一次,就能搭配任何模型使用。Bmad Spec 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Bmad Spec?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/aj-geddes/claude-code-bmad-skills/tree/main/bmad-planning-orchestrator/skills/bmad-spec。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Bmad Spec?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Bmad Spec 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Bmad Spec 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Bmad Spec AI 技能免费吗?

aj-geddes 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇