Removes unused public exports from JavaScript/TypeScript code while preserving public API contracts, barrel behavior, and cross-package compatibility.
Ships in ngautopilot-quality-deadcode-sonar. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to remove unused public exports without breaking real consumers.
The goal is to reduce API surface while keeping shared contracts stable.
The core rule is simple:
Remove unused exports only after verifying they are truly unused.
Use this skill when:
Check:
Confirm the export is not part of an external contract.
Avoid deleting exports that are part of a published API.
Avoid assuming “unused in this repo” means globally unused.
Avoid broad API rewrites while cleaning one export.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ngautopilot-quality-deadcode-sonar:quality--no-dead-code--unused-exports-cleanupfrom ngautopilot-quality-deadcode-sonar
npx claudepluginhub janpereira-dev/ngautopilot --plugin ngautopilot-quality-deadcode-sonar8 skills in this plugin
/quality--no-dead-code--dead-branches-cleanupDead Branches CleanupRemoves unreachable or obsolete logic branches caused by legacy flags, impossible conditions, or retired compatibility paths while preserving intentional behavior.
/quality--no-dead-code--orphan-files-cleanupOrphan Files CleanupDetects and removes orphan files that no longer participate in build, tests, runtime, or documented configuration paths without breaking dynamic loading or convention-based usage.
/quality--no-dead-code--orphan-files-cleanup-monorepoOrphan Files Cleanup MonorepoDetects and removes orphan files in monorepo workspaces by checking project graphs, build targets, tests, dynamic loaders, and runtime conventions before deleting anything.
Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Oct 8, 2026