About w-deslop
w-deslop is a code-cleanup workflow skill for developers reviewing a branch against main. It removes unnecessary comments, defensive code, and inconsistent any casts while limiting edits to the branch’s changes.
Key features
- 01Diff changed files against main
- 02Identify unnecessary code and comments
- 03Remove inconsistent any casts
- 04Avoid unrelated restructuring
- 05Run the smallest relevant check
Use cases
- 01Cleaning up a feature branch before review
- 02Removing defensive noise in modified files
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ blockmatic-icebox/ basilic-skills --skill w-deslopAfter installing, type/w-deslopin Claude Code to confirm it loaded.
Details
From the project READMEDiff this branch against main and remove comments, defensive noise, and any casts that do not match the surrounding file.
- Diff against main for every file this branch changed, including existing files it modified, not only files it added.
- Identify slop: extra comments a human would not add, abnormal try/catch on trusted paths, casts to
any, style inconsistent with the file. - Remove it. Do not rewrite unrelated structure. Run the smallest existing check for the touched files.
- Docs:
/w-docsif behavior or commands changed.
Comments
Markdown supported