simplify
SolidSimplify recently changed code — inline one-off abstractions, remove speculative code, reduce nesting, replace cleverness with clarity. Use only on explicit request or PR-review remediation.
AI & Automation 494 stars
68 forks Updated today AGPL-3.0
Install
Quality Score: 87/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Simplify
Post-implementation simplification pass. Review recently changed code and actively simplify it while preserving all behavior.
## Planner Entry
Run `/simplify` only on explicit request or when an actionable PR finding calls
for it. It is not a default post-implementation or pre-PR pass.
The best code is code you don't have to write. The second best is code anyone can read.
## Steps
### 1. Identify what to simplify
Run `git diff --name-only` (or `git diff origin/<base>...HEAD --name-only` for a branch) to get the changed files. Read each one.
### 2. Apply simplifications
Work through each changed file. Preserve behavior by inspection; defer broad
test suites, lint, typecheck, and full verification until after this pass.
Report any verification concerns and the focused task check to run next.
**Inline one-off abstractions:**
- Helper functions with a single call site — inline them
- Wrapper types that add no behavior — remove the wrapper
- Interfaces with a single implementation and no test mock — remove the interface
**Remove speculative code:**
- Unused function parameters or return values
- Config options that are parsed but never read
- "Reserved for future" scaffolding, empty extension points
- Feature flags with no toggle mechanism
**Reduce nesting:**
- Replace nested if/else with early returns (guard clauses)
- Replace nested ternaries with if/else or switch
- Extract deeply nested blocks into named functions
**Replace cleverness with clarity:**
- ...
Details
- Author
- kdlbs
- Repository
- kdlbs/kandev
- Created
- 6 months ago
- Last Updated
- today
- Language
- Go
- License
- AGPL-3.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
code-simplifier
Use when user asks to simplify, clean up, or refactor recently modified code for readability, consistency, or maintainability without changing behavior, especially after implementation and before broader review.
5 Updated 3 days ago
ValorVie AI & Automation Solid
code-simplification
Refactor code to reduce complexity and duplication without changing behavior.
125 Updated today
HybridAIOne AI & Automation Listed
simplify
Simplify and refine recently modified code for clarity and consistency. Use after writing code to improve readability without changing functionality.
1 Updated today
Firzus