- name
Code comment hygiene for AI coding agents: remove generic AI-slop comments, keep the valuable ones, never touch the code.
SKILL.md
The skill file stays in the publisher's repository.
Paste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add miqdadbadjuber/anti-slop --skill antislop-code -a cursor -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add miqdadbadjuber/anti-slop --skill antislop-code -a claude-code -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add miqdadbadjuber/anti-slop --skill antislop-code -a codex -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add miqdadbadjuber/anti-slop --skill antislop-code -a grok -ySend the copied message in a Grok Bot chat. The Bot fetches this SKILL.md from GitHub and adds it to the skills all your Bots share.
Install this skill: https://github.com/miqdadbadjuber/anti-slop/tree/HEAD/skills/antislop-codeFrom the publisher
Anti Slop: Rules for AI Coding Agents. Code Comments skill
Part of the antislop system. Read together with
antislop.md(the core). This skill filters comments that read as generically AI (decorative, restating the obvious, stiff, loud) while preserving the comments that carry real information. It references core rules by number and never duplicates or renumbers them. Load it when the task writes or edits code comments.
antislop.md whenever the task touches code comments. The core holds the mechanism (the purpose test, the three tiers, the Delivery Gate); this skill holds comment-specific depth.// ======================= around Authentication, // -------- WORKFLOW --------, or a /* ---- ROUTES ---- */ header.= or - signals "AI made this" without adding information, and ALL CAPS reads as shouting.// Initialize the variable above let count = 0, // User class above class User {}, // Validate user above function validateUser(), or const userAge = 25; // User age is 25.// Step 1: Validate input, // Step 2: Process request, // Step 3: Return response, or // First..., // Next..., // Finally....// Main logic, // Core logic, // Business logic, // Helper function, // Entry point, // Error handling, or // Note: This is important. / // Important: Please read.// TODO: Improve this, // Future improvements, // Additional optimization can be added here, // Add more validation.@param price The price. and @returns Total price. for a function whose name and parameters already say all of it.// β
Validation or // π Performance.} // end if, # End of function, or // End processOrder.// Initialize count, then // Loop items, then // Get item, then // Increment, then // Return result.// MAIN LOGIC in caps.// Validate credentials before issuing a token. Good comments explain why, not what, and they stay short.Never remove comments that explain:
Example that must stay:
// Stripe may retry webhook deliveries for up to three days.
// Ignore duplicate events using the event ID.
A comment earns its place when it explains something the code does not already show: the reason, the constraint, the non-obvious behavior.
Earning a place says what may stay, never how long it may run. A workaround note is one line about the workaround, not a paragraph about it. The example above is two lines because two facts are real, not because two lines is a target. This list is the most common reason a comment survives a review it should not: the content is legitimately valuable, so the length goes unexamined. Value is not length.
Run these alongside the core Delivery Gate when the task touches comments. All answers must be yes:
Β© 2026 Skills Rack.
---name: antislop-codedescription: Code comment hygiene for AI coding agents: remove generic AI-slop comments, keep the valuable ones, neverβ¦---# skills/antislop-code/SKILL.mdFAQ
Download skills/antislop-code/SKILL.md from the publisher, or copy the path and open the repository. PlugMCP lists the skill and does not host the file.
The publisher keeps it at https://github.com/miqdadbadjuber/anti-slop.
Claude, Cursor, Codex, and Grok Build can read a SKILL.md you add from the publisher's repository. Grok Bot installs it when you send the skill's GitHub folder link in a chat.