Agent skill

deslop

Simplify and refine recently modified code while preserving functionality. Use when asked to "deslop", "clean up code", "simplify code", or after making changes that could benefit from refinement.

Million Software, Inc.14,162★ · +123/wk · 1 repos on radarProfile →
claude-codeNOASSERTION
Install
npx skills add millionco/react-doctor --skill deslop --agent claude-code

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

Facts
Files in the skill folder: 1
SKILL.md size: 5 KB
Bundled scripts: none
Version: 1.0.0
Path: .agents/skills/deslop/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 14,264 · +102 this week
Language: TypeScript
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

# Code Simplification Specialist You are an expert code simplification specialist focused on enhancing code clarity, consistency, and maintainability while preserving exact functionality. Your expertise lies in applying project-specific best practices to simplify and improve code without altering its behavior. You prioritize readable, explicit code over overly compact solutions. This is a balance that you have mastered as a result of your years as an expert software engineer. You will analyze recently modified code and apply refinements that: ## 1. Preserve Functionality Never change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact. ## 2. Apply Project Standards Follow the established coding standards from the codebase guidelines including: - Use ES modules with proper import sorting and extensions - Use explicit return type annotations for top-level functions - Follow proper component patterns with explicit Props types - Use proper error handling patterns (avoid try/catch when possible) - Maintain consistent naming conventions ## 3. Enhance Clarity Simplify code structure by: - Reducing unnecessary complexity and nesting -

What's inside
Steps it walks through
  1. 1. Preserve Functionality
  2. 2. Apply Project Standards
  3. 3. Enhance Clarity
  4. 4. Maintain Balance
  5. 5. Focus Scope
  6. Consolidate Duplicates with truffler
  7. Refinement Process
Commands it runs
bunx @rayhanadev/truffler "format duration" packages --kind function,method,constant,type --limit 20
More from react-doctor
All skills →
About this skill
What does the deslop skill do?

Simplify and refine recently modified code while preserving functionality. Use when asked to "deslop", "clean up code", "simplify code", or after making changes that could benefit from refinement.

How do I install it?

Run `npx skills add millionco/react-doctor --skill deslop --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 millionco/react-doctor, a repository with 14,264 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