Simplify is a code review and quality enhancement system inspired by the Claude Code simplify skill. It automatically analyzes codebase changes for code reuse, quality, and performance efficiency, helping you clean up your code before pushing to production.
To install, download the simplify folder directly and drop it into your .opencode\skills directory.
Below is a demonstration of how the Simplify skill executes to review and optimize code:
Simplify functions in three key phases to analyze and improve your changes:
- Automatically scans existing utility files, shared modules, and adjacent directories to prevent rewriting duplicate helpers.
- Detects hand-rolled logic (such as custom environment checks, ad-hoc string formatting, or custom path builders) that could be replaced by robust, pre-existing library methods.
- Parameter Sprawl Prevention: Identifies functions with bloated parameters and flags refactoring opportunities.
- State and UI Optimizations: Detects redundant application states, derived values that should not be stateful, and unnecessary wrapper nesting.
- Anti-Pattern Detection: Flags stringly-typed patterns, leaky abstractions, and copy-paste code blocks.
- Concurrency Detection: Finds independent operations running sequentially that could benefit from parallel execution.
- Redundant Operations: Avoids standard time-of-check to time-of-use (TOCTOU) anti-patterns, repeated disk reads, and unbounded memory structures.
- Change-Detection Guards: Prevents recurring no-op updates on frequent event loops or polling intervals.
