From vibe-recipe
/vr:tidy 호출 시 사용합니다. 동작 변경 없이 구조를 개선하고 test로 동등성을 증명합니다. improve codebase architecture 요청은 shallow module을 줄이고 deep module boundary를 만드는 작업으로 처리합니다.
npx claudepluginhub pj4316/vibe-recipe --plugin vibe-recipeThis skill uses the workspace's default tool permissions.
구조 개선, naming 정리, module boundary 개선, improve codebase architecture, 성능 중립적 단순화, design-system migration에 사용합니다.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
구조 개선, naming 정리, module boundary 개선, improve codebase architecture, 성능 중립적 단순화, design-system migration에 사용합니다.
tidy는 동작 변경 없는 refactor skill입니다. 목적은 기능을 추가하지 않고, 기존 behavior를 보존한다는 증거를 남기면서 shallow module과 흐트러진 boundary를 더 깊고 응집도 높은 module로 정리하는 것입니다.
git status --short로 작업 트리를 확인했고, 관련 없는 사용자 변경을 되돌리지 않습니다.tidy가 아니라 recipe 또는 cook으로 라우팅합니다.| Scope | 허용 여부 | 처리 |
|---|---|---|
| naming, module boundary, duplicate policy consolidation | 허용 | 동등성 검증과 함께 변경 |
| shallow wrapper 제거, deep module extraction | 허용 | 호출부 interface가 더 단순해지는지 확인 |
| design-system migration | 조건부 허용 | token/pattern 결정은 recipe, 코드 이관은 tidy |
| performance-neutral simplification | 허용 | behavior와 complexity risk를 함께 확인 |
| feature addition, acceptance 변경 | 금지 | recipe/cook으로 escalation |
| schema/data migration, public contract 변경 | 금지 | 별도 spec과 human gate 필요 |
.agent/spec/design.md, ADR, design-system 문서를 갱신합니다.tidy는 변경 전후가 같은 동작임을 설명해야 합니다.
tidy가 아니라 recipe 또는 cook으로 라우팅합니다.implementor: write scope가 작고 root behavior가 characterization된 refactor slice를 맡길 때 사용합니다.tester: 동등성 검증 방법, focused command, UI/manual check 판단이 필요할 때 사용합니다.reviewer: architecture boundary, public interface, local convention 위험을 read-only로 확인할 때 사용합니다.worker에게는 다른 작업자가 있을 수 있고, 관련 없는 변경이나 다른 worker의 변경을 되돌리지 말라고 명시합니다.
| 상황 | 다음 skill |
|---|---|
| behavior 또는 acceptance 변경이 필요함 | recipe |
| 승인된 feature task 구현이 필요함 | cook |
| refactor 중 regression/failing test 발생 | fix |
| design token/pattern 결정이 필요함 | recipe |
| architecture decision이 되돌리기 어렵고 tradeoff가 큼 | forage |
| refactor 후 검수가 필요함 | taste |
권장 경로는 .agent/spec/handoffs/NNNN-tidy.md입니다.
# Tidy Summary: NNNN <slug>
Status: done / blocked / escalated
## Scope
- Refactor goal:
- Non-behavior-change boundary:
- Changed files:
## Equivalence
- Before check:
- After check:
- Manual check:
## Architecture
- Shallow module removed:
- Deep module/interface:
- Convention/design docs updated:
## Risks
- Remaining risk:
- Follow-up:
- Next skill:
verify를 실행했습니다.taste, fix, recipe 중 하나로 분명합니다.spec과 연결된 작업이면 refactor/NNNN-slug branch를 사용합니다. commit prefix는 refactor:이고 필수 Refs: footer를 포함합니다.