Agent skill
refactor-scope-session
[Code Quality] Defines clear boundaries and goals for a refactoring session. Use to establish what WILL and WILL NOT change, set success criteria, and create a focused refactoring scope.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/refactor-scope-session
SKILL.md
Refactor: Scope Session
Define precise boundaries for a refactoring cycle.
Scoping Checklist
1. Goals Definition
- What specific improvement are we targeting?
- What metrics will improve?
2. Boundaries (IN Scope)
- Which files/modules will be touched?
- What types of changes are allowed?
3. Boundaries (OUT of Scope)
- Which areas must NOT change?
- What behaviors must remain identical?
4. Success Criteria
- How do we know refactoring succeeded?
- What tests must pass?
Principles
- Smaller is safer
- One goal per session
- Define done upfront
- Preserve behavior
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?