nexus-slop-killer

Identify and remove dead code from Nexus TypeScript projects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/JoaoBiomed/NEXUSEcosystem --skill nexus-slop-killer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nexus-slop-killer
Source: https://github.com/JoaoBiomed/NEXUSEcosystem/tree/main/nexus-app/.claude/skills/nexus-slop-killer
Command: npx skills add https://github.com/JoaoBiomed/NEXUSEcosystem --skill nexus-slop-killer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Nexus Slop Killer identifies and removes dead code and related slop to keep projects clean and maintainable.

Core Features & Use Cases

  • Detects unused imports, orphan exports, ghost components, dead types, and stale comments
  • Performs safe removals in audit and clean modes; deep mode requires confirmation
  • Generates structured reports with file paths, line numbers, and confidence scores

Quick Start

Start the tool on your Nexus project to scan for dead code and run cleanup in audit mode.

Frequently Asked Questions about nexus-slop-killer

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

FAQPage Schema
How do I find and remove dead code in a TypeScript Nexus project?

Yes, static analysis for Nexus apps checks for unused imports, orphan exports, ghost components, and dead types. It generates structured reports with file paths, line numbers, and confidence scores to help you safely remove dead code and stale comments.

What is the safest way to audit unused imports and dead types in Nexus apps?

Audit mode identifies dead code and related slop by scanning TypeScript source files without making changes. It reports unused imports, orphan exports, ghost components, dead types, and stale comments with categorized outputs including file paths and confidence scores.

Can I automatically clean up orphan exports and ghost components in TypeScript?

Yes, clean mode performs safe removals of orphan exports and ghost components in TypeScript files. For more aggressive cleanup, deep mode requires explicit confirmation before removing dead code, ensuring you maintain control over structural changes.

Does dead code removal require loading nexus-core first?

Yes, loading nexus-core first is a required safety constraint before running dead code detection. This ensures accurate static analysis and safe removals by providing the necessary project context for identifying unused imports, dead types, and ghost components.

What are the limitations of using deep mode for TypeScript code cleanup?

Deep mode requires explicit confirmation before executing because it performs more aggressive dead code and slop removal than audit or clean modes. This safety constraint prevents unintended changes to TypeScript source files during comprehensive code cleanup operations.

Best way to remove stale comments and dead types from a Nexus codebase?

Using clean mode provides safe automated removal of stale comments and dead types across TypeScript files. For comprehensive cleanup, deep mode requires confirmation but thoroughly removes all detected slop, generating structured reports with file paths and confidence scores.