cursorrules

A set of coding rules for Cursor, an AI code editor, that requires generated code to pass Atelier’s quality checks. The checks cover interface design and backend architecture, including spacing, typography, contrast, credentials, and other stated rules.

In plain words
What is it for?
Use it when generating application interfaces or backend code in Cursor and you want those projects checked against Atelier’s rules.
Why use it?
It gives generated code fixed standards to follow, reducing inconsistent design decisions and common architectural mistakes.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/anshrajore/atelier-mcp/cursorrules
Clone the repo
git clone --depth 1 https://github.com/anshrajore/atelier-mcp

Made for: Cursor.

Per session 491 This file is loaded in full into every session.
When invoked 491 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00491 $0.00491
Opus 5 $0.00246 $0.00246
Sonnet 5 $0.00098 $0.00098
Haiku 4.5 $0.00049 $0.00049

Measured yesterday against content hash 3a8222886b9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cursorrules 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 yesterday.

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.

Origin

This is a copy

100% identical to atelier — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursorrules · 24 lines

How it starts

The opening of the file, as written. The whole thing — 24 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Atelier Quality Gate Adapter for Cursor (.cursorrules)

GENERATED FROM skills/atelier/SKILL.md — DO NOT EDIT DIRECTLY.

Run npm run sync-adapters to update.

You must strictly obey the Atelier post-generation quality gate rules for all code generation:

UNIVERSAL UI/UX RULES

  • BASE-UI-101: All layout margins, paddings, and container gaps must strictly conform to an 8px harmonic grid (subgrid: 4px).
  • BASE-UI-102: Font sizes must derive from a standardized modular scale, with negative tracking on display text (>=24px) and wide tracking on micro-labels (<=12px uppercase).
  • BASE-UI-103: Body text and interactive icons must maintain a minimum contrast ratio of 4.5:1 against their rendered background (3.0:1 for text >= 24px).
  • BASE-UI-104: A single screen or viewport state must contain exactly one primary high-emphasis call-to-action (CTA) or focal headline.
  • BASE-UI-105: Visual surfaces must enforce a hard ceiling on decorative elements (gradients, drop shadows, decorative animations) per view to eliminate visual clutter.

UNIVERSAL BACKEND ARCHITECTURE RULES

  • BASE-BE-201: Source code and configuration files must contain zero plaintext credentials, API tokens, or fallback defaults.
  • BASE-BE-202: All external input boundaries (HTTP request body, query parameters, URL path parameters, webhook payloads) must parse through a typed schema validator before business logic execution.
  • BASE-BE-203: Application error handlers must map exceptions to standard HTTP error codes and must never expose internal system stack traces, database schema details, or raw driver errors to clients.
  • BASE-BE-204: Every branching condition, pipeline node, and asynchronous promise must resolve to an explicit terminal response, error handler, or dead-letter logger.
  • BASE-BE-205: All public entry points and outgoing third-party network requests must define explicit timeout caps and rate limiting middleware.

FRAMEWORK PRESETS (Available in skills/atelier/presets/)

  • Next.js + Tailwind: skills/atelier/presets/nextjs-tailwind.md (17 gradeable rules)
  • n8n Workflows: skills/atelier/presets/n8n.md (13 gradeable rules)

Read the full file on GitHub · 24 lines

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. yesterday First seen · 24 lines · 491 tokens per session scan A 3a8222886b9c

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository anshrajore/atelier-mcp (0 stars, last pushed 14d ago), licensed MIT. It adds 491 tokens to every session, about $0.0025 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to atelier, differing in 7 lines, and is treated as a copy.