simplify

Reviews the current diff and applies narrow behavior-preserving code cleanup.

Updated Jul 17, 2026
One-click install
npx skills add https://github.com/guneysol/agent-configs --skill simplify-guneysol
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: simplify
Source: https://github.com/guneysol/agent-configs/tree/main/agents/skills/simplify
Command: npx skills add https://github.com/guneysol/agent-configs --skill simplify-guneysol

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Recent code changes often accumulate duplication, redundant state, and structural complexity during rapid iteration. This Skill reviews the current diff and applies focused, behavior-preserving cleanup so recent changes stay maintainable without subjective churn. ## Core Features & Use Cases - Reuse Review: Detects duplicated new logic and identifies existing helpers, utilities, and primitives that should be reused instead. - Quality Review: Flags redundant state, parameter sprawl, copy-paste variants, leaky abstractions, stringly typed code, deep nesting, and comments that narrate obvious behavior. - Efficiency Review: Catches repeated work or I/O, missed safe concurrency, hot-path bloat, no-op updates, unbounded structures, and overly broad reads. - Use Case: After finishing a feature branch, ask for a simplification pass on the diff to remove duplicated helper logic and redundant state before opening a pull request. ## Quick Start Ask the assistant to simplify the current diff, optionally naming a specific path to restrict the review scope.

Frequently Asked Questions about simplify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean up a code diff before a pull request?▼

Run a simplification pass over the current diff that checks reuse, quality, and efficiency in one focused review. It applies only clear, scoped improvements that preserve behavior and skips subjective churn.

What kinds of code issues does a simplification review catch?▼

It catches duplicated logic, redundant state, parameter sprawl, copy-paste variants, leaky abstractions, deep nesting, repeated I/O, no-op updates, and unbounded data structures. The review covers reuse, quality, and efficiency concerns.

Can I limit the cleanup to specific files or directories?▼

Yes, the review is restricted to a supplied path when one is provided. If there is no diff at all, only files explicitly named in the conversation are examined.

Does the simplification pass change code behavior?▼

No, it applies only behavior-preserving improvements that follow existing project conventions. After editing, it re-reads the changed areas and runs the smallest relevant validation.

Will the cleanup commit or push my changes automatically?▼

No, the skill explicitly does not stage, commit, or push anything. All edits remain in your working tree for you to review and commit yourself.