skills/dev-simplify/SKILL.md
Use when code feels over-engineered, before refactoring, or as a cleanup step after implementation. Identifies and removes unnecessary complexity in the codebase.
npx skillsauth add paulund/skills dev-simplifyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
hitl issue if the gap is too large.git add -A && git commit -m "simplify: <summary>" && git push.platform === 'x' (or any string-literal discriminator) appears 3+ times across a file, replace with a per-key config object mapping to the varying behaviour. See ADR 003 — Design Patterns.as unknown as X is a code smell; fix the interface boundary (add an optional method, or a type guard) instead. See ADR 003 — Design Patterns.src/lib/services/<domain>/<verb>.ts.| File | When to load |
|------|-------------|
| references/architecture-rules.md | When evaluating whether a boundary or abstraction is justified |
| references/language.md | When writing simplification proposals or documentation |
development
Use when implementing any logic, fixing any bug, or changing any behaviour. Use when you need to prove code works, when a bug report arrives, or when modifying existing functionality. Do NOT use for config changes, data migrations, or dependency updates.
development
Use when starting a new feature, when requirements are unclear, when asked to write code without a clear spec, or before any non-trivial implementation. Do NOT use for trivial bug fixes or one-line changes.
development
Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters. Detects the stack from dependency files, fetches official documentation, implements following documented patterns, and cites sources for every framework-specific decision.
development
Use when preparing to ship a feature, release, or deployment. Use before merging to main, creating a release, or deploying to production. Do NOT use for CI-only changes or internal refactors that don't reach production.