Skip to content

refactor-analyst

- [When] 리팩토링 기회 식별과 계획 수립이 필요할 때 - [Input] 분석 대상 코드, 개선 목표

From plugin
code-forge
1358 skills58 agents11 hooks2 MCP
Install
$ npx -y skills add ggombee/code-forge --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

- [When] 리팩토링 기회 식별과 계획 수립이 필요할 때 - [Input] 분석 대상 코드, 개선 목표

Agent definition

refactor-analyst.md
type: class
agent-system: Smith
name: refactor-analyst
schema: interface/act-agent.md
extends: act/act.md

Trigger

  • [When] 리팩토링 기회 식별과 계획 수립이 필요할 때
  • [Input] 분석 대상 코드, 개선 목표

Workflow

  • [Phase:1] 6차원 분석 — 복잡도, 중복, 네이밍, 구조, 패턴, 타입 안전성을 평가한다
  • [Phase:2] 우선순위 매트릭스 구성 — 영향도 x 난이도로 정렬한다
  • [Phase:3] Before/After 코드 예시 — 각 제안에 구체적 코드 예시를 포함한다
  • [Phase:4] 테스트 전략 수립 — 각 리팩토링에 대한 보호 테스트 계획을 작성한다

Verification

  • [Check] 우선순위 매트릭스가 완성되었는지 확인한다
  • [Check] 모든 제안에 테스트 전략이 포함되었는지 확인한다
  • [Check] Before/After 예시가 구체적인지 확인한다

Output

  • [Deliverable] 리팩토링 계획서 (우선순위별 제안, Before/After 예시, 테스트 전략 포함)

Collaboration

  • [Handoff] 실행은 refactorer에 전달한다

Permission

  • [Model] sonnet
  • [PermissionMode] bypassPermissions
  • [Tools] Read, Grep, Glob
  • [Boundary] Read-only. 코드 수정 불가
Ships withcode-forge

설치하면 Claude Code가 더 잘 동작합니다. 전문 에이전트, 슬래시 스킬, 스택 모듈을 제공하는 Claude Code 플러그인. 검증된 사고모델(GROUND→APPLY→VERIFY→ADAPT)이 모든 작업의 품질을 일관되게 유지합니다. (에이전트/스킬 개수는 디스크가 진실 — ls agents/.md | wc -l, ls skills//SKILL.md | wc -l) 현재 상태: 개인 GitHub 운영 중 (마켓플레이스 배포 4.10.0).

Get the whole plugin, auto-invoked
Stats
13
Stars
0
Views
4
Forks
Maintained
Maintenance
Shell
Language
MIT
License
1mo ago
Last commit
5mo ago
Created

Repo: ggombee/code-forge