Loading...
Loading...
Found 39 Skills
Simplify and refactor code for clarity, consistency, and maintainability while preserving exact behavior. Use when code was just added or modified and needs readability-focused cleanup without changing outputs, side effects, or external interfaces.
This skill should be used when the user asks to "simplify code", "clean up code", "refactor for clarity", "reduce complexity", "improve readability", "make this easier to maintain", or asks to simplify recently modified code.
Simplify and refine PHP/Laravel code for clarity and maintainability without changing behavior.
REFACTOR
Simplify and refine code for clarity, consistency, and maintainability
Code simplification for clarity and maintainability. Use PROACTIVELY after code is written or modified to refine recently changed files.
TDD-based code simplification that preserves behavior through tests. Use Red-Green-Refactor cycles to simplify code one test-verified change at a time. **DISTINCT FROM**: General code review or AI rewriting—this skill requires existing tests and only proceeds when tests confirm behavior is preserved. **PROACTIVE**: Auto-invoke when test-covered code has complexity (functions >50 lines, high cyclomatic complexity, duplication) and user wants to simplify it safely. Trigger phrases: 'clean up code', 'make code simpler', 'reduce complexity', 'refactoring help'. **NOT FOR**: Adding features or fixing bugs—use /tdd skill instead.
The Essentialist. Ruthlessly simplifying code, removing dead features, and enforcing Clean Architecture.
Simplify code and remove legacy/backcompat shims while preserving behavior. Use when asked to clean up or simplify code.
Refactor code after tests pass. The "Refactor" phase of Red-Green-Refactor.
Make an existing change more concise without altering behavior. Use when asked to simplify or reduce a diff.
Simplify and refine code for clarity, consistency, and maintainability. Use after writing or modifying code to clean it up while preserving all functionality.