Agent skill
code-simplifier
Refactors for readability after verification is green, re-running checks and updating 20_verification.md.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/code-simplifier
SKILL.md
code-simplifier
When to use
Use this skill when asked to:
- clean up, simplify, refactor, or make more readable
- reduce duplication / improve naming / reorganize code
- improve maintainability without changing observable behavior
Rules
- Only refactor after verification is green for the current task.
- Preserve behavior: no semantic changes, no API changes unless explicitly requested.
- Keep diffs small and reviewable.
- Avoid introducing new dependencies unless explicitly approved.
- Follow
AGENTS.mdand the task handoff protocol intasks/.
Method
- Confirm the latest
tasks/<date>_<slug>/20_verification.mdis green. - Apply a small, focused refactor.
- Re-run the same checks used by the Verifier.
- Append a rerun transcript and summary to
20_verification.md.
Output requirements
- Summarize what was simplified and why.
- Update
20_verification.mdwith the rerun transcript.
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?