simplify

Reviews changed code on the current branch for reuse, quality, and efficiency, then fixes issues found.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/dwayneparton/claude --skill simplify-dwayneparton
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simplify
Source: https://github.com/dwayneparton/claude/tree/main/skills/simplify
Command: npx skills add https://github.com/dwayneparton/claude --skill simplify-dwayneparton

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Code written during feature development often contains duplicated logic, unnecessary nesting, and redundant computations that slip through initial review. This Skill performs a focused cleanup pass on your branch's changes before they are merged, fixing obvious issues directly instead of just reporting them. ## Core Features & Use Cases - Reuse Review: Detects duplicated logic and checks whether existing utilities or helpers in the codebase could replace newly written code. - Quality Review: Flags copy-paste code, leaky abstractions, deep nesting, and overly clever implementations that should be simplified. - Efficiency Review: Identifies redundant computations, missed concurrency opportunities, and expensive operations in hot paths. - Use Case: Before opening a pull request, run this Skill to automatically clean up your branch's diff — it fixes issues in place and commits them with a descriptive refactor message. ## Quick Start Ask the AI to run the simplify skill to review and clean up the changes on my current branch before I open a pull request.

Frequently Asked Questions about simplify

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

FAQPage Schema
How do I clean up code changes before opening a pull request?

Run a scoped review of your branch's diff against main, checking for duplicated logic, unnecessary nesting, and redundant computations. This Skill fixes issues directly in the changed files and commits them with a refactor message.

How to find duplicated logic in my code changes?

The review searches the codebase for existing utilities and helpers that match patterns in your new code. If an abstraction already exists elsewhere, the new code is rewritten to reuse it instead of duplicating the logic.

Does this review the entire codebase or only my changes?

It only reviews code changed on the current branch, determined by git diff against main. The rest of the codebase is searched for reusable patterns but never modified.

When should I not use a cleanup pass like this?

Avoid using it for deep architectural problems or large-scale refactoring, since the pass is intentionally scoped to minimal fixes. Issues needing deeper attention are noted but deferred to a dedicated refactoring workflow.

What happens if no issues are found in my diff?

The Skill reports that nothing was found and stops without making changes. No commit is created when there are no fixes to apply.