Skip to content

raksbisht/vibe-code-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vibe – Code Cleaner

Vibe – Code Cleaner

Cursor Plugin

Cursor plugin — A friendly code cleaner expert that refactors dirty code: format, noise, dead code, naming, and structure. Stack-agnostic: it analyzes your code first (language, conventions), then applies cleanups. Works with any tech stack.

Install in Cursor

This repo is a Cursor plugin. To use it:

  • From this repo: In Cursor, add a plugin from a Git URL: https://github.com/raksbisht/vibe-code-cleaner, or clone the repo and add the plugin from the repo root (this repository is the plugin).
  • From the marketplace: Install from the Cursor Marketplace when published.
/add-plugin vibe-code-cleaner

Components

Skills

Skill Description
vibe-clean Full cleanup: analyze code (stack/conventions) → format, noise, dead code, naming, structure → apply refactors and output a vibe report.
vibe-check Report-only: analyze and list what would be cleaned; no edits.

Rules

Rule Description
vibe-clean-conventions When the user asks to clean, tidy, or vibe-check code, run the vibe-clean (or vibe-check) skill. Prefer project style; keep tone friendly.

Commands

Command Description
vibe-clean Run the full vibe-clean workflow (analyze → refactor dirty code → vibe report).
vibe-check Run vibe-check (report what would be cleaned; no edits).

Usage

  • Command: Use /vibe-clean to refactor the current file or selection; use /vibe-check to see what would be cleaned without applying.
  • Chat: Ask to "clean this code," "tidy up," "vibe check," or "refactor this dirty code" — the agent runs the appropriate skill.

What it cleans (stack-agnostic)

  • Format: Indentation, quotes, semicolons, trailing spaces, newlines (inferred from the repo).
  • Noise: Stray console/debugger/print, commented-out blocks, pre-ship TODOs.
  • Dead code: Unused imports, unused variables, unreachable code, unused functions.
  • Naming: Unclear names (e.g. x, temp, data2) → suggest clearer names and apply.
  • Structure: Long functions/files, duplication → suggest extract/split and apply.

It analyzes the code first (language, file type, repo conventions) so cleanups fit your stack. No bug detection in v1.

Author & support

Rakesh BishtGitHub. For bugs or feature requests, open an issue.

License

MIT

About

Cursor plugin: friendly code cleaner — format, noise, dead code, naming, structure. Stack-agnostic. /vibe-clean and /vibe-check.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors