cursorrules

A set of Cursor rules for Blueprint Modular, a UI component library whose npm package is named @blueprint-modular/core and whose components use the bpm namespace.

In plain words
What is it for?
Use it when changing Blueprint Modular components, especially to check repository structure, document public properties, update API references, and follow the required branch and pull-request workflow.
Why use it?
It gives contributors shared rules for pull requests, security, server rendering, TypeScript, documentation, file locations, and commit naming.

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/blueprint-master/blueprint-modular/cursorrules
Clone the repo
git clone --depth 1 https://github.com/Blueprint-Master/blueprint-modular

Made for: Cursor.

Per session 369 This file is loaded in full into every session.
When invoked 369 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original 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 $0.00369 $0.00369
Opus 5 $0.00185 $0.00185
Sonnet 5 $0.00074 $0.00074
Haiku 4.5 $0.00037 $0.00037

Measured yesterday against content hash f1318cc14bea, 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.

.cursorrules · 39 lines

What it actually says

Blueprint Modular — Cursor Rules

Identité

Blueprint Modular est la bibliothèque UI de l'écosystème Blueprint. Package npm : @blueprint-modular/core Composants : namespace bpm.*

Principes inviolables

  • Pas de push direct sur master. Toujours via PR.
  • Un changement = une PR.
  • Pas de secrets dans le code versionné.
  • Composants SSR-safe par défaut (pas d'accès window/document sans guard).

Conventions composants bpm.*

  • Une responsabilité par composant.
  • Props typées explicitement.
  • JSDoc obligatoire sur les props publiques (@component, @description, @param, @example).
  • Mise à jour synchrone de public/llms.txt après chaque modification.
  • Mise à jour de BPM_API.md si l'API publique change.

Structure du repo

  • components/bpm/ : composants bpm.* (source réelle)
  • public/llms.txt : documentation orientée LLM
  • BPM_API.md : documentation orientée humain (si existant)

Check repo

test -d components/bpm && test -f public/llms.txt && echo "REPO_OK_MODULAR" || echo "CHECK_REPO"

Conventions

  • Commits : Conventional Commits (feat/fix/refactor/docs/chore)
  • Branches : fix/, feat/, docs/
  • TypeScript strict, pas de any sans justification
  • Tailwind CSS uniquement (pas de SCSS, pas de CSS modules)
  • npm uniquement (pas de Yarn)

Gouvernance complète

Voir AGENTS.md dans ce repo pour le mode d'emploi détaillé. Voir https://github.com/remigit55/blueprint-maker-memory pour PRINCIPLES.md, CONVENTIONS.md, ROADMAP.md.

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 · 39 lines · 369 tokens per session scan A f1318cc14bea

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository Blueprint-Master/blueprint-modular (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 369 tokens to every session, about $0.0018 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-31.