adr
Write an Architecture Decision Record documenting a significant technical decision.
Find and remove dead code, unused imports, and unreachable branches.
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/cleanupContext preview
What this command does when you run it.
Find and remove dead code, unused imports, and unreachable branches.
Find and remove dead code, unused imports, and unreachable branches.
1. Detect the language and available tooling:
2. Scan for unused exports:
3. Detect unreachable code:
4. Find unused dependencies:
5. Present findings grouped by category with confidence levels. 6. Apply removals only for high-confidence dead code (no dynamic references). 7. Run tests after each removal batch to catch false positives.
Dead Code Analysis
==================
Unused imports: <N>
- <file>:<line> - import { <symbol> } from '<module>'
Unused exports: <N>
- <file>:<line> - export <symbol> (0 references)
Unreachable code: <N>
- <file>:<lines> - <reason>
Unused dependencies: <N>
- <package> (last used: never / removed in <commit>)
Safe to remove: <N> items
Needs review: <N> itemsThe most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.
Repo: rohitg00/awesome-claude-code-toolkit
Write an Architecture Decision Record documenting a significant technical decision.
Conduct a structured design review of a module, feature, or system component.
Create a structured implementation plan for the requested feature or change.