๐Ÿงน
QualityShell

Remove Dead Code

by qdhenry

Remove Dead Code is a Quality skill for Claude Code, published by qdhenry in Claude-Command-Suite.

1.3K stars150 forkson qdhenry/Claude-Command-SuiteAdded 2026/08/20Repository updated 2026/03/01
ai-toolsanthropicclaude-codecli-toolscode-reviewdeveloper-toolsproductivitysecurity-auditslash-commandssoftware-developmentworkflow-automation
Install in seconds
Install Remove Dead Code
Copy Remove Dead Code into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/qdhenry/Claude-Command-Suite/tree/main/.claude/skills/remove-dead-code ~/.claude/skills/remove-dead-code

Requires Node.js. Downloads this skill only โ€” not the rest of the repository โ€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/qdhenry/Claude-Command-Suite.git

Clones the whole repository, then copy the skillโ€™s own directory into your skills folder yourself.

In this catalog

Source file
.claude/skills/remove-dead-code/SKILL.md in qdhenry/Claude-Command-Suite
Installs to
~/.claude/skills/remove-dead-code
Collection
One of 14 skills cataloged from this repository
Category
Quality โ€” 1354 skills

What Remove Dead Code does

Remove Dead Code safely identifies and removes dead code in TypeScript/JavaScript projects using multi-agent analysis with automatic backup branches. Use when cleaning up unused exports, orphaned files, dead imports, unreachable functions, or unused dependencies.

Remove Dead Code is cataloged under Quality on DirSkills. Remove Dead Code comes from a repository tagged ai-tools, anthropic, claude-code, cli-tools and code-review.

Documentation

README

<essential_principles>

Safety-first dead code removal. Every removal is protected by an automatic backup branch. Multi-agent analysis reduces false positives. No code is deleted without cross-validation.

1. Backup Before Everything

Before any modification, create a timestamped backup branch from the current HEAD. This is non-negotiable. The branch name format is backup/dead-code-removal/{timestamp}.

2. Parallel Scout + Validator Pattern

Multiple scout agents analyze different aspects of dead code in parallel. A validator agent then cross-checks all findings against the full codebase before anything is flagged for removal. Only code confirmed dead by both scouts AND validator gets removed.

3. Conservative by Default

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Remove Dead Code

  • What else does qdhenry publish alongside Remove Dead Code?

    Remove Dead Code is one of 14 skills that DirSkills catalogs from qdhenry/Claude-Command-Suite, the repository it ships in. Its siblings there include Audit Env Variables, BigCommerce API and Claude Code Skill Builder. Each one is a separate skill with its own page in this directory, installs the same way Remove Dead Code does, and is maintained by qdhenry in that same repository. The rest of the collection is listed on the qdhenry/Claude-Command-Suite page.

  • How does Remove Dead Code compare to other Quality skills?

    Remove Dead Code ranks #700 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Remove Dead Code against them. Open each page to compare what they document and how they install.

More from qdhenry/Claude-Command-Suite

Remove Dead Code is one of 14 skills cataloged on DirSkills from qdhenry/Claude-Command-Suite.

See all 14 skills โ†’
๐Ÿ”
2w ago

Audit Env Variables

Audit Env Variables scans JavaScript/TypeScript projects for environment variable usage, identifies unused or undeclared variables, detects services like Stripe, AWS, and Supabase, and generates a structured markdown report. Use it to review security, document configuration, or clean up unused variables with regression detection.
Quality
1.3K150
๐Ÿ›’
2w ago

BigCommerce API

BigCommerce API provides expert guidance for building BigCommerce integrations, apps, headless storefronts, and automations using REST and GraphQL APIs. Use it when working with catalog, orders, customers, payments, webhooks, authentication, or multi-storefront BigCommerce projects.
Automation
1.3K150
๐Ÿ› ๏ธ
2w ago

Claude Code Skill Builder

Claude Code Skill Builder orchestrates four specialized agents to elicit requirements, generate files, validate structure and code, and enhance documentation, delivering production-ready Claude Code skills.
AI Engineering
1.3K150
โ˜๏ธ
2w ago

Cloudflare Manager

Cloudflare Manager deploys and manages Cloudflare services including Workers, KV storage, R2 buckets, Pages, DNS records, and routes. Use it to set up serverless functions, storage, static sites, and routing after configuring a Cloudflare API token.
DevOps
1.3K150
๐ŸŽ™๏ธ
2w ago

ElevenLabs Transcribe

ElevenLabs Transcribe transcribes audio and video files using the ElevenLabs Scribe v2 API. Use it to convert speech to text, generate transcripts, and add speaker diarization or audio event tagging.
Automation
1.3K150
๐ŸŽž๏ธ
2w ago

Extract Video Frames

Extract Video Frames extracts frames and timestamped audio clips from video files (GIF, MP4, MOV) at configurable intervals and saves them with a manifest for another agent to analyze.
Automation
1.3K150