원클릭으로
rai-bugfix-plan
Decompose fix into atomic TDD tasks. Phase 4 of bugfix pipeline.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Decompose fix into atomic TDD tasks. Phase 4 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.
Execute fix tasks with TDD and all validation gates. Phase 5 of bugfix pipeline.
Retrospective, pattern extraction, and process improvement. Phase 6 of bugfix pipeline.
| name | rai-bugfix-plan |
| description | Decompose fix into atomic TDD tasks. Phase 4 of bugfix pipeline. |
| allowed-tools | ["Read","Write","Grep","Glob"] |
| license | MIT |
| metadata | {"raise.adaptable":"true","raise.fase":"4","raise.frequency":"per-bug","raise.gate":"","raise.next":"bugfix-fix","raise.prerequisites":"bugfix-analyse","raise.skillset":"raise-maintainability","raise.version":"2.4.0","raise.visibility":"public","raise.work_cycle":"bugfix","raise.inputs":"- bug_id: string, required, argument\n- analysis_md: file_path, required, from_previous\n","raise.outputs":"- plan_md: file_path, next_skill\n"} |
Decompose the fix into atomic, independently committable tasks in TDD order. The regression test task comes first — proving the bug exists before fixing it.
When to use: After /rai-bugfix-analyse has confirmed root cause and fix approach.
When to skip: Never — even a 1-task fix benefits from explicit planning (regression test + fix = 2 tasks minimum).
Inputs: Bug ID, work/bugs/RAISE-{N}/analysis.md with root cause and fix approach.
Expected state: On bug branch. Analysis artifact exists.
Write work/bugs/RAISE-{N}/plan.md: atomic tasks in TDD order.
Each task must have:
.raise/manifest.yaml (test, lint, type check)fix(RAISE-{N}): {description} conventionThe regression test task MUST be first:
## Tasks
### T1: Write regression test (RED)
- Write test that reproduces the bug
- Verify: `{test_command}` — test FAILS (proves bug exists)
- Commit: `test(RAISE-{N}): add regression test for {description}`
### T2: Fix {description} (GREEN)
- {specific change}
- Verify: `{test_command}` — test PASSES
- Commit: `fix(RAISE-{N}): {description}`
### T3: Refactor (if needed)
- {cleanup}
- Verify: all gates pass
- Commit: `refactor(RAISE-{N}): {description}`
Regression test task listed first. Each task independently committable.
Fix approach unclear → return to `/rai-bugfix-analyse` for deeper investigation.
git add work/bugs/RAISE-{N}/plan.md
git commit -m "bug(RAISE-{N}): plan — {N} tasks, TDD order
Co-Authored-By: Rai <rai@humansys.ai>"
| Item | Destination |
|---|---|
| Plan | work/bugs/RAISE-{N}/plan.md |
| Next | /rai-bugfix-fix |
/rai-bugfix-analyse/rai-bugfix-fix