cursorrules

A set of rules that tells Cursor, an AI coding editor, how to work within a project.

In plain words
What is it for?
Use it to point Cursor to AGENTS.md, enforce project rules, guide documentation, run checks after changes, and format commits.
Why use it?
It gives the editor the project's coding standards, documentation practices, change limits, testing expectations, and commit format.

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/florian101010/awesome-agentic-ai-coding-template/cursorrules
Clone the repo
git clone --depth 1 https://github.com/florian101010/awesome-agentic-AI-coding-template

Made for: Cursor.

Per session 467 This file is loaded in full into every session.
When invoked 467 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.00467 $0.00467
Opus 5 $0.00234 $0.00234
Sonnet 5 $0.00093 $0.00093
Haiku 4.5 $0.00047 $0.00047

Measured 2d ago against content hash d2b68badc946, 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 2d 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.

.cursorrules · 55 lines

What it actually says

/**

  • .cursorrules
  • Cursor AI configuration file. Points Cursor to the shared AGENTS.md rules
  • and project-specific coding standards. Cursor reads this file automatically
  • when opening the workspace.
  • For the full rule set, see AGENTS.md (root). */

You are working on a project that uses AI coding agents across multiple tools. Read and follow AGENTS.md at the repository root — it contains the authoritative coding rules, file structure, and constraints for this project.

Key Rules

  • Follow all rules in AGENTS.md — they apply to every AI agent including Cursor.
  • Follow coding standards in .agent/rules/coding-standards.md.
  • Use commit format: type(optional-scope): description.
  • Minimal changes — only touch files necessary for the task.
  • No unsolicited features — don't add functionality the user didn't ask for.

Documentation Hygiene

  • Use | --- | --- | separator style for all Markdown tables.
  • Every fenced code block must include a language specifier.
  • Single H1 per file, logical heading increments.

After Every Change

  1. Run [FILL: your test command, e.g. npm test].
  2. Commit with format type(scope): description.
  3. Ensure pre-commit hooks pass.

Available Workflows

See .agent/workflows/ for reusable procedures:

  • feature-delivery.md — End-to-end feature workflow
  • hotfix.md — Emergency hotfix procedure
  • doc-audit.md — Documentation drift audit
  • pr-analysis.md — PR quality review
  • release-readiness.md — Pre-release quality gate
  • architecture-change.md — ADR-gated architecture changes

Key Files

File Purpose
AGENTS.md Authoritative agent rules (all tools)
CLAUDE.md Claude Code specific rules
.github/copilot-instructions.md GitHub Copilot rules
.agent/rules/ Gemini/Antigravity/Jules always-on rules
.agent/workflows/ Reusable workflow procedures
docs/ARCHITECTURE.md Template architecture and design decisions
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. 2d ago First seen · 55 lines · 467 tokens per session scan A d2b68badc946

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository florian101010/awesome-agentic-AI-coding-template (4 stars, last pushed 6mo ago), licensed MIT. It adds 467 tokens to every session, about $0.0023 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.