pm-cleanup

Analyze codebases for dead code and scaffold cleanup work packages.

1|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/pinkroosterai/PinkRoosterMcp --skill pm-cleanup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pm-cleanup
Source: https://github.com/pinkroosterai/PinkRoosterMcp/tree/main/.claude/skills/pm-cleanup
Command: npx skills add https://github.com/pinkroosterai/PinkRoosterMcp --skill pm-cleanup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the accumulation of technical debt by identifying and organizing opportunities for code cleanup, such as dead code, unused imports, and structural inconsistencies, without directly modifying the codebase.

Core Features & Use Cases

  • Automated Code Analysis: Scans the codebase for various types of cleanup needs.
  • Intelligent Grouping: Consolidates related findings into actionable tasks.
  • Work Package Scaffolding: Creates a project management work package for tracked cleanup efforts.
  • Use Case: When your project feels cluttered or difficult to maintain, use this Skill to identify and prepare tasks for removing unused code and improving overall code health.

Quick Start

Use the pm-cleanup skill to analyze the codebase for dead code and unused imports.

Frequently Asked Questions about pm-cleanup

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

FAQPage Schema
How do I find and remove dead code and unused imports in my project?

This Skill analyzes your codebase for dead code and unused imports, identifying structural inconsistencies and organizing them into a tracked work package with grouped cleanup tasks so you can address technical debt systematically.

What is the best way to organize technical debt cleanup into actionable tasks?

The best way to organize technical debt cleanup is using intelligent grouping to consolidate related code analysis findings into a tracked work package, scaffolding actionable tasks for project management without modifying the codebase.

Can I use this code cleanup tool to directly refactor and modify my source files?

No, this Skill does not directly modify source files; it analyzes the codebase for dead code and structural debt, then scaffolds a tracked work package of grouped cleanup tasks for you to execute manually.

How does the code analysis process handle existing issues to avoid duplicates?

The code analysis process prevents duplicates by loading existing issues for deduplication before scanning, ensuring newly identified dead code and structural debt findings do not overlap with previously tracked items in your work package.

Do I need a specific project management setup to scaffold work packages for code hygiene?

You need a project management environment compatible with the MCP API to scaffold work packages for code hygiene, as the Skill finalizes grouped cleanup tasks by scaffolding a tracked work package via that interface.