kw-code-cleanup
Installation
SKILL.md
Code Cleanup Phase
Adds a cleanup phase at the end of the current GSD milestone based on real diagnostics. This skill ONLY creates the phase — it does NOT execute it.
Rules
- Always run diagnostics BEFORE proposing the phase.
- Scope to code touched in the current milestone, not the entire codebase.
- Always confirm with the user before creating the phase.
Workflow
Step 1: Detect context
Read these files in parallel:
.planning/STATE.md— active milestone name and version.planning/ROADMAP.md— phase list and max phase number
Extract: milestone version (e.g., v1.2), milestone name, and the phase numbers belonging to it.
Related skills
More from kwazema/claude-skills
kw-gsd-fortify
>
11kw-cubic
>
10kw-stack-audit
>
10kw-update-skills
>
10kw-vite-checker-setup
>
10kw-find-docs
Retrieves up-to-date documentation and code examples from Context7 for any library or framework. Use when writing code that depends on external packages, verifying API signatures, looking up usage patterns, or when training data may be outdated. Covers setup, migration, and version-specific docs.
9