/antislop:antislop-codefrom antislop
Removes generic AI-generated code comments (decorative separators, restating obvious, workflow narration) while preserving informative ones. Never modifies executable code.
Ships in antislop. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
Run these alongside the core Delivery Gate when the task touches comments. All answers must be yes:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-comments, ai-hygiene, comment-quality, code-review, antislop
17 skills in this plugin
/antislopAnti Slop: Rules for AI Coding Agents. The core filter. Load always to stop generic AI slop./antislop-authenticityContent-authenticity and product-intent rules: fake metrics, testimonials, logos, compliance/performance claims, and evidence-over-claims. Map to antislop-master section H (P5) and E. Use when auditing or writing any claim, stat, or testimonial./antislop-copywritingCopy and text skill for antislop. Use when writing or editing prose: headlines, tone, CTAs, and anti-AI-writing patterns. Load with the core.npx claudepluginhub muris11/anti-ai-slop --plugin antislopOther plugins' skills for the same job