16-anti-patterns

16-anti-patterns is a cursor rule for Cursor from saralobo/rules-design-bible. It costs 2,371 tokens per session, scanned A, original, no licence file.

A collection of warnings about incorrect layout patterns, including uneven padding in automatically sized elements that can create unwanted oval or cylindrical shapes.

In plain words
What is it for?
Use it when checking automatic layouts, padding, and component shapes for common mistakes.
Why use it?
It helps you spot layout choices that produce visibly incorrect results.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when checking automatic layouts, padding, and component shapes for common…

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/saralobo/rules-design-bible/16-anti-patterns
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/saralobo/rules-design-bible

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 16-anti-patterns

README.md
[![agentmods](https://agentmods.dev/badge/rules/saralobo/rules-design-bible/16-anti-patterns.svg)](https://agentmods.dev/rules/saralobo/rules-design-bible/16-anti-patterns)
Your own site
<a href="https://agentmods.dev/rules/saralobo/rules-design-bible/16-anti-patterns"><img src="https://agentmods.dev/badge/rules/saralobo/rules-design-bible/16-anti-patterns.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,371 This file is loaded in full into every session.
When invoked 2,371 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.02371 $0.02371
Opus 5 $0.01185 $0.01185
Sonnet 5 $0.00474 $0.00474
Haiku 4.5 $0.00237 $0.00237

Measured 7d ago against content hash b478d7e4aaca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

16-anti-patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/16-anti-patterns.mdc · 367 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 367 lines · 2,371 tokens per session scan A b478d7e4aaca

Subscribe to this mod's changes

16-anti-patterns is a cursor rule published in the GitHub repository saralobo/rules-design-bible (24 stars, last pushed 5mo ago), with no licence file. It adds 2,371 tokens to every session, about $0.0119 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other cursor rules, from other repositories

compress-md-landing-page-prompt.crux

⟦CRUX:compress-md-landing-page-prompt.md Ρ{compress.md landing page} target=single static page for CRUX-Compress repo=github.com/zotoio/CRUX-Compress domain=compress.md; status=EXPERIMENTAL! msg="Reclaim ≤80% ctx window. CRUX→semantic core extraction" journey{land→compression viz»scroll»explore»expand spec»install}.

zotoio/CRUX-Compress · 0 tokens

components

Rules for component usage - which component libraries are allowed (shadcn/ui, Aceternity, Kibo, Magic UI, etc.), reuse over recreation, table implementation standards, and component modularization for both new features and existing components.

sayeedjoy/cursor-rules · 524 tokens

006-ui-styling

Enforce consistent UI styling practices across the codebase for a cohesive visual experience, maintainability, and performance.

cedricfressin/cursor.rules · 1,191 tokens

011-accessibility-inclusion

Implement accessibility features when building interfaces to ensure usability for all users including those with disabilities.

cedricfressin/cursor.rules · 1,010 tokens

react-chakra-ui-cursorrules-prompt-file

Cursor rules for React development with Chakra UI integration.

PatrickJS/awesome-cursorrules · 248 tokens

components

CTA: inline-flex items-center justify-center gap-2 h-10 px-4 text-[1rem] font-medium bg-primary-500 text-white rounded-lg hover:bg-primary-700 cursor-pointer Sub: inline-flex items-center justify-center gap-2 h-10 px-4 text-[1rem] font-medium bg-white text-slate-700 border border-slate-200 rounded-lg hover:bg-gray-50…

tsubotax/melta-ui · 0 tokens