repo-hygiene - Clean up repository structure without behavior changes
Audits and reorganizes a codebase, clarifies names, removes confirmed dead or duplicate code, improves comments, and refreshes CLAUDE.md without changing behavior.
Tags
Updated: 2026-09-29Capabilities
Typical Inputs
What this skill does
- Audit repository structure
- Move files into domain folders
- Rename vague files and code
- Split mixed-domain files
- Remove confirmed dead code
- Remove duplicate code
- Rewrite comments to explain why
- Refresh CLAUDE.md
- Run tests after phases
Inputs
- Repository source tree
- Project tests
- Project tooling
- Existing CLAUDE.md
Outputs
- Reorganized file and folder structure
- Renamed or split source files
- Removed dead and duplicate code
- Updated comments and CLAUDE.md
- Test results after each phase
