- Home
- Skills
- Code Quality & Review
- Export Cleanup Auditor
Works with the AI tools you already use
Export Cleanup Auditor
Backup hygiene audits: find stale exports, orphaned files, and shrink your storage footprint.
Free
Export Cleanup Auditor
Example session with this skill installed
Audit the exports in the /src directory of this TypeScript library and prepare a cleanup plan for the v2.0 release.
- Read your context and instructions
- Compiled the export cleanup auditor
Export Audit — @ui/core
| Name | Kind | Refs | Status | Action |
|---|---|---|---|---|
| legacyFormat | Function | 0 | Dead | Delete |
| internalUtility | Const | 12 | Internal-only | Move to /internal |
- Build passes after removing legacyFormat.
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
Public API surfaces grow organically until you no longer know what is safe to delete. Stale exports and orphaned modules bloat your package size and increase the maintenance burden of your next major version.
What it does
- Identifies the package boundary using
package.json,pyproject.toml, orgo.mod. - Scans the entire repository using
ripgrepto map internal versus external usage of every export. - Categorizes code into Dead, Internal-only, Public & used, or Public but undocumented.
- Generates a structured cleanup plan with risk assessments for SemVer compliance.
- Verifies that deletions won't break the build or existing test suites.
Why this beats prompting it yourself
Manual grepping is error-prone and misses edge cases like string-based dynamic imports or type-only references. This skill automates the cross-referencing logic and applies a systematic risk-grading framework that ensures you don't accidentally ship a breaking change in a minor release.
Use cases
- Pre-release audits to slim down a library before a major SemVer bump.
- Identifying "internal-only" utilities that were accidentally exposed to the public API.
- Finding dead code left over from refactors that
eslintorpyrightmissed. - Mapping undocumented public functions that need tests or deprecation notices.
Known limitations
Not for performance profiling or style linting. Best results require running on a clean branch without work-in-progress code.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
2 installs
Downloaded by developers to date
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 1 month ago
- Free to download with an account