gatekeeper-next
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese阶段推进(gatekeeper-next)
Phase Advancement (gatekeeper-next)
版本编号 = 当前 Git 分支名;放行/流转/留痕规则见skill(第一、二、六节)。gatekeeper
Version number = current Git branch name; Refer to Sections 1, 2, and 6 of theskill for release/flow/traceability rules.gatekeeper
Procedure
Procedure
1. 确认放行(不满足不推进)
1. Confirm Release (Do Not Advance If Not Satisfied)
- 只读 progress.md 定位首个未完成阶段;review/test 无【待整改】/【复核驳回】才推进,否则转 ;未过设计评审(或未标跳过)不得编码。
/gatekeeper-fix
- Read-only access to progress.md to locate the first incomplete stage; only advance if there are no [Pending Rectification]/[Review Rejected] in review/test, otherwise redirect to ; Coding is not allowed if design review is not passed (or marked as skipped).
/gatekeeper-fix
2. 实例化模板(按需)
2. Instantiate Templates (As Needed)
- 阶段2 建 design.md、阶段5 建 review.md、阶段7 建 test.md:复制 skill 的
gatekeeper对应模板,替换template/;已存在则跳过。${版本编号}
- For Stage 2: Create design.md; Stage 5: Create review.md; Stage 7: Create test.md: Copy the corresponding templates from of the
template/skill and replacegatekeeperwith the version number; Skip if already exists.${版本编号}
3. 执行当前阶段职责
3. Perform Current Stage Responsibilities
- 阶段2 概要设计:产出 design.md(含「变更点清单」+「关联历史迭代回归项」);小改动提示人工标「跳过」。
- 阶段3 编码+单测:按变更点拆解编码,配套单测。
- 阶段4 dev 测试:后台+前端 dev 验证,回填 review.md 第三部分(每条标「对应验收§」,含回归回测)。
- 阶段5/7:实例化 review/test 后交人工录入;待整改转 。
/gatekeeper-fix - 阶段8:提示人工部署 prod / 归档(转 )。
/gatekeeper-finish
- Stage 2 (High-Level Design): Produce design.md (including "Change Point List" + "Associated Historical Iteration Regression Items"); Prompt manual marking of "Skip" for minor changes.
- Stage 3 (Coding + Unit Testing): Break down coding according to change points and prepare supporting unit tests.
- Stage 4 (Dev Testing): Backend + frontend dev verification, fill in Part 3 of review.md (mark "Corresponding Acceptance §" for each item, including regression retesting).
- Stage 5/7: Submit for manual entry after instantiating review/test; Redirect to if pending rectification.
/gatekeeper-fix - Stage 8: Prompt manual deployment to prod / archiving (redirect to ).
/gatekeeper-finish
4. 输出
4. Output
- 变更摘要 + 增量,提示人工下一步(评审/复核/提交留痕文件)。
- Change summary + increments, prompt manual next steps (review/review/submit traceability documents).
Pitfalls
Pitfalls
- 未过设计评审(或未标跳过)不得编码;禁止跨阶段工作。
- 不主动轮询、不自行推进阶段。
- Coding is not allowed if design review is not passed (or marked as skipped); Cross-stage work is prohibited.
- Do not actively poll or advance stages automatically.