All skills
brianlovin avatar

/deslop

@30d44c1 official

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

Use this Skill: https://skilld.dev/gh/brianlovin/claude-config/deslop

This session only. Nothing lands on disk.

SKILL.md

≈40 tokens always: the name and description. ≈133 when used: this file.

Remove AI code slop

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

Report at the end with only a 1-3 sentence summary of what you changed

Source: SKILL.md on GitHub

1 warning16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill is designed to clean up AI-generated code by removing unnecessary comments and defensive checks. It processes code diffs, which could potentially contain malicious instructions if the code being reviewed was created by an untrusted source. This is a common attack surface for skills that process external text or code.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    1/1 file flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 30d44c1. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 8 months ago

README badge

README badge for brianlovin/claude-config/deslop

Removes unnecessary comments, defensive checks, type casts, and style inconsistencies from the current Git branch by diffing against main. Targets cleanup of AI-generated code patterns that deviate from the repository's existing conventions.

Generated from the current SKILL.md.

What counts as AI slop that this skill removes?
The skill targets extra comments inconsistent with the file style, over-defensive try/catch blocks and validation checks on trusted code paths, type casts to any, and other style inconsistencies introduced by AI generation.
Does this skill modify files or just report what could be changed?
The SKILL.md does not specify whether changes are applied automatically or shown for review before commit.
How does this skill determine what's slop versus legitimate code?
It compares the diff against main and relies on the AI agent to identify patterns that deviate from the existing codebase style and safety practices.

Generated from the current SKILL.md. These answers refresh after source changes.