tyroneross/build-loop/dead
Claude Code and agent skill by tyroneross/build-loop
- community
Checking that the SKILL.md file is still in the repository.
Find code/components with zero remaining callers — dead, unreachable, or orphaned files to delete. Use when the user asks to "find dead code", "clean up unused files", or "scan for orphaned components". Not for code that's still called but breaks a layer boundary or forms a cycle (use `architecture-rules`).
Install
npx vskill@latest install tyroneross/build-loop/deadSKILL.md
The same SKILL.md was published earlier as tyroneross/build-loop/dead.
Dead-Code / Orphan Scan
Detect orphaned components — those NavGator tracks but with zero incoming AND zero outgoing connections. Use the mcp__plugin_navgator__dead MCP tool (or navgator dead CLI).
Divergence note: NavGator has no discrete SKILL.md for dead-code analysis. The canonical wrapper iscommands/dead.md. This skill encodes the same workflow.
When to Activate
- Phase 4 Review-G Report: orphan scan after build completes — diff against the Phase 1 Assess baseline to surface NEW orphans introduced this build
- User asks "find dead code", "any orphaned components", "what's unused"
Pre-flight
- If
.navgator/architecture/index.jsondoes not exist → no-op withNavGator: no architecture snapshot found — skipping dead-code scan.
Workflow
- Run
mcp__plugin_navgator__dead(ornavgator dead) - Group findings by type: unused packages, unused DB models, unused queues, unused infra, unused services
- For significant findings (unused infra like Heroku/Render configs, unused queues), investigate whether they should be removed
- Suggest cleanup actions for clearly dead components
What Counts as Dead
- Components detected by NavGator with zero incoming AND zero outgoing connections
- Only meaningful types are checked (packages, queues, services, infra, database models)
- Internal code files are NOT flagged (too many to be useful)
Diff Against Baseline
If .build-loop/state.json.architecture.dead.baseline exists from Phase 1 Assess:
- Compute
new_orphans = current - baseline - Surface only the new ones in Review-F (existing orphans are pre-existing tech debt, not this build's regression)
Output
Write to .build-loop/state.json.architecture.dead with {total_orphans, new_orphans[], by_type{}}.
Sibling Skills
build-loop:architecture-scan— refresh data firstbuild-loop:architecture-rules— broader violation check (orphan is one warning category there)build-loop:architecture-review— full integrity review
Source: NavGator `commands/dead.md`. The canonical implementation is the CLI / MCP tool. Drift-checked by `build-loop:sync-skills`.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/architecture/dead/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tyroneross/build-loop/dead)