Agent skill
simplify
ruthlessly simplify systems (delete first, DRY, SSOT, leverage libraries)
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/simplify-ianwatts22-codex-config
SKILL.md
Our code should be as simple as possible. Default to deleting and centralizing.
Core Moves
- Question requirements first: what can we remove or narrow?
- Delete unused code, obsolete flags, dead paths, and premature abstractions.
- Enforce SSOT: business rules, validation, enums, constants live in one place.
- DRY duplicated logic: extract shared helpers/components only when it genuinely reduces complexity.
- Prefer established libraries over custom boilerplate.
Practical Commands (When Useful)
scc . --include-ext ts,tsx --by-file(hotspots by size/complexity)codefetch(if installed; convert code into markdown for review)knip(dead code / unused exports)jscpd(duplication; scope with--patternto avoid noise, e.g.components/**/*.tsx)rg(fast, precise code search)
Recurring Pain Points (Watch For)
useEffectthat’s doing non-external sync work (often removable)- See
~/.config/docs/React/ReactEffectsGuide.md
- See
Output Format
- What to delete (highest leverage first)
- What to consolidate into SSOT
- What to replace with a library (if any)
- Minimal migration steps
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?