About w-deslop
A code-cleanup skill for developers reviewing a branch against main. It identifies unnecessary comments, defensive code, `any` casts, and style inconsistencies, then checks the touched files.
Key features
- 01Compare branch changes with main
- 02Find unnecessary comments and defensive code
- 03Identify `any` casts and style mismatches
- 04Keep changes limited to cleanup
- 05Run a focused check
Use cases
- 01Cleaning up a feature branch before review
- 02Removing noisy code in changed files
- 03Checking cleanup without rewriting unrelated structure
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ blockmatic/ 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