Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

deslop

БесплатноБез исполняемых скриптовНе проверен

Identify and remove AI-generated code patterns (slop). Use when asked to clean up AI-generated code, remove unnecessary comments, or deslop.

spences10от spences10★ 37 звёзд на GitHub

Об этом скилле

Deslop

Identify and remove AI-generated verbosity patterns from code.

Trigger Patterns

  • "/deslop"
  • "clean up AI-generated code"
  • "remove slop"
  • "too much AI verbosity"
  • "remove unnecessary comments"

What This Is NOT

  • Not techdebt-finder — techdebt finds structural issues to refactor. Deslop finds AI verbosity to delete.
  • Not simplify — simplify reviews code for reuse/quality. Deslop targets specific AI generation patterns.

Scope

Target recent or staged changes only, not the whole codebase:

# Check staged changes
git diff --cached --name-only

# Check recent commits (default: last commit)
git diff HEAD~1 --name-only

If the user doesn't specify scope, ask: staged changes or last N commits?

Workflow

1. Determine Scope

Identify which files to scan:

  • Staged files (git diff --cached)
  • Recent commits (git diff HEAD~N)
  • Specific files if user provides them

Only scan code files. Skip markdown, docs, and config files.

2. Scan for Slop Patterns

Read each file in scope. Apply the 10 detection patterns from slop-patterns.md.

For each match, record:

  • File and line number
  • Pattern type
  • The offending code
  • Suggested removal/replacement

3. Classify Findings

Group by severity:

Severity Description Examples
High Pure noise, safe to remove Obvious comments, filler summaries
Medium Likely unnecessary, review Over-engineered error handling, verbose docstrings
Low Possibly intentional, confirm Extra validation, type annotations

4. Present Findings

Show each finding one at a time for user review. Follow the workflow in review-workflow.md.

Format:

## Finding 1/N — [pattern-type] (severity)
File: src/utils.ts:23-25

Current:
  // This function adds two numbers together and returns the result
  function add(a: number, b: number): number {

Suggested:
  function add(a: number, b: number): number {

Remove? [y/n/skip-all-of-type]

5. Apply Approved Removals

Only apply changes the user explicitly approves. Never auto-fix.

After all findings reviewed, show summary:

## Deslop Summary
- Reviewed: 15 findings
- Removed: 10
- Skipped: 5
- Lines removed: 34

Anti-patterns

  • Never auto-fix without user approval
  • Never scan entire codebase unprompted
  • Never remove comments that explain non-obvious logic
  • Never touch markdown or documentation files
  • Never remove license headers or legal comments

References

Полный SKILL.md на GitHub

Установить deslop в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/review-workflow.mdreferences/slop-patterns.md

FAQ

Что делает скилл deslop?

Identify and remove AI-generated code patterns (slop). Use when asked to clean up AI-generated code, remove unnecessary comments, or deslop.

Как установить скилл deslop?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл deslop запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить deslop с