From vibe-recipe
/vr:fix 호출 시 사용합니다. 실패를 진단하고 잘못된 가정을 의심하며, 코드를 수정하거나 spec 변경으로 escalation합니다.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vibe-recipe:fixThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
동작이 깨졌거나 test가 실패하거나 production symptom이 보고되거나 review/release gate에서 blocker가 발견됐을 때 사용합니다.
동작이 깨졌거나 test가 실패하거나 production symptom이 보고되거나 review/release gate에서 blocker가 발견됐을 때 사용합니다.
fix는 실패 원인을 좁히고 최소 수정으로 회귀를 막는 execution/support skill입니다. 새 기능 scope를 추가하지 않고, spec이 틀렸거나 제품 결정이 필요한 경우에는 recipe로 되돌립니다.
verify, production symptom, review blocker, release gate failure 중 하나가 있습니다..agent/runbooks/debugging.md, .agent/runbooks/verification.md, .agent/commands.json을 확인했습니다.git status --short로 작업 트리를 확인했고, 관련 없는 사용자 변경을 되돌리지 않습니다.fix를 실행하지 않습니다. 단, 사용자가 emergency debug mode를 명시하고 증상 재현이 필요한 경우에는 읽기와 최소 재현까지만 먼저 진행할 수 있습니다.spec이 항상 옳다고 가정하지 않습니다. 실패 원인이 구현, test 기대값, 환경, 요구사항 중 어디에 있는지 먼저 판단합니다.
한 번에 많은 코드를 고치지 않습니다. 재현 가능한 증거, root cause, 가장 작은 수정, regression coverage가 연결되어야 합니다.
| 분류 | 의미 | 다음 행동 |
|---|---|---|
code defect | 승인된 spec과 test가 맞고 구현이 틀렸습니다. | 최소 코드 수정과 regression coverage를 추가합니다. |
test expectation | 구현은 spec에 맞지만 test가 잘못된 기대값을 검증합니다. | test를 고치되 spec 근거를 handoff에 남깁니다. |
environment/tooling | 의존성, command, fixture, local setup, flaky 외부 조건 문제입니다. | command/profile/runbook 수정 필요 여부를 분리합니다. |
spec mismatch | acceptance criteria나 제품 의도가 실제 요구와 맞지 않습니다. | 코드를 고치지 않고 recipe로 escalation합니다. |
human-gated decision | auth/payment/data-loss/release/deploy/push 결정이 필요합니다. | 변경을 멈추고 사용자 승인을 요청합니다. |
code defect, test expectation, environment/tooling, spec mismatch, human-gated decision 중 하나로 분류합니다.test, e2e, 가능한 verify 순서로 확인합니다.Fix Summary로 남깁니다..agent/runbooks/debugging.md, .agent/runbooks/verification.md, .agent/memory/gotchas.md 보강. 반복 실패나 환경 함정이 확인된 경우에만 사용합니다.recipe로 넘깁니다. 단, handoff에는 어떤 acceptance가 왜 틀렸는지 증거를 남깁니다.tester: 재현 test, focused command, e2e/manual check 판단이 필요할 때 사용합니다.implementor: root cause가 확인된 뒤 최소 코드 수정이 분리 가능한 경우에만 사용합니다.security-auditor: auth, secret, injection, unsafe IO, dependency, data-loss 위험이 실패 원인에 포함될 때 사용합니다.subagent에는 증상, 재현 command, 관련 spec, 실패 로그 경로, write scope, 금지 작업을 명시합니다. 원인이 확인되기 전에는 구현을 위임하지 않습니다.
| 상황 | 다음 skill |
|---|---|
| spec/acceptance/product decision이 틀렸거나 비어 있음 | recipe |
| 승인된 task가 남았고 실패가 미완성 구현 때문임 | cook |
| 동작 변경 없이 boundary, naming, 구조 정리가 필요함 | tidy |
| version/changelog/release prep 불일치가 원인임 | wrap |
| 수정 후 acceptance와 regression 검수가 필요함 | taste |
권장 경로는 .agent/spec/handoffs/NNNN-fix.md입니다. spec과 연결되지 않은 emergency debug라면 최종 응답에 같은 형식을 남기고, 이후 recipe가 필요하면 그렇게 추천합니다.
# Fix Summary: NNNN <slug>
Status: fixed / blocked / escalated
## Symptom
- Reported:
- Repro command:
- Failing evidence:
## Diagnosis
- Classification: code defect / test expectation / environment/tooling / spec mismatch / human-gated decision
- Root cause:
- Affected contract:
## Change
- Changed files:
- Regression coverage:
## Verification
- Focused:
- Test:
- E2E/manual:
- Verify:
## Risks
- Remaining risk:
- Not fixed:
- Next skill:
taste, recipe, cook, tidy, wrap 중 하나로 분명합니다.spec과 연결된 작업이면 fix/NNNN-slug branch를 사용합니다. commit prefix는 fix:이고 필수 Refs: footer를 포함합니다.
Emergency debug에서 spec이 아직 없으면 branch와 commit을 만들기 전에 recipe가 필요한지 먼저 판단합니다. 자동 push는 하지 않습니다.
npx claudepluginhub pj4316/vibe-recipe --plugin vibe-recipeCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.