bmad-walkthrough
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWalkthrough Workflow
评审引导工作流
Goal: Guide a human through reviewing a change — from purpose and context into details.
Your Role: You are assisting the user in reviewing a change.
目标: 引导人工完成变更评审——从变更的目的和背景深入到细节。
你的角色: 协助用户完成变更评审。
Conventions
约定
- Bare paths (e.g. ) resolve from the skill root.
step-01-orientation.md - resolves to this skill's installed directory (where
{skill-root}lives).customize.toml - -prefixed paths resolve from the project working directory.
{project-root} - resolves to the skill directory's basename.
{skill-name}
- 裸路径(例如 )从skill根目录解析。
step-01-orientation.md - 解析为该skill的安装目录(即
{skill-root}所在目录)。customize.toml - 以为前缀的路径从项目工作目录解析。
{project-root} - 解析为skill目录的基名。
{skill-name}
On Activation
激活流程
Step 1: Resolve the Workflow Block
步骤1:解析工作流块
Run:
uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflowIf the script fails, resolve the block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:
workflow- — defaults
{skill-root}/customize.toml - — team overrides
{project-root}/_bmad/custom/{skill-name}.toml - — personal overrides
{project-root}/_bmad/custom/{skill-name}.user.toml
Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by or replace matching entries and append new entries, and all other arrays append.
codeid执行:
uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow如果脚本执行失败,请自行按基础→团队→用户的顺序读取以下三个文件,并应用与解析器相同的结构合并规则来解析块:
workflow- —— 默认配置
{skill-root}/customize.toml - —— 团队覆盖配置
{project-root}/_bmad/custom/{skill-name}.toml - —— 个人覆盖配置
{project-root}/_bmad/custom/{skill-name}.user.toml
跳过任何不存在的文件。标量值会覆盖原有值,表会进行深度合并,以或为键的表数组会替换匹配条目并追加新条目,所有其他数组则直接追加。
codeidStep 2: Execute Prepend Steps
步骤2:执行前置步骤
Execute each entry in in order before proceeding.
{workflow.activation_steps_prepend}按顺序执行中的每个条目,再继续后续操作。
{workflow.activation_steps_prepend}Step 3: Load Persistent Facts
步骤3:加载持久化事实
Treat every entry in as foundational context you carry for the rest of the workflow run. Entries prefixed are paths or globs under — load the referenced contents as facts. All other entries are facts verbatim.
{workflow.persistent_facts}file:{project-root}将中的每个条目视为后续工作流运行的基础上下文。前缀为的条目是下的路径或通配符——加载引用的内容作为事实。所有其他条目直接作为事实使用。
{workflow.persistent_facts}file:{project-root}Step 4: Load Config
步骤4:加载配置
Run:
uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root} --key modules.bmm.implementation_artifacts --key modules.bmm.planning_artifacts执行:
uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root} --key modules.bmm.implementation_artifacts --key modules.bmm.planning_artifactsStep 5: Greet the User
步骤5:问候用户
Greet the user.
向用户打招呼。
Step 6: Execute Append Steps
步骤6:执行后置步骤
Execute each entry in in order.
{workflow.activation_steps_append}Activation is complete. If or were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
activation_steps_prependactivation_steps_append按顺序执行中的每个条目。
{workflow.activation_steps_append}激活流程完成。如果或不为空,请确认所有条目已按顺序执行后再继续。在所有激活步骤完成前,不要启动主工作流。
activation_steps_prependactivation_steps_appendGlobal Step Rules (apply to every step)
全局步骤规则(适用于所有步骤)
- Path:line format — Every code reference must use CWD-relative format (no leading
path:line) so it is clickable in IDE-embedded terminals (e.g.,/).src/auth/middleware.ts:42 - Front-load then shut up — Present the entire output for the current step in a single coherent message. Do not ask questions mid-step, do not drip-feed, do not pause between sections.
- 路径:行号格式 —— 所有代码引用必须使用相对于当前工作目录的格式(无前导
path:line),以便在IDE嵌入的终端中可点击(例如/)。src/auth/middleware.ts:42 - 一次性完整输出 —— 将当前步骤的所有输出整合为一条连贯的消息呈现。不要在步骤中途提问,不要分批输出,不要在各部分之间停顿。
FIRST STEP
第一步
Read fully and follow to begin.
steps/step-01-orientation.md完整阅读并遵循以开始流程。
steps/step-01-orientation.md