improve

Analyze a code directory and report refactoring improvements for code quality issues.

Updated Jan 14, 2026
One-click install
npx skills add https://github.com/enpuyou/sed.i --skill improve-enpuyou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: improve
Source: https://github.com/enpuyou/sed.i/tree/main/.claude/skills/improve
Command: npx skills add https://github.com/enpuyou/sed.i --skill improve-enpuyou

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of maintaining a high-quality, maintainable, and efficient codebase by identifying and suggesting improvements for issues like duplicated logic, god components, missing abstractions, and dead code.

Core Features & Use Cases

  • Code Quality Analysis: Identifies maintainability, reusability, and code quality issues.
  • Duplicated Logic Detection: Finds and suggests shared abstractions for duplicated code patterns.
  • Component Size Audit: Analyzes component sizes and suggests splitting god components.
  • Dependency Analysis: Evaluates import graphs, coupling, and dead code.
  • Pattern Consistency: Ensures consistent patterns in state management, error handling, loading states, and naming conventions.
  • Prioritized Improvement Plan: Provides a ranked list of improvements with detailed action items.
  • Use Case: Use the /improve command with a path to a directory to get a detailed audit of the codebase, focusing on frontend components, for example: /improve frontend/components.

Quick Start

Run the /improve command in the directory you want to audit.

Frequently Asked Questions about improve

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

FAQPage Schema
How do I find duplicated logic and god components in my codebase?

You can detect duplicated logic and god components by running a code quality audit on a specified directory, which analyzes component sizes and repeated code patterns to generate a structured report with actionable refactoring recommendations.

What is the best way to audit code quality for maintainability issues?

Auditing code quality for maintainability involves analyzing a directory for missing abstractions, dead code, and inconsistent patterns, yielding a prioritized improvement plan with detailed refactoring action items.

Do I need external libraries to analyze import graphs and dead code?

No external libraries are needed to analyze import graphs and dead code. The audit process uses Python scripts without external dependencies to evaluate coupling and identify unused code natively.

Can I check pattern consistency for state management and error handling in frontend components?

Yes, you can check pattern consistency for state management and error handling. The audit evaluates a specified directory like frontend components to ensure consistent naming conventions, loading states, and error handling patterns across the codebase.

How do I get a prioritized improvement plan for refactoring my code?

To get a prioritized improvement plan for refactoring, run an audit on your target directory. The analysis identifies maintainability issues and outputs a ranked list of improvements with detailed action items to guide your refactoring efforts.