modules/home/programs/cli-agents/shared/skills/coding/deslop/SKILL.md
Remove AI-generated slop from the comments and docs a change introduces (task/PR narration, comments restating the code, references to things the reader cannot see), flag low-value tests it adds, and review changed code for redundancy, dead code, and over-engineering. Operates on the current diff only. Use when the user asks to "deslop", "remove AI slop", "simplify", or clean up before a PR.
npx skillsauth add not-matthias/dotfiles-nix deslopInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Remove AI Slop from the comments/docs this PR adds.
AI Coding tools love to add comments everywhere that don't belong to production code.
Remove them, or simplify them like crazy.
Keep only non-obvious why, invariants, gotchas, units/edge cases. When unsure, delete rather than reword. Make the edits and list what you cut, one line each.
It doesn't mean you need to delete documentation. Documentation is different than comments !
It doesn't mean you should blindly shorten/compact comments. Simplifying doesn't equals to compacting. Often, compacting comments creates absolutely unreadable and very hard to understand comments for other readers. Keep comments easy to understand !
Tests: Flag weak tests added by this change (see the testing skill for criteria). When a weak test still covers behavior that matters, warn instead of silently deleting it.
For broader code-simplicity guidance, see the cognitive-load skill.
Ensure to keep the code as minimal as possible, see the minimal-diff skill.
Review the changed code for structural issues and fix them in-place:
documentation
Save notes, journal entries, and research to the personal-notes Obsidian vault (personal-vault-v2). Use when the user asks to 'save note', 'save to notes', 'write to personal notes', 'save to daily notes', 'note this down', or wants to persist findings/analysis to their personal vault.
documentation
Use whenever the user asks to address, fix, resolve, review, or respond to pull-request comments or review feedback.
development
Apply Not Matthias's Rust-first personal coding style. Use whenever the user explicitly asks to apply or review their code style, make Rust match their preferences, perform a style pass, or simplify/refactor according to their conventions. Inspect only task-touched code, honor local project conventions first, and make only safe opt-out style edits.
development
Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for code patterns, find specific language constructs, or locate code with particular structural characteristics.