refactor-simplify
Perform behavior-preserving simplification and cleanup after green tests.
소스 정보
- 저장소
- sunpar/agentic_development
- 최근 소스 활동
- 2026년 5월 22일 15:56
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- refactor-simplify
- description
- Perform behavior-preserving simplification and cleanup after green tests.
# Refactor Simplify
## Trigger
Use when requested refactor is readability/DRY/removal of repeated abstraction.
## Inputs
- Task/task set and green baseline test evidence.
## Outputs
- Refactored code with no behavior regression.
- Updated/added characterization tests if necessary.
## Procedure
1. Confirm baseline is green.
2. Identify duplicate abstractions, verbose wrappers, and repeated boilerplate.
3. Refactor only local scope.
4. Keep public behavior unchanged.
## Guardrails
- No behavior change unless explicitly requested.
- Preserve API/shape.
## Success criteria
- Equivalent behavior verified by rerun of baseline suite.
## Prefer Superpowers
- Use `refactor` patterns only and ask `writing-plans` only when scope is large.
## Avoid scope creep
- Do not introduce new architecture in simplification pass.
GitHub에서 보기