simplify
/simplify
Reviews recently changed code for reuse, simplification and efficiency, then applies behavior-preserving cleanups and verifies them. Quality only, not a bug hunt. Use when the user asks («упрости», «почисти код», «отрефакторь», /simplify). Not on your own unless the user granted full access, because it changes code beyond the request; after a large change you may offer it in one line.
- Author
- stxrmik ↗
- Repository
- antigravity-plus ↗
- Licence
- MIT
- Last repository change
- 12.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Reviews recently changed code for reuse, simplification and efficiency, then applies behavior-preserving cleanups and verifies them. Quality only, not a bug hunt. Use when the user asks («упрости», «почисти код», «отрефакторь», /simplify). Not on your own unless the user granted full access, because it changes code beyond the request; after a large change you may offer it in one line.
Original author description
Reviews recently changed code for reuse, simplification and efficiency, then applies behavior-preserving cleanups and verifies them. Quality only, not a bug hunt. Use when the user asks («упрости», «почисти код», «отрефакторь», /simplify). Not on your own unless the user granted full access, because it changes code beyond the request; after a large change you may offer it in one line.
How it works
- 1. Scope
- 2. Look for (in the changed hunks only)
- 3. Apply
- 4. Verify
- 5. Report (in the user's language)
SKILL.md preview
--- name: simplify description: >- Reviews recently changed code for reuse, simplification and efficiency, then applies behavior-preserving cleanups and verifies them. Quality only, not a bug hunt. Use when the user asks («упрости», «почисти код», «отрефакторь», /simplify). Not on your own unless the user granted full access, because it changes code beyond the request; after a large change you may offer it in one line. --- # /simplify — clean up the changed code > **Only on the user's request, or under full access:** the command, the same request in their own words, or full access the user granted (rules: "Full access"). Otherwise, if you got here on your own, don't run it; offer it to the user in one line instead. Invoking this skill is permission to **edit** the changed code (not unrelated code). Add `--dry` / "только покажи" → report the proposals without editing. ## 1. Scope Default: uncommitted changes (`bash <skill_dir>/../commit/scripts/git_context.sh review`); "branch" → `… review branch`; explicit paths → those files. Empty diff → say so and stop. ## 2. Look for (in the changed hunks only) - **Reuse:** logic that duplicates an existing helper/util/component in the repo — search for it (`rg -n '<distinctive name or call>'`, or delegate a broad search to the `explorer` subagent) and use the existing one. Duplication *within* the diff → extract only if it appears 3+ times. - **Simplification:** needless indirection, wrappers that only forward, flags/params nobody passes, deep nesting that early returns flatten, re-implemented stdlib/framework features, dead branches, commented-out code, unused imports/vars, over-general abstractions with one caller. - **Efficiency:** repeated work in loops, N+1 queries, quadratic searches over lists that should be sets/maps, re-reading files or re-computing values that are already available. - **Altitude:** code doing work at the wrong layer (e.g. formatting in data access, business rules in UI handlers) when the fix is small and local. Skip: style nits a formatter would handle, renames for taste, anything that changes behavior or a public API, and code outside the diff. ## 3. Apply Make each change minimal and behavior-preserving; match the surrounding style. Keep a list of what you changed and why. ## 4. Verify Run the project's relevant checks (tests for touched modules, type-check, lint — find the real commands in `AGENTS.md` / manifests). If something fails because of a cleanup, fix or revert that cleanup. ## 5. Report (in the user's language) Bullets grouped by Reuse / Simplification / Efficiency, each with a `file:line` link and one-line reason; then how it was verified; then proposals you deliberately skipped (risky or out of scope).
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · stxrmik/antigravity-plus | 90 | MIT |
| qwenlm/qwen-code | 100 | Apache-2.0 |
| fcakyon/claude-codex-settings | 100 | Apache-2.0 |
| gosuda/dalcom-skills | 100 | Apache-2.0 |
| x-cmd/x-cmd | 100 | Apache-2.0 |
| ahgraber/skills | 100 | CC0-1.0 |
| Ovich/charrette | 100 | MIT |
| maquina-app/rails-claude-code | 100 | MIT |
| mo-cmyk/mazarbul | 100 | Apache-2.0 |
Database snapshot: 13.11.2026 · package version 9124f7292565 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100code-simplify
Use when code needs simplification — recently modified code by default, or a specified scope. - 100simplify-code
Use to simplify recently modified code and human-facing docs while preserving behavior and stated facts. - 100code-simplifier
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Analyzes recently modified code across three dimensions - code reuse, code quality, and efficiency - and provides actionable improvement suggestions. This skill should… - 100claude-simplify
Review changed code for reuse, quality, and efficiency, then fix the issues found by launching three parallel review agents (reuse, quality, efficiency) over the diff. Use after completing a feature or bugfix, before committing or opening a PR, or whenever the user asks to… - 100arn-code-simplify
This skill should be used when the user says "simplify", "arness code simplify", "simplify code", "code simplification", "clean up code", "reduce complexity", "remove duplication", "check for reuse", "find duplicates", "optimize code", "efficiency review", "simplify… - 90subagent-review
Review changed code for reuse, quality, and efficiency using three parallel disposable subagents. This skill should be used when the user says "review", "simplify", "code review", or wants a one-shot code review without persistent reviewers.