clean

Audit projects for unused code, orphan files, and obsolete database tables.

34|6|Updated Jun 30, 2026
One-click install
npx skills add https://github.com/flavien-ia/hypervibe-harness --skill clean-flavien-ia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean
Source: https://github.com/flavien-ia/hypervibe-harness/tree/main/skills/clean
Command: npx skills add https://github.com/flavien-ia/hypervibe-harness --skill clean-flavien-ia

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires knip, depcheck, and includes scripts (resource) components.

What problem does it solve?

This skill eliminates technical debt by identifying and removing unused files, dead code, and obsolete database tables that clutter your project and increase maintenance overhead.

Core Features & Use Cases

  • Comprehensive Audit: Scans for orphan files, dead code, unused dependencies, and unreferenced environment variables.
  • Safe Deletion: Proposes deletions with certainty and danger levels, applying changes to a separate branch for verification.
  • Use Case: After months of rapid development, use this skill to safely remove legacy components and unused database tables before a major release, ensuring your production environment remains lean and performant.

Quick Start

Run the clean skill to audit the current project and generate a report of unused elements for review.

Frequently Asked Questions about clean

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

FAQPage Schema
How do I find and remove unused code and orphan files in my project?

To find and remove unused code, you can run an automated project hygiene audit that scans your codebase for dead code, unreferenced environment variables, and orphan files. It safely proposes deletions by applying changes to a separate branch for verification.

What is the best way to audit technical debt before a major release?

Auditing technical debt before a major release involves scanning for unused dependencies, dead code, and obsolete database tables. A comprehensive audit ensures your production environment remains lean by identifying legacy components for safe removal.

Does the code cleanup process work with Node.js and standard CLI tools?

Yes, the code cleanup process requires Node.js and standard CLI tools like git, pnpm, and Vercel to execute. It operates across your entire codebase, environment configurations, and database schema to ensure project integrity during pruning.

How do I safely delete obsolete database tables and unused dependencies?

Safely deleting obsolete database tables and unused dependencies involves a branch-based cleanup operation. The audit proposes deletions with certainty and danger levels, applying changes to a separate branch so you can verify project integrity before merging.

Can I use knip and depcheck to scan for unreferenced environment variables?

Yes, this cleanup skill leverages dependencies like knip and depcheck to perform a comprehensive audit. It scans your project to identify unreferenced environment variables, unused dependencies, and dead code for review.