implement
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseImplement
实施
Steps
步骤
-
Pin contract. Identify source of truth: spec, issue, conversation. List done criteria. Too vague: ask one question, wait.
-
Find seam. Read current flow before editing. Reuse helpers, tests, patterns. Broad or risky: explore before changing files.
-
Build with feedback. Usewhere possible. One vertical slice at a time. Narrowest useful check after each.
/tdd -
Review. Run formatter, lint, typecheck, tests.for non-trivial changes. Fix confirmed findings only.
/code-review -
Close out. Summarize changed files and checks. Commit only when asked.rules. PR needed:
/git./bitbucket-helper
-
锁定契约。 确认事实来源:规范、Issue 或对话。列出完成标准。如果要求过于模糊:只问一个问题,然后等待。
-
找到切入点。 编辑前先阅读当前流程。复用辅助函数、测试和既有模式。如果改动范围较大或风险较高:先探索,再修改文件。
-
基于反馈构建。 尽可能使用。每次完成一个垂直切片。每步之后执行最小且有效的检查。
/tdd -
审查。 运行 formatter、lint、typecheck 和测试。对于非简单改动,使用。只修复已确认的问题。
/code-review -
收尾。 总结改动文件和检查结果。仅在被要求时提交。遵循规则。需要 PR 时:使用
/git。/bitbucket-helper
Blocked
阻塞
If context missing, state plan before asking: source of truth, done criteria, seam, callers, passing check, review command, changed files.
如果缺少上下文,先说明计划,再提问:事实来源、完成标准、切入点、调用方、通过检查的方法、审查命令、改动文件。
Output
输出
If blocked, state the , , , , (, check/test), , and before asking a question.
Source of truthDone criteriaSeamCallersBuild with feedback/tddReviewChanged filesCompletion: changed files, checks, risks, blocked follow-up named.
如果被阻塞,请在提问前说明 、、、、(、检查/测试)、 和 。
Source of truthDone criteriaSeamCallersBuild with feedback/tddReviewChanged files完成时需说明改动文件、检查结果、风险以及明确列出的阻塞后续事项。