agentleFS
roedyrustamroedyrustam/vibes-plug/.cursor/rules/vibes-plug-anti-slop.mdc

vibes-plug / rules

Cursor rule129 starsChanged 12 days agoMITView on GitHub

Sovereign Anti-Slop Directive for Cursor AI — Absolute zero-tolerance for lazy placeholders, truncated code, syntax narration, and UI clichés

The file

We split this vibes-plug-anti-slop.mdc into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Delete dead, commented-out code permanently.

    line 27
  2. Very specific:

    Zero generic AI UI tropes: No purple-indigo neon gradients, no blurred neon glow orbs, no pill button addiction (rounded-full on …

    line 37
  3. Distinctive:

    5-State Interactive Contract: Every button, input, and interactive component must define 5 distinct visual states:

    line 38
  4. Very specific:

    Tabular Numerals: Always apply tabular-nums on monetary figures, counters, tables, and metrics to prevent layout shifts.

    line 44
  5. Distinctive:

    Run verification check before committing or completing tasks:

    line 48

≈ “Common” is an estimate: at least 1 in 5 of the 7,324 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
vibes-plug-anti-slop.mdc
---
alwaysApply: true
description: "Sovereign Anti-Slop Directive for Cursor AI — Absolute zero-tolerance for lazy placeholders, truncated code, syntax narration, and UI clichés"
globs: "**/*.{ts,tsx,js,jsx,py,go,rs,css,html,json,sql}"
---

# Sovereign Anti-AI Slop Directive (Cursor Enforcement)

## Pillar 1: Conversational Slop Eradication
- Deliver code directly. Never apologize robotically, never repeat user prompts verbatim, zero trailing cheerleading.
- Provide succinct architectural rationale (WHY) rather than narrative descriptions of mechanics.

## Pillar 2: Placeholder & Truncation Elimination (Absolute Invariant)
- **NEVER** output lazy placeholder comments like:
  - `// TODO: Implement later`
  - `// ... rest of code remains unchanged ...`
  - `/* Add other fields here */`
- Any code file produced MUST be **100% complete, fully implemented, syntactically valid, and working on the first try**.
- Fake mock arrays and in-memory stubs are strictly forbidden in production endpoints.

## Pillar 3: Speculative Over-Engineering (Hyper-YAGNI)
- Ban premature abstraction layers, unnecessary factories, and redundant DTO wrappers.
- Rely on static types and strict schema contracts (`TypeSpec`, `OpenAPI 3.1`, `Zod`, `Pydantic`).

## Pillar 4: Syntax Narration vs Architecture Rationale
- Comments must only explain non-obvious business invariants, architectural trade-offs, or mathematical bounds.
- Delete dead, commented-out code permanently.

## Pillar 5: Hallucination & AI Smells
- Ban phantom imports and fabricated library methods.
- Ban silent error suppression (`catch (e) {}` is strictly prohibited). Always log structured errors with context (`Pino` / `Sentry`).

## Pillar 6: Documentation Sanitation
- Technical specs must contain concrete PostgreSQL DDL schemas, JSON request/response contracts, and numeric NFR budgets. Zero vague corporate buzzwords.

## Pillar 7: Professional UI Craftsmanship (Linear/Stripe-Caliber)
- **Zero generic AI UI tropes**: No purple-indigo neon gradients, no blurred neon glow orbs, no pill button addiction (`rounded-full` on rectangular buttons is banned).
- **5-State Interactive Contract**: Every button, input, and interactive component must define 5 distinct visual states:
  1. `default`
  2. `hover`
  3. `focus-visible` (keyboard accessibility focus ring)
  4. `active` (pressed down state)
  5. `disabled` (clear contrast reduction and cursor-not-allowed)
- **Tabular Numerals**: Always apply `tabular-nums` on monetary figures, counters, tables, and metrics to prevent layout shifts.
- **Borders & Radius**: Crisp `1px` subtle borders (`border-border/50` or `ring-1 ring-border`) with intentional radius scales (e.g., `rounded-lg`).

## Verification
Run verification check before committing or completing tasks:
```bash
node scripts/check-anti-slop.js --strict
```

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.