polish

Remove AI slop, comments, and lint errors from changed files in git diff main...HEAD.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/emirrtopaloglu/claude-code-virtuoso --skill polish-emirrtopaloglu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polish
Source: https://github.com/emirrtopaloglu/claude-code-virtuoso/tree/main/.claude/skills/polish
Command: npx skills add https://github.com/emirrtopaloglu/claude-code-virtuoso --skill polish-emirrtopaloglu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Codebases accumulate AI-generated suggestions, comments, and inconsistent lint results, leading to unreadable and brittle code. This Skill removes slop and fixes lint errors in the current branch to restore cleanliness and maintainability.

Core Features & Use Cases

  • Identify and remove slop, stray comments, and dead or unnecessary code without altering logic.
  • Run available linters/formatters (e.g., ESLint, Black, Ruff, Prettier) on changed files to fix issues and improve consistency.
  • Confine changes to files detected by git diff main...HEAD, enabling safe polish during collaborative development.

Quick Start

Use the polish skill to clean up slop and lint errors in the active branch.

Frequently Asked Questions about polish

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

FAQPage Schema
How do I remove AI slop and clean up lint errors in my git branch?

To remove AI slop and clean lint errors in your git branch, you need a tool that targets changed files in git diff main...HEAD. It strips stray comments and dead code without altering logic, then runs available linters like ESLint or Ruff to fix remaining issues.

What is the best way to clean up AI-generated code and comments without altering logic?

The best way to clean up AI-generated code and comments without altering logic is to run a code polish process confined to your git diff. This removes slop and dead code while preserving the original algorithmic structure of JavaScript, TypeScript, or Python files.

Do I need ESLint and Black installed to automatically fix lint errors on changed files?

Yes, you need standard tooling like ESLint, Black, Ruff, Prettier, or the TypeScript compiler installed in your workspace. The polish process requires these dependencies to be available so it can automatically run them on changed files to fix lint errors and improve consistency.

Can I run code cleanup and linting only on files changed in my current branch?

Yes, you can run code cleanup and linting only on files changed in your current branch. The process confines its operations to files detected by git diff main...HEAD, ensuring safe polish during collaborative development without touching untouched code.

Does code polish work with both Python and TypeScript configuration files?

Yes, code polish works with Python, JavaScript, TypeScript, and their related configuration files. It identifies and removes slop, stray comments, and dead code across these languages, then applies appropriate formatters like Black, Ruff, ESLint, or Prettier.

Why should I not use automated linting on my entire codebase during active development?

You should not use automated linting on your entire codebase during active development because it can create unsafe modifications outside your current scope. Confining cleanup to git diff main...HEAD ensures safe polish during collaborative development without introducing unexpected changes.