dead-code-detector
Find Dead Code Before Cleanup
Unused code slows reviews and increases maintenance risk. This skill helps Claude, Codex, and Claude Code identify removal candidates with review guidance.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "dead-code-detector" from https://skillstore.io/skills/curiouslearner-dead-code-detector.md and its manifest at https://skillstore.io/api/skills/curiouslearner-dead-code-detector/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "dead-code-detector". A developer asks for a dead code review of a TypeScript application.
Expected outcome:
- A summary of unused imports, variables, functions, and dependencies.
- Findings grouped by safe removal, needs review, and potential dynamic usage.
- A cleanup order that starts with low-risk items.
Using "dead-code-detector". A team lead asks whether old packages can be removed.
Expected outcome:
- A dependency review that separates unused packages from misclassified packages.
- Evidence for each package based on imports, scripts, and production usage.
- Testing notes for validating dependency removal.
Using "dead-code-detector". A library maintainer asks about exported functions that are not used internally.
Expected outcome:
- A list of exports that need consumer review before removal.
- Risk notes for public API compatibility.
- A recommendation to deprecate uncertain exports before deletion.
Security Audit
SafeAll static findings are false positives from Markdown code fences, inline code, and sample report text in SKILL.md. No prompt injection, data exfiltration, shell execution, or real network behavior was found.
Risk Factors
โ๏ธ External commands (28)
๐ Network access (1)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/curiouslearner-dead-code-detector/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/curiouslearner-dead-code-detector?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/curiouslearner-dead-code-detector?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/curiouslearner-dead-code-detector/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/curiouslearner-dead-code-detector.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
CuriousLearner. (2026). dead-code-detector security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/curiouslearner-dead-code-detector/audits/8BibTeX citation
@techreport{curiouslearner-curiouslearner-dead-code-detector-2026,
author = {CuriousLearner},
title = {dead-code-detector security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/curiouslearner-dead-code-detector/audits/8},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "dead-code-detector security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "CuriousLearner"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/curiouslearner-dead-code-detector/audits/8"
identifiers:
- type: other
value: "skillstore:curiouslearner-dead-code-detector:audit:8"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Prepare a cleanup sprint
Create a prioritized list of unused files, symbols, and dependencies before planned refactoring work.
Review dependency health
Find packages that are installed but no longer used, or installed in the wrong dependency group.
Protect public APIs
Identify exported functions that look unused internally but may still be part of a public contract.
Try These Prompts
Analyze this repository for dead code. Focus on unused imports, variables, and private functions. Report safe removals first.
Review the dependencies in this project. Find packages that appear unused or misclassified. Explain what evidence supports each recommendation.
Build a safe removal plan for this codebase. Separate obvious dead code from exported symbols and dynamic references that need review.
Audit this monorepo for dead code. Combine imports, exports, dependency use, coverage signals, and public API risk. Recommend an ordered cleanup sequence.
Best Practices
- Run tests after each cleanup batch to catch hidden references.
- Review exported symbols with package owners before deleting them.
- Keep dead code removal in focused commits with clear evidence.
Avoid
- Do not remove public exports only because internal usage is missing.
- Do not trust static results when reflection or string-based calls are common.
- Do not combine large refactors with dead code deletion in one change.
Frequently Asked Questions
Can this skill remove code automatically?
Does it support TypeScript projects?
How does it handle public APIs?
Can it find unused dependencies?
Will it detect dynamically used code?
Which AI tools can use this skill?
Developer Details
Author
CuriousLearnerLicense
MIT
Skillstore revision
r1
Version notice
The author did not declare a version.
Ref
d11af420e07cd866fe39cfa937efef3223896c06
Maintenance freshness
7/18/2026
Usage
13 downloads ยท 241 views
File structure
๐ SKILL.md