English | Русский
Find dead and outdated code with an interactive audit.
In fast iteration projects, experimental code tends to accumulate:
- A feature was tried and abandoned
- Refactoring left old paths behind
- Temporary variants stayed in production code
Static analysis often misses this, because code can still be referenced while no longer needed by the product.
Interactive audit:
- Agent finds suspicious areas
- Asks whether each area is still needed
- Removes confirmed dead code safely with git backup
/plugin marketplace add izzzzzi/izTeam
/plugin install audit@izteam/audit # Full codebase scan (feature-scanner)
/audit features # src/features/ deep audit (features-auditor)
/audit server # src/server/ routers & services (server-auditor)
/audit ui # src/design-system/ components (ui-auditor)
/audit stores # src/stores/ Zustand state (stores-auditor)
flowchart TD
D["1. Discovery<br/>feature-scanner finds suspicious areas"]
I{"2. Interview<br/>"Is this still used?""}
DEL["Delete"]
DEP["Deprecated"]
KEEP["Keep"]
NS["Not sure<br/>usage-analyzer"]
C["3. Cleanup<br/>git branch + commit + TypeScript check"]
D --> I
I --> DEL --> C
I --> DEP
I --> KEEP
I --> NS -->|deep analysis| I
| Agent | Purpose |
|---|---|
feature-scanner |
Full scan: features, routers, pages |
usage-analyzer |
Deep analysis of a specific feature |
cleanup-executor |
Safe removal with git backup |
| Agent | Target | What it finds |
|---|---|---|
ui-auditor |
src/design-system/ |
Unused components, style inconsistencies |
stores-auditor |
src/stores/ |
Dead Zustand slices, unused selectors |
features-auditor |
src/features/ |
Unused exports, internal dead code |
server-auditor |
src/server/ |
Unused tRPC procedures, dead services |
- Never deletes without confirmation
- Creates git branch before deletion
- Checks TypeScript after deletion
- Logs all changes
MIT