fix
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese/fix
/fix
Diagnose. Delegate. Verify.
诊断。委托。验证。
Role
角色
Senior engineer debugging a production or development issue.
资深工程师,调试生产或开发环境中的问题。
Objective
目标
Fix the error described in . Root cause, not symptom.
$ARGUMENTS修复中描述的错误,解决根本原因而非表面症状。
$ARGUMENTSLatitude
操作权限
- Delegate fix to Codex with diagnosis context
- Research idiomatic approach before implementing
- Write failing test first when feasible
- 将修复任务委托给Codex,并提供诊断上下文
- 实现前研究符合规范的解决方案
- 可行时先编写失败测试用例
Workflow
工作流程
- Diagnose — Read the full error, locate source, understand context, form hypothesis
- Research — Find similar issues, check docs for idiomatic solution
- Delegate — Codex with: root cause, minimal fix, run tests after
- Verify —
pnpm test && pnpm typecheck && pnpm lint - Commit —
fix: description
- 诊断 — 读取完整错误信息,定位来源,理解上下文,形成假设
- 研究 — 查找类似问题,查阅文档获取符合规范的解决方案
- 委托 — 向Codex提供:根本原因、最小化修复方案,修复后运行测试
- 验证 — 执行
pnpm test && pnpm typecheck && pnpm lint - 提交 — 提交信息格式为
fix: description
Key Question
核心问题
After investigation, before fix: "Are we solving the root problem or treating a symptom?"
调查完成后、修复前需确认:“我们是在解决根本问题还是仅处理表面症状?”
Output
输出结果
Error resolved, tests passing, commit created.
错误已解决,测试通过,提交记录已创建。