Guide for creating optimized Claude Code agents. Use to design a new specialized agent, a swarm sub-agent, or a multi-agent workflow. Follows the Skill → Agent (preloaded skills) → Skill orchestration pattern.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Guide for large-scale refactorings with Mikado and Strangler Fig. Use for architecture migration, library replacement, module splitting, or pattern changes. Maintains a Mikado graph to track dependencies.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Read .claude/roles/senior-dev.md — adopt this profile and follow all its rules.
This skill activates for refactorings that exceed a TDD cycle scope:
| Criterion | Mikado | Strangler Fig |
|---|---|---|
| Old code stays functional during | No | Yes |
| Need to deliver incrementally | Difficult | Ideal |
| Complex dependencies to untangle | Ideal | Possible |
| Complete replacement of a system | Possible | Ideal |
Ask the user which method to use if it's not obvious.
MIKADO - Initialization
Main goal: [description]
Graph file: docs/mikado/[name]-graph.md
I will create the tracking file.
Shall we begin?
Create the graph file:
# Mikado Graph: [Goal]
## Status: IN PROGRESS
## Main goal
- [ ] [Goal description]
## Discovered prerequisites
(Fills in as attempts are made)
## Attempt history
(Log of attempts and discoveries)
MIKADO - Attempt
I will try: [goal or prerequisite]
Expected: [what should break]
Shall we try?
After validation:
yarn test:rungit checkout .MIKADO - Analysis
Attempt: [what we tried]
Result: [success / failure]
Errors encountered:
- [error 1] -> Prerequisite: [required action]
- [error 2] -> Prerequisite: [required action]
I'm updating the graph.
Which prerequisite do we tackle first?
When a prerequisite has no dependencies:
MIKADO - Implementation
Prerequisite to implement: [description]
This is a leaf of the graph (no dependencies).
-> Activating the TDD skill for proper implementation.
Switch to the TDD skill to implement the prerequisite with RED-GREEN-REFACTOR.
After each implementation:
MIKADO - Validation
Prerequisite completed: [description]
Updating the graph: done
Next action:
- [ ] [Another leaf to process]
- [ ] [Retry a parent goal]
What do we continue with?
STRANGLER - Planning
Old system: [description]
New system: [description]
Entry points to migrate:
1. [point 1]
2. [point 2]
...
I'm creating the tracking file: docs/strangler/[name]-migration.md
Which entry point do we start with?
Create the tracking file:
# Strangler Migration: [Name]
## Status: IN PROGRESS
## Old system
- Location: [path]
- Entry points: [list]
## New system
- Location: [path]
- Migrated entry points: 0/[total]
## Migration plan
| Entry point | Status | Date |
|-------------|--------|------|
| [point 1] | Pending | - |
| [point 2] | Pending | - |
## Old system removal checklist
- [ ] All entry points migrated
- [ ] No references to old code
- [ ] Old system tests removed/migrated
- [ ] Old code deleted
STRANGLER - New system
I will create the new implementation for: [entry point]
Location: [path]
-> Activating the TDD skill for proper implementation.
Switch to the TDD skill to create the new implementation.
STRANGLER - Migration
Entry point: [description]
Old: [code/path]
New: [code/path]
Migration plan:
1. [step 1]
2. [step 2]
Shall we migrate?
STRANGLER - Verification
Migration completed: [entry point]
Checklist:
- [ ] Tests pass
- [ ] Old code still functional (if other dependencies exist)
- [ ] New code used by [consumers]
Updating the tracking file.
Next entry point?
When all entry points are migrated:
STRANGLER - Removal
All entry points have been migrated!
Old code to remove:
- [file 1]
- [file 2]
Tests to remove/migrate:
- [test 1]
Shall we clean up?
Every time we need to implement code (Mikado prerequisite or new Strangler system), we switch to the TDD skill:
-> This prerequisite requires code.
-> Activating the TDD skill to implement with RED-GREEN-REFACTOR.
-> Returning to the Refactoring skill once complete.
Graphs and plans are stored in:
docs/
├── mikado/
│ └── [name]-graph.md
└── strangler/
└── [name]-migration.md
These files serve as living documentation and allow resuming an interrupted refactoring.
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Guide for creating optimized Claude Code agents. Use to design a new specialized agent, a swarm sub-agent, or a multi-agent workflow. Follows the Skill → Agent (preloaded skills) → Skill orchestration pattern.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Anti-overengineering guide based on YAGNI. Use before adding an architectural pattern, during code review, or to challenge an overly complex implementation.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Clean Architecture (Uncle Bob) guide for this project. Use when creating modules, entities, use cases, presenters, controllers, gateways, guards, services. Contains tactical patterns and structure conventions.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Audit documentation for duplication, staleness, language issues, and verbosity. Read-only — produces an actionable report.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Local auto-review of modified code (no GitLab/GitHub). Runs 5 sequential audits and generates a local report. Ideal for validating code before creating a MR/PR.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Clean Code (Robert C. Martin) guide to produce and challenge code that is readable, durable, simple, and consistent. Covers naming, functions, comments, smells, and refactor heuristics. Complements `/solid` (SOLID principles) and `/anti-overengineering` (YAGNI/KISS). Activate during the REFACTOR phase of the TDD cycle and during implementation self-review.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.