Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill debug-to-fix명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | debug-to-fix |
| description | | Use when this capability is needed. |
This elixir works best with these skills installed:
| Skill | Purpose | If Missing |
|---|---|---|
| rubber-duck | Structured problem clarification | Falls back to built-in questions |
| prove-it | Verification enforcement | Falls back to built-in verification |
| retrospective | Document learnings | Skipped (optional phase) |
The elixir degrades gracefully - it will use built-in fallbacks for missing skills.
<phase_clarify> If rubber-duck skill installed: Invoke it now.
If not installed, ask:
Before we debug, let me understand the problem:
GATE: Do not proceed until you can state the problem in one sentence: "When I [action], I expect [expected], but instead [actual]."
Write this sentence before continuing. </phase_clarify>
<phase_investigate> Objective: Find the root cause, not just symptoms.
Investigation checklist:
Reproduce: Can you trigger the bug reliably?
Isolate: Where does the bug live?
Understand: Why does it fail?
Investigation techniques (try in order):
1. Read the error message completely - what does it actually say?
2. Add logging/print at the failure point - what are the actual values?
3. Trace backwards - where do the bad values come from?
4. Check recent changes - git diff, git log
5. Rubber duck the code flow aloud
GATE: Do not proceed until you can answer:
Write both sentences before continuing. </phase_investigate>
<phase_fix> Now implement the fix.
Before writing code, state:
Implement the minimal fix. Resist the urge to refactor nearby code. </phase_fix>
<phase_verify> If prove-it skill installed: Invoke it now.
If not installed:
Verification checklist:
GATE: Do not declare victory until verification complete.
Show the evidence:
VERIFIED:
- [What you tested]
- [What you observed]
- [Why this confirms the fix]
</phase_verify>
<phase_document> If retrospective skill installed: Invoke it for significant bugs.
If not installed or bug was minor: Skip this phase.
For significant debugging sessions (>15 min), capture:
## Debug Session: [Brief description]
### Problem Statement
When I [action], I expect [expected], but instead [actual].
### Root Cause
The bug happens because [cause].
Evidence: [how you know]
### Fix
[What you changed and why]
### Verification
- [x] Original bug fixed
- [x] [Other checks performed]
### Learnings (if significant)
[What you'd do differently]
User: "The login is broken, I don't know why"
Phase 1 - Clarify:
Before we debug, help me understand:
- What should happen when you log in?
- What actually happens?
- What have you tried?
- Did anything change recently?
[User answers]
Problem statement: "When I submit the login form, I expect to be redirected to /dashboard, but instead I see a blank page with no errors."
Phase 2 - Investigate:
Let me investigate...
- Checked network tab: POST /api/login returns 200 ✓
- Checked console: No errors ✓
- Checked redirect logic:
router.push('/dashboard')is called- Added logging: redirect fires but page doesn't change
- Checked recent commits: Found change to middleware yesterday
Root cause: "The bug happens because new auth middleware redirects /dashboard back to /login for users without 'verified' flag, creating a loop that results in blank page." Evidence: "Middleware logs show redirect loop, user object missing 'verified' field."
Phase 3 - Fix:
Fixing: Add 'verified: true' to user object after successful login Why: Root cause is missing field, not redirect logic Risk: Low - only affects login success path
Phase 4 - Verify:
VERIFIED:
- Logged in with test user → redirected to /dashboard ✓
- No redirect loop in network tab ✓
- Middleware logs show single redirect ✓
- Existing tests pass ✓
Converted and distributed by TomeVault — claim your Tome and manage your conversions.