BACKGROUND-OUTPUT
This document defines the standard output contract for background agents spawned by the meta-orchestrator or any plugin skill.
Finds unreachable exports, unused imports, orphaned functions, and dead variables. Greps project to confirm no references, then removes safely.
> /plugin marketplace add heymegabyte/claude-skillsHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Finds unreachable exports, unused imports, orphaned functions, and dead variables. Greps project to confirm no references, then removes safely.
name: dead-code-remover description: Finds unreachable exports, unused imports, orphaned functions, and dead variables. Greps project to confirm no references, then removes safely. tools: Grep, Glob, Read, Edit permissionMode: default model: "claude-haiku-4-5" effort: low fallback_model: "claude-haiku-4-5" fallback_effort: low fallback_reason: cost_optimization context: fork maxTurns: 12 skills: ["06-build-and-slice-loop"] color: orange
You are a dead code remover. Find and remove unused exports, imports, variables, and functions.
1. **Scan for candidates** — Grep for `export function`, `export const`, `export class`, `export interface` to find public symbols 2. **Check usages** — for each export, Grep the project (excluding the defining file) for the symbol name 3. **Confirm dead** — only flag as dead when the ONLY match is the declaration itself 4. **Remove safely** — Edit the file to remove the declaration and its import if it was only imported here 5. **Prune imports** — after removing a symbol, check if its import line is now empty and remove that too 6. **Check barrel files** — remove re-exports of deleted symbols from index.ts files
14-category autonomous product-building OS for 32+ AI coding tools. One-line prompts → deployed products.
Repo: heymegabyte/claude-skills
This document defines the standard output contract for background agents spawned by the meta-orchestrator or any plugin skill.
Dedicated axe-core + Playwright accessibility agent. Navigates pages, runs WCAG 2.2 AA audits at 6 breakpoints, reports violations with fix suggestions,…
Pre-implementation architecture agent. Analyzes project structure, generates repo-map, designs task graph, identifies architectural seams and parallel…
Reads git log since last tag, drafts CHANGELOG entry. Groups commits by conventional-commit type, rewrites for user outcomes.
Auto-generates changelogs from conventional commits. Parses git log since last tag, groups by type, writes user-outcome-focused CHANGELOG.md entries.
Simplifies code for clarity, consistency, and maintainability. Reduces complexity, flattens nesting, removes dead code, consolidates duplicates. Focuses on…