/agent-toolkit:antislop-codefrom Agent Toolkit
Filters code comments that read as generic AI-slop (decorative separators, restating the obvious) while preserving informative comments. Use when writing or editing code comments alongside the antislop core.
Ships in Agent Toolkit. 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.
Vendored skill. This is a copy of antislop by Miqdad Badjuber, MIT, pinned at commit
7437352. The rules below are the author's. The Agent Toolkit adapted the packaging (frontmatter, line width, cross-references, and one rule conflict); every change is listed invendor/anti-slop.json. Report rule problems upstream, packaging problems to this toolkit.
Anti Slop: Rules for AI Coding Agents. Code Comments skill
Part of the antislop system. Read together with the
antislopskill (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 skill 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:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub coderbuzz/agent-toolkit --plugin agent-toolkitOther plugins' skills for the same job
31 skills in this plugin
/antislopFilter generic AI slop out of UI, copy, and code. The core rule set (R-01 to R-38), the liveliness dials, and the delivery gate. Use when generating or editing an interface, prose, or code comments, and load the matching companion skill for depth./antislop-copywritingDepth on the copy and text concern for antislop: headlines, tone, CTAs, and the patterns that make prose read as AI-written. Use when writing or editing prose. Load together with the antislop core./antislop-humanDepth on the human and accessibility concern for antislop: contrast, keyboard, focus, and states. Includes the contrast checker. Use when building or editing UI. Load together with the antislop core.