generated from Paul.Kim/tpl-superclaude
33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
---
|
|
allowed-tools: [Read, Grep, Glob, Edit, MultiEdit, TodoWrite]
|
|
description: "Apply systematic improvements to code quality, performance, and maintainability"
|
|
---
|
|
|
|
# /sc:improve - Code Improvement
|
|
|
|
## Purpose
|
|
Apply systematic improvements to code quality, performance, maintainability, and best practices.
|
|
|
|
## Usage
|
|
```
|
|
/sc:improve [target] [--type quality|performance|maintainability|style] [--safe]
|
|
```
|
|
|
|
## Arguments
|
|
- `target` - Files, directories, or project to improve
|
|
- `--type` - Improvement type (quality, performance, maintainability, style)
|
|
- `--safe` - Apply only safe, low-risk improvements
|
|
- `--preview` - Show improvements without applying them
|
|
|
|
## Execution
|
|
1. Analyze code for improvement opportunities
|
|
2. Identify specific improvement patterns and techniques
|
|
3. Create improvement plan with risk assessment
|
|
4. Apply improvements with appropriate validation
|
|
5. Verify improvements and report changes
|
|
|
|
## Claude Code Integration
|
|
- Uses Read for comprehensive code analysis
|
|
- Leverages MultiEdit for batch improvements
|
|
- Applies TodoWrite for improvement tracking
|
|
- Maintains safety and validation mechanisms |