Code Cleanup Skill
Automated code cleanup and maintenance for improved code quality.
When to Use
- •Before committing code
- •During code review feedback
- •When technical debt accumulates
What This Skill Does
1. Linting Fixes
typescript
// Before const x= 1; // After const x = 1;
2. Import Organization
typescript
import { a } from './a';
import { b } from './b';
import { z } from 'external';
3. Type Annotations
typescript
function add(a: number, b: number): number {
return a + b;
}
4. Dead Code Removal
- •Unused imports
- •Unused variables
- •Unreachable statements
Usage
/code-cleanup to invoke this skill.