dead-code
Skill56 starsChanged 34 days agoApache-2.0View on GitHub
Use this skill to detect and clean up dead code in this repo, starting with the project’s TypeScript dead-code scripts and validating that removals do not regress behavior.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- parcadei/Continuous-Claudetheir own version, first seen Oct 17, 2026
- vhmarquez/argotheir own version, first seen Oct 15, 2026
- eabz/tiriththeir own version, first seen Oct 10, 2026
- parcadei/Continuous-Claude-v2their own version, first seen Oct 8, 2026
- Jinbae10/skillstheir own version, first seen Jul 7, 2026
- Pradnyeshp/Claude-Skillstheir own version, first seen Jul 6, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- parcadei/Continuous-Claude★ 3.9ksame name
- parcadei/Continuous-Claude-v2★ 3.9ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- eabz/tirith★ 4same name
- Pradnyeshp/Claude-Skills★ 2same name
- vhmarquez/argo★ 1same name
- Jinbae10/skills★ 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 repository35 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- android/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .github/CLAUDE.mdCLAUDE.md
- ios/CLAUDE.mdCLAUDE.md
- auto-mobile-code-reviewSkill
- ci-failure-triageSkill
- github-pr-feedbackSkill
- ios-swift-ciSkill
- node-prepushSkill
- prepush-androidSkill
- shell-prepushSkill
- android-gradlewSkill
- auto-mobile-code-reviewSkill
- bun-tasksSkill
- check-ciSkill
- ci-failure-triageSkill
- device-session-lifecycleSkill
- fan-out-fan-inSkill
- github-cliSkill
- github-pr-feedbackSkill
- ios-swift-ciSkill
- manual-testSkill
- node-prepushSkill
- observeSkill
- pr-analysisSkill
- prepush-androidSkill
- push-my-prsSkill
- push-prSkill
- researchSkill
- shell-prepushSkill
- ship-issueSkill
- testSkill
- validateSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this when the user wants dead-code analysis or cleanup.
- Distinctive: line 12
Start with detection, not deletion.
- Distinctive: line 15
Check callers, tests, generated code, and dynamic entry points before deleting anything.
- Distinctive: line 16
Remove dead code in small batches so regressions are easy to isolate.
- Very specific: line 21
Prefer repo scripts and bun tasks over ad hoc dead-code tools.
- Very specific: line 22
Treat package.json dependency findings as suggestions until confirmed.
- Distinctive: line 23
Do not remove code referenced by reflection, CLI wiring, generated schemas, MCP registration, or platform build files without proof.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dead Code
Use this when the user wants dead-code analysis or cleanup.
Workflow
- Start with detection, not deletion.
- For TypeScript, run
bash scripts/detect-dead-code-ts.sh, optionally writing reports toscratch/dead-code/. - Review each candidate in full context before removing it. Unused exports in tooling output are often false positives.
- Check callers, tests, generated code, and dynamic entry points before deleting anything.
- Remove dead code in small batches so regressions are easy to isolate.
- Re-run the detector and the relevant validation after each batch.
Repo Rules
- Prefer repo scripts and
buntasks over ad hoc dead-code tools. - Treat
package.jsondependency findings as suggestions until confirmed. - Do not remove code referenced by reflection, CLI wiring, generated schemas, MCP registration, or platform build files without proof.
- Validate behavior after cleanup with the narrowest relevant commands.
Typical Validation
bun run lintbun run buildbun testbash scripts/validate-bun-test-timings.sh --run-unit-lanewhen test changes may affect the 100ms expectation, or pass an existing focused JUnit XML report to measure it directly
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

