Loading...
Loading...
Code comment hygiene for AI coding agents: remove generic AI-slop comments, keep the valuable ones, never touch the code.
npx skill4agent add miqdadbadjuber/anti-slop antislop-codeAnti Slop: Rules for AI Coding Agents. Code Comments skill
Part of the antislop system. Read together with(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
antislop.md// =======================Authentication// -------- WORKFLOW --------/* ---- ROUTES ---- */=-// Initialize the variablelet count = 0// User classclass User {}// Validate userfunction validateUser()const userAge = 25; // User age is 25// Step 1: Validate input// Step 2: Process request// Step 3: Return response// First...// Next...// Finally...// Main logic// Core logic// Business logic// Helper function// Entry point// Error handling// 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.@returns Total price.// ✅ Validation// 🚀 Performance} // end if# End of function// End processOrder// Initialize count// Loop items// Get item// Increment// Return result// MAIN LOGIC// Validate credentials before issuing a token.// Stripe may retry webhook deliveries for up to three days.
// Ignore duplicate events using the event ID.