unslop

Remove redundant comments and unused code from codebases.

Updated Jan 2, 2026
One-click install
npx skills add https://github.com/onmax/claude-config --skill unslop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unslop
Source: https://github.com/onmax/claude-config/tree/main/skills/unslop
Command: npx skills add https://github.com/onmax/claude-config --skill unslop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes AI-generated "slop" from codebases, making code cleaner, more efficient, and easier to maintain by deleting redundant comments and unused code, tightening formatting, and normalizing styling patterns.

Core Features & Use Cases

  • Redundant Comment Removal: Deletes comments that merely restate the obvious.
  • Dead Code Elimination: Removes unused imports, variables, and commented-out code blocks.
  • Style Normalization: Enforces consistent Tailwind CSS class usage and Nuxt UI color token conventions.
  • Use Case: When AI-generated code is verbose with unnecessary comments or contains unused variables, this Skill can be used to streamline it.

Quick Start

Use the unslop skill to remove all redundant comments and unused imports from the provided code files.

Frequently Asked Questions about unslop

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

FAQPage Schema
How do I remove redundant comments from AI-generated code?

You can clean up AI-generated code by analyzing code structure and comment relevance, then deleting comments that merely restate the obvious. This removes unnecessary verbosity and streamlines the codebase for better maintainability.

What is the best way to eliminate dead code and unused imports?

Eliminating dead code involves analyzing the codebase to identify and remove unused imports, variables, and commented-out code blocks. This refactoring approach reduces file size and ensures only functional, executed code remains.

Does this code cleanup approach work with Tailwind CSS and Nuxt UI?

Yes, this code cleanup approach works with Tailwind CSS and Nuxt UI by normalizing styling patterns. It enforces consistent Tailwind CSS class usage and applies Nuxt UI color token conventions to ensure your code adheres to predefined styling rules.

How do I normalize styling patterns in a verbose codebase?

To normalize styling patterns in a verbose codebase, enforce style conventions like Tailwind CSS and Nuxt UI color tokens while tightening formatting. This standardizes visual structure and eliminates styling inconsistencies across your AI-generated files.

When should I use an automated refactoring tool for code cleanup?

You should use an automated refactoring tool for code cleanup when AI-generated code is verbose with unnecessary comments or contains unused variables. It streamlines the codebase by enforcing style conventions and eliminating redundant structural elements.

Why does AI-generated code contain so much unused code and verbosity?

AI-generated code often contains verbosity and unused code because models tend to over-explain logic with redundant comments and include unnecessary imports. Cleaning this slop requires analyzing comment relevance and removing dead code blocks.