W Deslop

blockmatic/basilic-skills/skills/workflow/w-deslop

by blockmatic7e05e2abd052dc6b526e8a28e36d102d42bfd635No license1 starsListed Oct 9, 2026Updated Oct 9, 2026Repository updated 6 days ago

Remove AI-generated slop introduced on this branch relative to main.

Instructions onlySoftware Development
AI-generated overview

Removes AI-generated code slop from a branch by diffing it against main.

What it does
Diffs the current branch against main across all changed files, including modified existing files, and identifies AI-generated slop such as unnecessary comments, defensive try/catch blocks on trusted paths, casts to any, and style inconsistent with the surrounding file. It removes that slop without rewriting unrelated structure and runs the smallest existing check for the touched files. It also points to a docs skill when behavior or commands changed.
When to use it
Use when a branch contains AI-generated code that needs cleanup before review or merge. It suits situations where comments, defensive noise, or any casts have crept in and should be stripped while preserving the rest of the code.
Requirements
Requires access to the repository and its main branch for diffing, plus the ability to run the project's existing checks. Ships no scripts; instructions only.

Diff this branch against main and remove comments, defensive noise, and any casts that do not match the surrounding file.

  1. Diff against main for every file this branch changed, including existing files it modified, not only files it added.
  2. Identify slop: extra comments a human would not add, abnormal try/catch on trusted paths, casts to any, style inconsistent with the file.
  3. Remove it. Do not rewrite unrelated structure. Run the smallest existing check for the touched files.
  4. Docs: /w-docs if behavior or commands changed.

Source and attribution

Source:blockmatic/basilic-skillsinskills/workflow/w-deslopat commit7e05e2a

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal