Agent skill · Frontend

vibe-code-cleanup

Safe production cleanup and hardening for vibe-coded fullstack apps (Next.js, React, Node.js, etc.). Removes dead imports, unused files, and broken references without breaking routes or APIs.

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill vibe-code-cleanup --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 7 KB
Bundled scripts: none
Version: 1.0.0
Declared author: Whoisabhishekadhikari
Path: skills/vibe-code-cleanup/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Vibe-Code Cleanup — Production Refactor Skill A safe, incremental cleanup workflow for AI-generated / vibe-coded fullstack apps. The goal is to make the codebase production-ready **without** breaking anything that already works. ## When to Use - Use when a rapidly built app works but has broken imports, duplicated logic, dead code, unclear environment variables, or fragile release hygiene. - Use before launch or handoff to convert exploratory code into a maintainable production baseline. - Use when cleanup must preserve existing behavior and avoid broad rewrites of routes, APIs, auth, data models, or integrations. ## Core Philosophy > **Surgery, not demolition.** Remove only what is provably dead. Preserve everything else. Never: - Rewrite working systems for cosmetic reasons - Rename routes, slugs, or API endpoints that may be indexed or cached - Change tool inputs/outputs, API contracts, DB schema, or auth flow - Delete files you haven't verified are unused - Make broad sweeping changes in a single commit Always: - Make small, targeted, reversible changes - Validate after every meaningful batch of changes - Prefer shared helpers over copy-pasted blocks - Keep backward compatibi

What's inside
Steps it walks through
  1. When to Use
  2. Core Philosophy
  3. Step 1 — Reconnaissance (read before touching)
  4. Step 2 — Fix Broken Imports First
  5. Step 3 — Identify Dead Code (verify before removing)
  6. Step 4 — Consolidate Repeated Logic into Helpers
  7. Step 5 — Environment Variable Audit
  8. Step 6 — Validate After Every Batch
  9. Step 7 — Commit Strategy
  10. What NOT to Clean Up
  11. Cleanup Checklist
  12. Limitations
Commands it runs
List all pages/routes
find . -type f \( -name 'page.js' -o -name 'page.jsx' -o -name 'page.ts' -o -name 'page.tsx' \)
find pages -type f \( -name '*.js' -o -name '*.jsx' -o -name '*.ts' -o -name '*.tsx' \) | rg -v '/_' | sort
Find broken imports (TS projects)
npx tsc --noEmit 2>&1 | head -80
Find unused exports (optional, for larger projects)
npx ts-prune 2>/dev/null | head -40
Check for console.log / debug leftovers
grep -r "console\.log\|debugger\|TODO\|FIXME\|HACK" --include="*.{js,ts,jsx,tsx}" -l
npx tsc --noEmit 2>&1
More from agentic-awesome-skills
All skills →
About this skill
What does the vibe-code-cleanup skill do?

Safe production cleanup and hardening for vibe-coded fullstack apps (Next.js, React, Node.js, etc.). Removes dead imports, unused files, and broken references without breaking routes or APIs.

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill vibe-code-cleanup --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going