Cad Clean — Testing skill for Claude Code
Safe dead-code purge and tech-debt cleanup with automated test auto-rollback.
How to install Cad Clean
Installs to ~/.claude/skills/sayanthegamer-cadence-cad-clean/SKILL.md
mkdir -p ~/.claude/skills/sayanthegamer-cadence-cad-clean && curl -fsSL https://raw.githubusercontent.com/Sayanthegamer/cadence/HEAD/commands/cad-clean.md -o ~/.claude/skills/sayanthegamer-cadence-cad-clean/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Cad Clean does
name: cad-clean description: Safe dead-code purge and tech-debt cleanup with automated test auto-rollback.
Execute the `cadence-clean` skill:
- Run full test suite baseline (must be 100% Green).
- Scan for unused imports, dead variables, formatting rot, and un-typed signatures.
- Surgically prune and format the tree.
- Verify with full test suite. Auto-rollback (
git restore .) if any test breaks. - Report improvements and commit clean chore.
Alternatives in Testing
- Testing Strategy — This project is small, runs in a terminal, and is mostly deterministic 10.9k ★
- AI Contribution Skills (Engram) — branch-pr: clean branch and PR workflow 2.5k ★
- Create Test Repo — Create a new ArcKit test repo with full scaffolding, auto-detecting the next version number 2.2k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
QA Clean
Guided manifest-based QA AI cleanup / Limpieza guiada de QA FlowKit
Quality AI Workflows
This document provides prompt patterns for using AI to assist with engineering quality tasks — quality review,
Roast My Agents Md
Brutally honest AGENTS.md/CLAUDE.md review backed by real A/B test evidence. Not just opinions — actual proof
Cleanup Summary
This document lists all the files that were removed during the cleanup process to eliminate test data, test fi
Test Suite Generator
Generate a comprehensive test suite with unit, integration and e2e coverage, plus skipped-test cleanup.
Dotnet QA
Story QA - multi-agent verification of a story implementation against its spec: per-AC verdicts, code reuse an
Related Agents
Fec Refactor Cleaner
Front-end Dead Code & Technical Debt Cleanup Subagent: Identifies unused components, exports, styles, routes,
Dnp Refactor Cleaner
🧹 Safe refactoring — dead code removal, naming normalization, duplication elimination. Never changes behavior
Project Auditor
Read-only health audit of the VibeFrame monorepo. Use for a periodic project review — structure, CLI/doc drift