One-click install
npx skills add https://github.com/artivilla/agents-config --skill deslop-artivilla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deslop
Source: https://github.com/artivilla/agents-config/tree/main/skills/deslop
Command: npx skills add https://github.com/artivilla/agents-config --skill deslop-artivilla

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove AI-generated slop from the current branch. Use after writing code to clean up unnecessary comments, defensive checks, and inconsistent style.

Core Features & Use Cases

  • Remove AI-generated slop from code branches by diffing against the main branch to surface only meaningful changes.
  • Normalize stylistic issues, comments, and defensive checks to align with the project's established conventions.
  • Use case: after AI-assisted code generation, run deslop to produce a clean, reviewable diff.

Quick Start

Run deslop on the current branch to remove AI-generated slop from code and leave clean, consistent diffs.

Frequently Asked Questions about deslop

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

FAQPage Schema
How do I clean up AI-generated code slop from my git branch?

To clean up AI-generated code slop from a branch, run deslop to compare the current branch diff against main, flag disallowed patterns, and normalize unnecessary comments or inconsistent styling into a concise, reviewable summary.

What is AI-generated code slop and how does it affect code review?

AI-generated code slop consists of unnecessary comments, defensive checks, and inconsistent styling introduced during AI-assisted edits. It complicates code review by cluttering diffs, making it harder to surface meaningful changes against the main branch.

How do I remove unnecessary comments and inconsistent styling from AI-assisted code?

You can remove unnecessary comments and inconsistent styling from AI-assisted code by running deslop. It normalizes stylistic issues and defensive checks to align with the project's established conventions, leaving a clean diff.

Can I use deslop to normalize defensive checks in my current branch diff?

Yes, deslop normalizes defensive checks in your current branch diff. It compares the branch against main to surface only meaningful changes, aligning defensive code patterns with the project's established conventions.

Does deslop work with version control to surface only meaningful branch changes?

Yes, deslop works with version control by diffing the current branch against the main branch. This surfaces only meaningful changes while flagging and removing AI-generated slop like unnecessary comments and inconsistent styling.

What are the limitations of using linting to clean AI-generated code from branches?

Standard linting often fails to remove AI-generated code slop because it lacks branch context. Deslop overcomes this by diffing against main to target AI-specific patterns like unnecessary comments and defensive checks, rather than just syntax errors.