Agent skill
refactor-risk-assess
[Code Quality] Evaluates risk level of proposed refactoring changes. Use to assess dependencies, blast radius, rollback difficulty, and determine if changes are safe to proceed.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/refactor-risk-assess
SKILL.md
Refactor: Risk Assessment
Evaluate and mitigate risks before executing changes.
Risk Dimensions
1. Blast Radius
| Level | Description | Example |
|---|---|---|
| LOW | Single file, private methods | Rename local variable |
| MEDIUM | Multiple files, internal APIs | Extract helper class |
| HIGH | Public APIs, many dependents | Change interface signature |
2. Reversibility
| Level | Description |
|---|---|
| LOW RISK | Git revert fixes everything |
| MEDIUM | Requires coordinated rollback |
| HIGH | Data migration, external deps |
3. Test Coverage
| Coverage | Risk Impact |
|---|---|
| > 80% | Safe to proceed |
| 50-80% | Add tests first |
| < 50% | HIGH RISK |
Go/No-Go Criteria
PROCEED if: Test coverage adequate, Blast radius understood, Rollback plan exists BLOCK if: Critical path no tests, Public API change without review
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?