بنقرة واحدة
rai-bugfix-review
Retrospective, pattern extraction, and process improvement. Phase 6 of bugfix pipeline.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Retrospective, pattern extraction, and process improvement. Phase 6 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.
Decompose fix into atomic TDD tasks. Phase 4 of bugfix pipeline.
| name | rai-bugfix-review |
| description | Retrospective, pattern extraction, and process improvement. Phase 6 of bugfix pipeline. |
| allowed-tools | ["Read","Write","Bash(rai:*)"] |
| license | MIT |
| metadata | {"raise.adaptable":"true","raise.fase":"6","raise.frequency":"per-bug","raise.gate":"","raise.next":"bugfix-close","raise.prerequisites":"bugfix-fix","raise.skillset":"raise-maintainability","raise.version":"2.4.0","raise.visibility":"public","raise.work_cycle":"bugfix","raise.inputs":"- bug_id: string, required, argument\n- scope_md: file_path, required, from_previous\n","raise.outputs":"- retro_md: file_path, next_skill\n- patterns: list, cli\n"} |
Verify the fix addresses root cause, extract process improvements and causal patterns, and produce the retrospective artifact. This is where bugs become organizational learning.
When to use: After /rai-bugfix-fix has completed all planned tasks with passing gates.
When to skip: Never — even trivial fixes produce learnings. Skipping review is the #1 step-skipping failure mode.
Inputs: Bug ID, all prior artifacts (scope.md, analysis.md, plan.md), code commits.
Expected state: On bug branch. All tasks committed. All gates pass. Bug no longer reproduces.
Answer with specific examples:
Add patterns worth preserving (causal insights, recurring failure modes):
rai pattern add "{causal insight}" --context "{keywords}" --type process --scope project --from RAISE-{N}
Types: process, technical, architecture, codebase. Use --scope project — bug insights are codebase-specific.
Reinforce behavioral patterns loaded at session start:
rai pattern reinforce {pattern_id} --vote {1|0|-1} --from RAISE-{N}
| Vote | Meaning |
|---|---|
1 | Fix followed the pattern |
0 | Pattern not relevant (does NOT count toward scoring) |
-1 | Fix contradicted the pattern |
Process improvement — answer with specifics:
Write work/bugs/RAISE-{N}/retro.md:
## Retrospective: RAISE-{N}
### Summary
- Root cause: {one line}
- Fix approach: {one line}
- Classification: {Bug Type}/{Severity}/{Origin}/{Qualifier}
### Process Improvement
**Prevention:** {specific change that would prevent this class of bug}
**Pattern:** {Bug Type}={X} + {Origin}={Y} → {systemic insight}
### Heutagogical Checkpoint
1. Learned: ...
2. Process change: ...
3. Framework improvement: ...
4. Capability gained: ...
### Patterns
- Added: {pattern IDs or "none"}
- Reinforced: {pattern IDs and votes, or "none evaluated"}
Commit:
git add work/bugs/RAISE-{N}/retro.md
git commit -m "bug(RAISE-{N}): review — retro and patterns
Co-Authored-By: Rai <rai@humansys.ai>"
Retro written. Patterns added/reinforced.
| Item | Destination |
|---|---|
| Retrospective | work/bugs/RAISE-{N}/retro.md |
| Patterns | .raise/rai/memory/patterns.jsonl |
| Next | /rai-bugfix-close |
--scope project if applicable/rai-bugfix-fix/rai-bugfix-close