Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

vibe-code-cleanup

Skill by sickn33

Cleans up and hardens vibe-coded fullstack apps built with Next.js, React or Node.js. It removes dead imports, unused files and broken references without breaking routes or APIs.

  • Score 89
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install vibe-code-cleanup

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/vibe-code-cleanup ~/.claude/skills/vibe-code-cleanup

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install vibe-code-cleanup in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

vibe-code-cleanup is a SKILL.md workflow for making AI-generated fullstack apps production-ready without breaking what already works. It targets Next.js, React and Node.js projects and focuses on removing dead imports, unused files and broken references. The skill tells the assistant to map the codebase first, fix broken imports, and only remove files or exports it has verified as unused.

The workflow runs in small, reversible batches. After each batch it runs typecheck, lint, build and tests, and reverts the last batch if the build or typecheck fails. It also lists areas to leave alone, such as route slugs, API contracts, database schema, auth flow and third-party integration configs. It is aimed at developers preparing a vibe-coded app for launch or handoff.

Written from the project's SKILL.md and checked against it.

What it can do

  • ReconnaissanceMaps pages, routes and console or debug leftovers before any changes are made.
  • Fix broken importsFixes missing files, wrong relative paths and missing named exports using TypeScript errors.
  • Identify dead codeChecks with grep that a file or export is unused before treating it as a removal candidate.
  • Consolidate repeated logicMoves patterns repeated in three or more places, such as SEO metadata, into shared helpers.
  • Environment variable auditCompares env vars used in code against .env.example and flags any that are missing.
  • Validate after each batchRuns tsc, eslint, npm run build and npm test, and reverts the batch if checks fail.
  • Commit strategyKeeps each commit to one logical change, such as a fix, refactor or chore.
  • Off-limits areasLists routes, API contracts, DB schema, auth flow and integration configs to leave unchanged.

What you need

  • Node.js and npm
  • TypeScript (optional, for typecheck)
  • ESLint
  • ripgrep (rg)

Try asking

  • Map my Next.js app's routes and find broken imports before changing anything.
  • Find unused files in my project and verify each with grep before removing.
  • Check which env vars my code uses that are missing from .env.example.

Good to know

  • Dead-code checks identify candidates, not proof, so inspect dynamic imports and external consumers first.
  • Does not infer product intent; confirm behavior before deleting routes, components or API contracts.
  • Apply changes in small reviewed batches, since broad refactors can hide regressions.
  • Avoid changing auth, billing, persistence or integration behavior without explicit requirements and tests.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/vibe-code-cleanup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to vibe-code-cleanup

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

vibe-code-cleanup: common questions

Does vibe-code-cleanup delete code automatically?

No. The skill says to remove only what is provably dead, and to verify a file or export is unused with grep before removal.

Which frameworks does vibe-code-cleanup target?

The source describes it for vibe-coded fullstack apps, with examples in Next.js, React and Node.js.

What does it do if a build breaks after a cleanup change?

The workflow says to revert the last batch of changes before continuing when the build or typecheck breaks.

How do I install vibe-code-cleanup?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is vibe-code-cleanup free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is vibe-code-cleanup safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to vibe-code-cleanup?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

vibe-code-cleanup Install

Add to stack

Loading.