simplify

Analyzes source code and applies simplification refactorings like function extraction and dead code removal.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the accumulation of technical debt by identifying opportunities to simplify complex logic, reduce nesting, and improve code readability.

Core Features & Use Cases

  • Automated Analysis: Scans codebases for simplification patterns like extract-function, guard clauses, and dead code removal.
  • Interactive Refactoring: Presents multiple solution options for each finding, allowing developers to choose the best approach.
  • Batch Execution: Applies selected refactorings across multiple files in a single, controlled workflow.

Quick Start

Run the simplify skill on the current branch to analyze and refactor your code for better clarity.

Frequently Asked Questions about simplify

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

FAQPage Schema
How do I reduce cyclomatic complexity and refactor nested code automatically?

This skill analyzes source code to identify and implement simplification opportunities like function extraction, guard clauses, and dead code removal, reducing cyclomatic complexity and improving maintainability automatically.

Can I run automated code refactoring across a specific git branch?

Yes, automated code refactoring can run across a specific git branch. The skill operates on specific files, staged changes, or entire branches to perform batch refactoring tasks and non-destructive code edits.

Does the code simplification process require git integration to work?

Yes, the code simplification process requires git integration. The skill requires git alongside standard file system access to perform non-destructive code edits and manage batch refactoring tasks safely.

What is the best way to handle technical debt from deeply nested logic?

Handling technical debt from deeply nested logic is best achieved through interactive refactoring. The skill presents multiple solution options for each finding, allowing developers to choose the best simplification approach.

How do I remove dead code and extract functions from multiple files at once?

You remove dead code and extract functions from multiple files at once using batch execution. The skill applies selected refactorings across multiple files in a single, controlled workflow.