dead-code-review
Skill0 starsChanged 6 days agoMITView on GitHub
Review and safely remove unused or disconnected code. Use for dead code cleanup, unused files, stale shims, unused CSS, unused dependencies, unconnected routes, orphan views/URLs, stale documentation, or runtime artifacts checked into repos.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- mrveiss/AutoBot-AItheir own version, first seen Oct 15, 2026
- exerias21/brainstorm-toolkittheir own version, first seen Oct 4, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- mrveiss/AutoBot-AI★ 39same name
- exerias21/brainstorm-toolkit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository174 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ad-ci-readinessSkill
- ad-pre-pushSkill
- accessibilitySkill
- agent-evalSkill
- agent-harness-constructionSkill
- agentic-engineeringSkill
- agent-introspection-debuggingSkill
- agent-sortSkill
- ai-first-engineeringSkill
- ai-regression-testingSkill
- api-connector-builderSkill
- architecture-decision-recordsSkill
- article-writingSkill
- automation-audit-opsSkill
- autonomous-agent-harnessSkill
- autonomous-loopsSkill
- backend-patternsSkill
- benchmarkSkill
- blueprintSkill
- brand-voiceSkill
- browser-qaSkill
- bun-runtimeSkill
- canary-watchSkill
- cavemanSkill
- ckSkill
- claude-devfleetSkill
- click-path-auditSkill
- codebase-onboardingSkill
- code-tourSkill
- coding-standardsSkill
- content-engineSkill
- content-hash-cache-patternSkill
- context-budgetSkill
- continuous-agent-loopSkill
- continuous-learningSkill
- continuous-learning-v2Skill
- cost-aware-llm-pipelineSkill
- councilSkill
- crosspostSkill
- ad-harnessSkill
- ad-state-migrateSkill
- ad-tui-devSkill
- agent-daemon-memorySkill
- big-feature-flowSkill
- bootstrap-daemonSkill
- bug-flowSkill
- engine-upgradeSkill
- feature-flowSkill
- gepa-evolve-inlineSkill
- harness-troubleshootSkill
- orchestrate-teamSkill
- release-flowSkill
- session-closeSkill
- skill-authorSkill
- skill-installerSkill
- dashboard-builderSkill
- database-migrationsSkill
- deep-researchSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use this for proof-based cleanup.
- Distinctive: line 30
Check dynamic imports, lazy loading, and string-based references
- Distinctive: line 31
Check framework conventions (auto-discovery of routes, middleware, plugins)
- Distinctive: line 32
Check configuration files that may reference code by string
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dead Code Review
Use this for proof-based cleanup. Deletion requires evidence and verification — never delete on suspicion alone.
Workflow
- Read existing docs — check for refactor summaries, migration notes, or past cleanup records.
- Inventory candidates by area:
- Routes and pages (frontend routes with no links, backend URLs with no callers)
- Components and views (imported nowhere, rendered nowhere)
- Hooks and utilities (exported but never imported elsewhere)
- API helpers (fetch functions with zero call sites)
- CSS classes and stylesheets (selectors matching no markup)
- Backend views, URLs, serializers (unreachable endpoints)
- Dependencies (packages in lockfile but not imported in code)
- Documentation (docs describing removed features)
- Runtime artifacts (build outputs, logs, temp files in source control)
- Prove unused status with reference searches and framework knowledge:
grep/rgfor imports, function calls, class references- Check dynamic imports, lazy loading, and string-based references
- Check framework conventions (auto-discovery of routes, middleware, plugins)
- Check configuration files that may reference code by string
- Separate safe deletes from risky ones:
- Safe: zero references, no dynamic access pattern, not a public API
- Risky: compatibility shims, public API endpoints, framework convention files
- Propose deletion batches grouped by root cause (e.g., "removed feature X" = 5 files).
- Verify after each batch — type-check, lint, build, test suite.
- Record what was removed and why.
Never Delete Casually
These require extra proof before removal:
- Migrations — database migration files must never be deleted, even if the feature is gone
- Public API endpoints — external consumers may depend on them
- Redirect or compatibility routes — may be serving bookmarks or external links
- Scheduled task names — job schedulers reference tasks by string name
- CSS selectors for third-party libraries — charting libraries, rich text editors, and generated markup use class names your code doesn't explicitly reference
- Configuration/convention files — frameworks auto-discover files by name (e.g.,
middleware.ts,layout.tsx,__init__.py) - Documentation with project decisions — may look stale but preserves architectural context
Output
For each candidate:
| Field | Description |
| File(s) | Clickable file:LINE references |
| Evidence | How you proved it's unused (grep output, zero imports, etc.) |
| Risk | None / Low / Medium (explain if medium) |
| Deletion plan | What to delete and in what order |
| Verification | Command to run after deletion (type-check, build, test) |
| Rollback | git checkout <commit> -- <files> if needed |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

