بنقرة واحدة
fix
Fix bugs using debug reports. Autocomplete for debug files. Records fixes in docs/fix/.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Fix bugs using debug reports. Autocomplete for debug files. Records fixes in docs/fix/.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Long-running iterative development loops. Run arbitrarily-long tasks without diluting model attention. Triggers: ralph, ralph loop, iterative loop, long-running task, development loop.
Full compactor reference — tool parameters, anti-patterns, sandbox languages, context budget, workflows.
Diagnostics — validate config, session DB, runtimes, and troubleshoot compactor issues.
Context management — compact session, recall history, run code, search content.
Stats display — context savings, session metrics, compactions, sandbox and recall/search counters.
Helps you use the /unipi:btw side-conversation workflow effectively. Use when you want to think in parallel, ask side questions without interrupting ongoing work, or inject a side thread back into the main agent.
استنادا إلى تصنيف SOC المهني
| name | fix |
| description | Fix bugs using debug reports. Autocomplete for debug files. Records fixes in docs/fix/. |
Implement fixes based on debug reports. Autocomplete available for debug file selection.
This skill MAY: read/write code, run tests, commit, write fix report to .unipi/docs/fix/.
This skill MAY NOT: create worktrees, merge branches, deploy.
/unipi:fix debug:<path>(optional) <string(greedy)>(optional)
debug:<path> — debug report to fix from (autocomplete available)string(greedy) — optional scope or additional context.unipi/docs/fix/YYYY-MM-DD-<topic>-fix.md
If debug: arg provided:
.unipi/docs/debug/If no debug provided:
.unipi/docs/debug//unipi:quick-fix)Exit: Debug report loaded, fix strategy clear.
Based on debug report:
If debug report is unclear or incomplete:
"Debug report suggests {approach}, but I need to verify {aspect}. Should I investigate further or proceed with the suggested fix?"
Exit: Fix plan ready.
Make the code changes as suggested in debug report
Follow the fix strategy step by step
If strategy doesn't work:
After each change:
Exit: Code changes made.
Run verification as specified in debug report:
npm test or equivalentIf verification fails:
Exit: Fix verified.
Write to .unipi/docs/fix/YYYY-MM-DD-<topic>-fix.md:
---
title: "{Bug Title} — Fix Report"
type: fix
date: YYYY-MM-DD
debug-report: {path-to-debug-report}
status: {fixed|partial-fix|could-not-fix}
---
# {Bug Title} — Fix Report
## Summary
{One-line description of what was fixed}
## Debug Report Reference
- Report: `.unipi/docs/debug/{filename}`
- Root Cause: {brief summary}
## Changes Made
### Files Modified
- `{file}` — {what changed and why}
- `{file}` — {what changed and why}
### Code Changes
{Key code changes, or "See git diff for details"}
## Fix Strategy
{How the fix addresses the root cause}
1. {Step 1}
2. {Step 2}
## Verification
### Test Results
- ✓ Original bug no longer reproduces
- ✓ Test case 1: {description}
- ✓ Test case 2: {description}
- ✓ Project tests pass
### Regression Check
- ✓ {Related feature 1} still works
- ✓ {Related feature 2} still works
## Risks & Mitigations
- {Risk}: {mitigation}
## Notes
{Any additional context, gotchas, or follow-ups}
## Follow-up
- [ ] {Optional follow-up task}
"Fixed. Changes committed."
Fix: {brief summary} Files: {list of changed files} Report:
.unipi/docs/fix/YYYY-MM-DD-<topic>-fix.md
Suggest next steps:
If fix was straightforward:
/unipi:consolidate
If fix revealed deeper issues:
"The fix works, but I noticed {issue}. Consider:"
/unipi:scan-issues focus on {area}
If fix was complex:
"This was a tricky fix. Consider documenting the pattern:"
/unipi:document {area}
When user types /unipi:fix debug:, autocomplete shows:
Available debug reports:
┌─────────────────────────────────────────┬────────────┬──────────────┐
│ File │ Date │ Status │
├─────────────────────────────────────────┼────────────┼──────────────┤
│ 2026-04-28-auth-timeout-debug.md │ 2026-04-28 │ root-caused │
│ 2026-04-27-login-crash-debug.md │ 2026-04-27 │ root-caused │
│ 2026-04-26-slow-query-debug.md │ 2026-04-26 │ needs-inv. │
└─────────────────────────────────────────┴────────────┴──────────────┘
User selects one, or types path manually.
/unipi:quick-fix instead