From dlaw
Analyze code for simplification opportunities. Use when user says "simplify", "reduce complexity", "clean up code", "remove duplication", "too complicated", or wants to reduce technical debt.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dlaw:simplifyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Find and apply simplification opportunities in the codebase or a specific area.
Find and apply simplification opportunities in the codebase or a specific area.
superpowers:requesting-code-review after changes to verify qualityUser: /simplify the secmaster sync code
Claude: Analyzing ssmd/internal/secmaster/...
Found 3 opportunities:
1. bulkUpsertEvents and bulkUpsertMarkets share 80% identical batching logic - extract shared batchInsert helper
2. Dead code: unused formatMarketName function (removed in refactor but never deleted)
3. Three separate error-wrapping patterns - standardize on one
User: /simplify
Claude: What area should I focus on? (specific files, a module, or the whole project?)
npx claudepluginhub aaronwald/dlawskillz --plugin dlawRefactors code by removing dead code, extracting duplication, and simplifying deep nesting while preserving behavior. Runs tests before and after to confirm nothing breaks.
Simplifies code for clarity by reducing complexity while preserving exact behavior. Use when refactoring functional but hard-to-read code, during reviews, or for maintenance.
Analyzes and simplifies existing implementations to reduce complexity, improve maintainability, and enhance scalability. Use when users ask to simplify code, reduce complexity, refactor for readability, or reduce technical debt.