/zombie

Identify and prune dead code across models, services, constants, and cron jobs.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/fnkydcks-lab/dt-foundry --skill zombie
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: /zombie
Source: https://github.com/fnkydcks-lab/dt-foundry/tree/main/zombie
Command: npx skills add https://github.com/fnkydcks-lab/dt-foundry --skill zombie

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dead code clutter weighs down maintenance and slows the development cycle. /zombie identifies code paths and artifacts that are no longer load-bearing, including unused models, replaced service methods, stale constants, obsolete migrations, and dead feature branches.

Core Features & Use Cases

  • Scans the repository for zombie candidates across six categories: Models with no callers, Service methods with no callers, Constants with no references, Dead cron jobs, Dead migrations, and Dead feature code.
  • Produces a precise list of dead-code candidates with contextual guidance for safe removal and justification.
  • Provides an auditable workflow to confirm references and prevents accidental deletion by flagging uncertain items for review.

Quick Start

Run the zombie scan to locate dead code candidates and safely remove unused artifacts.

Frequently Asked Questions about /zombie

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan a codebase to find dead code and unused artifacts?

Run a dead-code scan to identify unused models, replaced service methods, stale constants, and obsolete migrations. The scan checks for callers and references across six categories, producing a precise list of candidates with contextual guidance for safe removal.

How can I locate dead migrations and unused cron jobs after a major refactor?

Locate dead migrations and unused cron jobs by scanning the repository for zombie candidates. The scan verifies the existence of targeted tables and features, flagging obsolete artifacts that no longer have active callers or references.

What is the best way to safely remove unused models and service methods?

Safely remove unused models and service methods by using an auditable workflow that confirms references and prevents accidental deletion. The scan flags uncertain items for human review, providing justification and contextual guidance before pruning.

Can I identify dead feature branches and stale constants without accidentally deleting active code?

Yes, you can identify dead feature branches and stale constants safely. The scan flags uncertain items for human review and provides an auditable workflow to confirm references, preventing accidental deletion of load-bearing code paths.

When should I use a code-cleanup scan during software migrations?

Use a code-cleanup scan during major refactors, software migrations, or after removing features. It ensures models, services, constants, and cron jobs no longer reference obsolete artifacts, reclaiming a lighter, maintainable codebase.

Why does dead code clutter slow down the development cycle and how do I fix it?

Dead code clutter weighs down maintenance and slows development by leaving obsolete artifacts in the codebase. Fix it by pruning dead code candidates, which identifies unused paths and provides contextual guidance for safe removal.