rules Cursor ruleA

rules from thedaviddias/llms-txt-hub is a Cursor rule: instructions the Cursor agent follows in that repo.

Install it, pinned
mdr add thedaviddias/llms-txt-hub/.cursor/rules/rules.mdc@git:20250224.001a864

Pins git:20250224.001a864 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
Cursor rule
Repository
thedaviddias/llms-txt-hub
Path
.cursor/rules/rules.mdc
Versions recorded
1
Latest version
git:20250224.001a864, committed Feb 24, 2025
Size
1,843 bytes
Repository stars
914
License
a license file GitHub does not identify

Rules for placing and organizing Cursor rule files in the repository.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Cursor Rules Location

<rule>
name: cursor_rules_location
description: Standards for placing Cursor rule files in the correct directory
filters:
  # Match any .mdc files
  - type: file_extension
    pattern: "\\.mdc$"
  # Match files that look like Cursor rules
  - type: content
    pattern: "(?s)<rule>.*?</rule>"
  # Match file creation events
  - type: event
    pattern: "file_create"

actions:
  - type: reject
    conditions:
      - pattern: "^(?!\\.\\/\\.cursor\\/rules\\/.*\\.mdc$)"
        message: "Cursor rule files (.mdc) must be placed in the .cursor/rules directory"

  - type: suggest
    message: |
      When creating Cursor rules:

      1. Always place rule files in PROJECT_ROOT/.cursor/rules/:
         ```
         .cursor/rules/
         ├── your-rule-name.mdc
         ├── another-rule.mdc
         └── ...
         ```

      2. Follow the naming convention:
         - Use kebab-case for filenames
         - Always use .mdc extension
         - Make names descriptive of the rule's purpose

      3. Directory structure:
         ```
         PROJECT_ROOT/
         ├── .cursor/
         │   └── rules/
         │       ├── your-rule-name.mdc
         │       └── ...
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add thedaviddias/llms-txt-hub/.cursor/rules/rules.mdc@sha256:2976b94174a342cc

The line at the top of this page pins the label git:20250224.001a864, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_c7j32pwimgppqfib.svg)](https://markdownregistry.com/a/art_c7j32pwimgppqfib)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Feb 24, 2025.

versioncommittedcommitsizeaudit
git:20250224.001a864 latest2025-02-24 001a864 1,843 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (1843 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

thedaviddias/llms-txt-hub · 914 stars · license a license file GitHub does not identify · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_c7j32pwimgppqfib
GET https://markdownregistry.com/api/v1/resolve?ref=thedaviddias/llms-txt-hub/.cursor/rules/rules.mdc
GET https://markdownregistry.com/api/v1/blob/2976b94174a342ccb0d044d6ff75ebecd2c2f8eff7d49da07592c9a32543a07d

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: Cursor rules vs AGENTS.md · which agent file does what.

More from thedaviddias/llms-txt-hub

design-system Cursor rule
thedaviddias/llms-txt-hub · .cursor/rules/design-system.mdc · UI Best Practices
git:20250224.001a864 · audit A · 914 stars
functions Cursor rule
thedaviddias/llms-txt-hub · .cursor/rules/functions.mdc · Rules for writing TypeScript functions
git:20250224.001a864 · audit A · 914 stars
jsdoc-comments Cursor rule
thedaviddias/llms-txt-hub · .cursor/rules/jsdoc-comments.mdc · add jsdoc comments to components and methods
git:20250224.001a864 · audit A · 914 stars
nextjs Cursor rule
thedaviddias/llms-txt-hub · .cursor/rules/nextjs.mdc · Best Practices for Next.js with App Router
git:20250301.62fad3c · audit A · 914 stars
shared Cursor rule
thedaviddias/llms-txt-hub · .cursor/rules/shared.mdc · Shared rules accross all packages
git:20250301.62fad3c · audit A · 914 stars
testing Cursor rule
thedaviddias/llms-txt-hub · .cursor/rules/testing.mdc · Rules for writing Jest tests in TypeScript
git:20250301.62fad3c · audit A · 914 stars
website Cursor rule
thedaviddias/llms-txt-hub · .cursor/rules/website.mdc · Rules for the main website
git:20250301.62fad3c · audit A · 914 stars
.cursorrules Cursor rule
thedaviddias/llms-txt-hub · .cursorrules
git:20250224.001a864 · audit A · 914 stars
AGENTS.md AGENTS.md file
thedaviddias/llms-txt-hub · AGENTS.md
git:20260327.45fe3d1 · audit B · 914 stars
CLAUDE.md CLAUDE.md file
thedaviddias/llms-txt-hub · CLAUDE.md
git:20260213.28e904e · audit A · 914 stars
llms-full.txt@packages/content/data/unofficial/embla-carousel llms.txt file
thedaviddias/llms-txt-hub · packages/content/data/unofficial/embla-carousel/llms-full.txt
git:20250402.df85aa1 · audit B · 914 stars
llms.txt@packages/content/data/unofficial/embla-carousel llms.txt file
thedaviddias/llms-txt-hub · packages/content/data/unofficial/embla-carousel/llms.txt
git:20250402.df85aa1 · audit A · 914 stars

Every file in thedaviddias/llms-txt-hub

Other files named rules

rules SKILL.md skill
code-yeongyu/oh-my-openagent · packages/omo-codex/plugin/components/rules/skills/rules/SKILL.md · Use when the user asks about Codex Rules behavior, injected project rules, supported rule file locations, matching, or…
git:20260603.44361cf · audit A · 70,277 stars
rules SKILL.md skill
kochetkov-ma/claude-brewcode · .codex/plugins/brewcode/skills/rules/SKILL.md · Maintains project .codex/rules and the AGENTS.md rule index. Explicit user invocation only.
git:20260930.2f50853 · audit A · 37 stars
rules SKILL.md skill
kochetkov-ma/claude-brewcode · brewcode/.codex/skills/rules/SKILL.md · Maintains project .codex/rules and the AGENTS.md rule index. Explicit user invocation only.
git:20260930.2f50853 · audit A · 37 stars
rules SKILL.md skill
kochetkov-ma/claude-brewcode · brewcode/skills/rules/SKILL.md · Syncs KNOWLEDGE.jsonl or session learnings to project rules. Triggers: rules, knowledge sync, extract rules.
git:20261017.43a1a80 · audit A · 37 stars
rules SKILL.md skill
mikeprasad/aria-knowledge · plugin-claude-cowork/skills/rules/SKILL.md · Quick lookup into working rules. Use when user says "/aria-cowork:rules", "/aria-cowork:rules 22", "/aria-cowork:rules…
git:20260827.e9e0353 · audit A · 17 stars
rules SKILL.md skill
mikeprasad/aria-knowledge · plugin-openai-codex/skills/rules/SKILL.md · Load and apply ARIA working rules, user rules, examples, and the change decision framework. Trigger on /rules, show…
git:20260725.82f826d · audit A · 17 stars
rules SKILL.md skill
mikeprasad/aria-knowledge · plugin-antigravity/skills/rules/SKILL.md · Quick lookup into working rules. Use when user says '/rules', '/rules 22', '/rules dependencies', 'look up rule…
git:20260725.82f826d · audit B · 17 stars
rules SKILL.md skill
mikeprasad/aria-knowledge · plugin-claude-code/skills/rules/SKILL.md · Quick lookup into working rules. Use when user says '/rules', '/rules 22', '/rules dependencies', 'look up rule…
git:20260827.e9e0353 · audit B · 17 stars

Browse by kind, by grade A, or by owner.