cleanup-audit

Community

Find and fix code rot.

Authorjmagly
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill identifies and reports on various forms of code rot within a codebase, such as dead code, unused exports, orphaned files, stale manifest entries, and unused dependencies, helping to maintain code health and reduce technical debt.

Core Features & Use Cases

  • Dead Code Identification: Pinpoints functions or variables that are exported but never imported.
  • Orphaned File Detection: Finds files that are not reachable from any entry point in the project.
  • Dependency Auditing: Lists dependencies in package.json that are not imported in the codebase.
  • Manifest Verification: Checks for entries in manifest.json files that point to non-existent files.
  • Use Case: Before a major refactor, run this skill to get a clear picture of all the code and dependencies that can be safely removed, streamlining the refactoring process.

Quick Start

Run the cleanup-audit skill to find all unused exports and orphaned files in the current project.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cleanup-audit
Download link: https://github.com/jmagly/aiwg/archive/main.zip#cleanup-audit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.