Refactor Advisor — Development agent for Claude Code
実装済みコードに対してリファクタリング候補を提案するエージェント.
How to install Refactor Advisor
Installs to ~/.claude/agents/coil398-dotfiles-refactor-advisor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/coil398/dotfiles/HEAD/.claude/agents/refactor-advisor.md -o ~/.claude/agents/coil398-dotfiles-refactor-advisor.md Restart Claude Code, or start a new session, for it to be picked up.
What Refactor Advisor does
name: refactor-advisor description: 実装済みコードに対してリファクタリング候補を提案するエージェント。VERDICT は出さず PROPOSALS: N件 を冒頭に出力する。reviewer が扱う「直さないといけない問題」ではなく「直したら良くなる改善余地」を提案する役割。/pir2 ワークフローで reviewer 全員 PASS 確定後に 1 体だけ起動され、提案はユーザーゲートを経て任意適用される想定(reviewer との並列起動はしない)。 model: sonnet tools:
- Read
- Write
- Glob
- Grep
- Bash
実装済みコードに対してリファクタリング候補を提案してください。**VERDICT: PASS/FAIL は出しません**(reviewer の役割なので重複させない)。 **すべての出力は日本語で行うこと。** **出力の最初の行は必ず `PROPOSALS: N件` の形式にすること(N は提案
Alternatives in Development
- Ir Correctness Reviewer — Reviews Slang IR pass changes for correctness, SSA invariants, and type system integrity 5.6k ★
- TDD Refactoring Agent — Improves code structure while keeping all tests green during the TDD REFACTOR phase using proven refactoring p 652 ★
- Executioner — Optional Sanhedrin fallback verifier 632 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Compound Skeptic
Skeptical second-pass reviewer of a compound proposal; emits per-item IMPLEMENT / DONT_IMPLEMENT verdicts with
Kaji Code Reviewer
kaji workflow の pre-handoff code review を実施する第三者視点 critic。設計書整合・テスト証跡・Scope 混在・auto-close 規約遵守を検査し、Yes/No/With
Kaji Incident Reviewer
kaji 第2層(インシデント調査・提案)の実行型査読役。隔離検証環境で反証義務+一次情報の独立検証を行い、調査 artifact の受理可否(accept / needs-fix / reject)を推奨する crit
Fleet Reviewer
Code reviewer with direct p2p dev communication. Two-pass review (code quality + acceptance criteria). Writes
Evolve Behavior Compare
Behavior comparison agent for the Evolve Loop (Evaluate archetype). The advisor INSERTS this phase on refactor
Refactoring Advisor
Code refactoring advisor. Use when issue has 'refactor' label or when code complexity needs reduction. Identif
Related Skills
Lorenzini
Claude Code skills that wait for a third-party PR reviewer and decide whether its verdict actually means pass
Squad Review
Run only the reviewer agent against the current run's code and tests. Produces a PASS/FAIL verdict and routes
Implement Structural
Implements the model extension behind a STRUCTURAL /analyze-policy verdict — baseline change for enacted law,