Agent skill

remove-deadcode

Remove unused code from this project with ultrawork mode, LSP-verified safety, atomic commits. Triggers: remove dead code, dead code, cleanup, remove unused.

YeonGyu-Kim69,732★ · +488/wk · 2 repos on radarProfile →
claude-codecodexcursorNOASSERTION
Install
npx skills add code-yeongyu/oh-my-openagent --skill remove-deadcode --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 7 KB
Bundled scripts: none
Path: .agents/skills/remove-deadcode/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 67,209 · +483 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

Dead code removal via massively parallel deep agents. You are the ORCHESTRATOR — you scan, verify, batch, then delegate ALL removals to parallel agents. <rules> - **LSP is law.** Verify with `LspFindReferences(includeDeclaration=false)` before ANY removal decision. - **Never remove entry points.** `src/index.ts`, `src/cli/index.ts`, test files, config files, `packages/` — off-limits. - **You do NOT remove code yourself.** You scan, verify, batch, then fire deep agents. They do the work. </rules> <false-positive-guards> NEVER mark as dead: - Symbols in `src/index.ts` or barrel `index.ts` re-exports - Symbols referenced in test files (tests are valid consumers) - Symbols with `@public` / `@api` JSDoc tags - Hook factories (`createXXXHook`), tool factories (`createXXXTool`), agent definitions in `agentSources` - Command templates, skill definitions, MCP configs - Symbols in `package.json` exports </false-positive-guards> --- ## PHASE 1: SCAN — Find Dead Code Candidates Run ALL of these in parallel: <parallel-scan> **TypeScript strict mode (your primary scanner — run this FIRST):** ```bash bunx tsc --noEmit --noUnusedLocals --noUnusedParameters 2>&1 ``` This gives you the definitive li

What's inside
Steps it walks through
  1. PHASE 1: SCAN — Find Dead Code Candidates
  2. PHASE 2: VERIFY — LSP Confirmation (Zero False Positives)
  3. PHASE 3: BATCH — Group by File for Conflict-Free Parallelism
  4. PHASE 4: EXECUTE — Fire Parallel Deep Agents
  5. PHASE 5: FINAL VERIFICATION
  6. SCOPE CONTROL
  7. ABORT CONDITIONS
Commands it runs
bunx tsc --noEmit --noUnusedLocals --noUnusedParameters 2>&1
bun run typecheck   # must pass
bun test            # note any NEW failures vs pre-existing
bun run build       # must pass
More from oh-my-openagent
All skills →
About this skill
What does the remove-deadcode skill do?

Remove unused code from this project with ultrawork mode, LSP-verified safety, atomic commits. Triggers: remove dead code, dead code, cleanup, remove unused.

How do I install it?

Run `npx skills add code-yeongyu/oh-my-openagent --skill remove-deadcode --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From code-yeongyu/oh-my-openagent, a repository with 67,209 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going