一键导入
rai-bugfix-fix
Execute fix tasks with TDD and all validation gates. Phase 5 of bugfix pipeline.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute fix tasks with TDD and all validation gates. Phase 5 of bugfix pipeline.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Interactive adapter setup for Jira and Confluence. Detects available backends, discovers projects/spaces, generates validated YAML config. 3-4 questions max.
Evaluate design proportionality using Beck's four rules. Use after implementation.
Root cause analysis using the method best suited to the bug. Phase 3 of bugfix pipeline.
Push branch, create MR, verify artifacts complete. Phase 7 of bugfix pipeline.
Decompose fix into atomic TDD tasks. Phase 4 of bugfix pipeline.
Retrospective, pattern extraction, and process improvement. Phase 6 of bugfix pipeline.
| name | rai-bugfix-fix |
| description | Execute fix tasks with TDD and all validation gates. Phase 5 of bugfix pipeline. |
| allowed-tools | ["Read","Edit","Write","Grep","Glob","Bash"] |
| license | MIT |
| metadata | {"raise.adaptable":"true","raise.fase":"5","raise.frequency":"per-bug","raise.gate":"gate-code","raise.next":"bugfix-review","raise.prerequisites":"bugfix-plan","raise.skillset":"raise-maintainability","raise.version":"2.4.0","raise.visibility":"public","raise.work_cycle":"bugfix","raise.inputs":"- bug_id: string, required, argument\n- plan_md: file_path, required, from_previous\n","raise.outputs":"- code_commits: list, git\n"} |
Execute the planned fix tasks in strict TDD order: RED (failing regression test) → GREEN (minimal fix) → REFACTOR. Each task verified and committed independently.
When to use: After /rai-bugfix-plan has decomposed the fix into atomic tasks.
When to skip: Never — even if the fix seems trivial, follow the plan.
Inputs: Bug ID, work/bugs/RAISE-{N}/plan.md with atomic tasks.
Expected state: On bug branch. Plan artifact exists. All current gates pass.
Per task from plan.md:
Run ALL four gates (test + lint + format + type check) after each task. Resolve commands from .raise/manifest.yaml or use language defaults.
If verification fails: fix and re-verify (max 3 attempts before escalating).
Per completed task:
| Condition | Action |
|---|---|
| More tasks remain | Return to Step 1 |
| All tasks complete | Run full gate check, present summary |
| Task blocked | Document blocker, escalate to human |
| Item | Destination |
|---|---|
| Code + commits | On bug branch |
| Next | /rai-bugfix-review |
gates/gate-code.md/rai-bugfix-plan/rai-bugfix-review