prompt-evaluation-runn…
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost…
Use when unused functions, classes, exports, or files need to be identified and safely deleted.
Claude Code
$ npx -y skills add yeaight7/agent-powerups --skill dead-code-removal --agent claude-code
Codex
$ npx skills add yeaight7/agent-powerups --skill dead-code-removal -a codex -y
Cursor
$ npx skills add yeaight7/agent-powerups --skill dead-code-removal -a cursor -y
Gemini CLI
$ npx skills add yeaight7/agent-powerups --skill dead-code-removal -a gemini-cli -y
GitHub Copilot
$ npx skills add yeaight7/agent-powerups --skill dead-code-removal -a github-copilot -y
OpenCode
$ npx skills add yeaight7/agent-powerups --skill dead-code-removal -a opencode -y
Windsurf
$ npx skills add yeaight7/agent-powerups --skill dead-code-removal -a windsurf -y
name: dead-code-removal description: Use when unused functions, classes, exports, or files need to be identified and safely deleted.
Dead code increases maintenance overhead and confuses developers. Verify a symbol is truly unused across the entire repository, then delete it outright — never comment it out.
1. **Verify unused — search the entire repository.** Do not assume code is dead just because the current file doesn't use it:
grep -rn "symbolName" . --include="*.ts" --include="*.tsx" # all references grep -rn "from ['\"].*module-name" src/ # import sites git log -3 --oneline -- path/to/suspect-file # recent touches
Ecosystem tools can shortcut the inventory when available (e.g., knip or ts-prune for TypeScript exports, vulture for Python).
2. **Check for dynamic invocation.** Be wary of dynamically invoked code — reflection, dependency injection by string name, ORM mappers, route tables, config-driven dispatch:
grep -rn "\"symbolName\"\|'symbolName'" . # string-keyed references
If there is any doubt, leave it alone or ask the user.
3. **Delete aggressively.** Once confirmed unused, delete the code. Do not comment it out.
4. **Prune dependencies.** If you delete the only code that was using an imported module, remove the import statement as well.
5. **Run tests.** Always run tests and/or type checkers (e.g., `tsc --noEmit`) after removal to ensure you didn't accidentally break a hidden dependency.
Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost…
Use when creating or reviewing red-team eval plugins, attack templates, grader rubrics, safety fixtures, or model-risk test…
Use when designing, running, debugging, or hardening deterministic eval suites for agent skills, prompts, tool workflows, or…
Use when designing tool definitions for a new agent or subagent, an agent shows high retry rates, ambiguous tool invocations, or…
Use when routing a prompt to a local provider CLI for a second opinion, review, or plan -- you are about to call a provider…
Use when starting work in an unfamiliar area of a codebase, spawning a subagent that needs targeted file context, a first search…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.