rmslop
It compares local code to the main branch to delete redundant boilerplate code, excessive comments, and unnecessary try/catch blocks.
Install
mkdir -p .claude/skills/rmslop && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/8887" && unzip -o skill.zip -d .claude/skills/rmslop && rm skill.zipInstalls to .claude/skills/rmslop
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Remove AI code slopKey capabilities
- →Identify AI-injected boilerplate code
- →Remove inconsistent type casts
- →Strip abnormal try/catch blocks
- →Clean up unnecessary comments
How it works
It compares the current branch against the main branch to detect and remove patterns typical of AI-generated code, such as excessive defensive checks and redundant comments.
Inputs & outputs
When to use rmslop
- →Clean up AI-generated code files
- →Remove unnecessary defensive coding blocks
- →Clean up inconsistent comment styles
About this skill
Overview
Check the diff against main, and remove all AI generated slop introduced in this branch.
This includes:
- Extra comments that a human wouldn't add or is inconsistent with the rest of the file
- Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted / validated codepaths)
- Casts to any to get around type issues
- Any other style that is inconsistent with the file
- Unnecessary emoji usage
Report at the end with only a 1-3 sentence summary of what you changed
When not to use it
- →Cleaning non-AI generated code
- →Refactoring functional logic
Prerequisites
Limitations
- →Relies on diff against main branch
- →May flag valid defensive code if it appears abnormal
How it compares
It focuses specifically on removing AI-specific artifacts rather than general code refactoring or formatting.
Compared to similar skills
rmslop side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| rmslop (this skill) | 3 | 7mo | No flags | Beginner |
| effective-go | 323 | 9mo | No flags | Beginner |
| solid-principles | 57 | 9mo | No flags | Intermediate |
| typescript-review | 39 | 2mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by revokslab
View all by revokslab →You might also like
effective-go
openshift
Apply Go best practices, idioms, and conventions from golang.org/doc/effective_go. Use when writing, reviewing, or refactoring Go code to ensure idiomatic, clean, and efficient implementations.
solid-principles
SmidigStorm
Enforce SOLID principles (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion) in object-oriented design. Use when writing or reviewing classes and modules.
typescript-review
metabase
Review TypeScript and JavaScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing TypeScript/JavaScript code.
ast-grep
ast-grep
Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for code patterns, find specific language constructs, or locate code with particular structural characteristics.
serena
massgen
This skill provides symbol-level code understanding and navigation using Language Server Protocol (LSP). Enables IDE-like capabilities for finding symbols, tracking references, and making precise code edits at the symbol level.
typescript
lobehub
TypeScript code style and optimization guidelines. Use when writing TypeScript code (.ts, .tsx, .mts files), reviewing code quality, or implementing type-safe patterns. Triggers on TypeScript development, type safety questions, or code style discussions.