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.
npx agentmods add rules/drumnation/unsplash-smart-mcp-server/project-documentation-structure.rulesgit clone --depth 1 https://github.com/drumnation/unsplash-smart-mcp-serverWrote 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.
[](https://agentmods.dev/rules/drumnation/unsplash-smart-mcp-server/project-documentation-structure.rules)<a href="https://agentmods.dev/rules/drumnation/unsplash-smart-mcp-server/project-documentation-structure.rules"><img src="https://agentmods.dev/badge/rules/drumnation/unsplash-smart-mcp-server/project-documentation-structure.rules.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00833 | $0.00833 |
| Opus 5 | $0.00417 | $0.00417 |
| Sonnet 5 | $0.00167 | $0.00167 |
| Haiku 4.5 | $0.00083 | $0.00083 |
Grade A, and why
project-documentation-structure.rules 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 5d 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.
What it actually says
Documentation Workflow (Agent Action)
-
Domain Knowledge Capture: When working on a feature or complex task, capture significant domain knowledge (design decisions, tricky implementation details, rationales, API usage notes, error handling strategies, configuration details) that isn't obvious from the code itself.
-
File Creation & Enhancement for Discoverability:
- Action: Create new Markdown (
.md) files for this knowledge within the appropriate subfolder (e.g., underdocs/features/,docs/concepts/,docs/architecture/adr/). Use descriptive kebab-case filenames. - Action: Include Structured Metadata (YAML Frontmatter): At the very top of EVERY new or significantly updated documentation file, include or update a YAML frontmatter block. This is critical for search and indexing:
--- title: "[Clear, Descriptive Title of Document]" # Human-readable title description: "[One-sentence summary focusing on key concepts and purpose]" # Concise explanation keywords: # Comprehensive list for keyword search (grep) and potential RAG indexing - "[primary topic]" - "[key technology involved, e.g., React, Vitest, Docker]" - "[feature name]" - "[related component name]" - "[core concept]" - "[synonym or alternative term]" - "[specific function name if relevant]" - "[error code if relevant]" related_features: ["[feature-folder-name]", "[another-feature]"] # Links to related feature doc folders (use folder names) related_concepts: ["[concept-folder-name]"] # Links to related concept doc folders related_adr: ["[adr-number]"] # Optional: Link to relevant ADRs last_updated: "[YYYY-MM-DD]" # Date of creation/last significant update # author: "[Agent/User Name - Optional]" --- - Action: Write a Concise Summary/Abstract: Immediately following the frontmatter, write a short paragraph (2-4 sentences) summarizing the document's main content and purpose. Naturally weave in the most important keywords from the frontmatter. This helps RAG context retrieval.
- Action: Use Descriptive Headings: Structure the main document content using clear, keyword-rich Markdown headings (
##,###) that accurately reflect the information in each section. This helps both human readers and semantic search. - Action: Embed Cross-Links: Where relevant within the main content, add explicit Markdown links (
[link text](mdc:relative/path/to/other/doc.md)or[link text](mdc:[root-relative-path])) to other related documentation files within/docsor even specific code files/sections. This strengthens the knowledge graph for RAG. - Action: Capture Detailed Knowledge: Populate the rest of the file with the detailed domain knowledge, decisions, implementation notes, etc., captured in Step 1, using clear language and code blocks where appropriate.
- Action: Create new Markdown (
-
Index Updates: CRITICAL: After adding or significantly modifying a documentation file:
- Action: ALWAYS update the corresponding
[foldername].index.mdfile in its parent directory. Add/update the link using thetitlefrom the frontmatter and thedescriptionfrom the frontmatter for context. - Action: ALWAYS update the
last_updatedfield in the frontmatter of the modified/created document itself. - Action: Consider if the root
docs.index.mdor higher-level indexes need updates to reflect the new content, especially for major additions. Ensure discoverability through navigation.
- Action: ALWAYS update the corresponding
-
Review Existing Docs (Consultation): Before creating new documentation, use the
consult-documentation-indexrule/process to check relevant index files and potentially perform searches (grepor semantic using keywords) to see if similar information already exists. Update existing documents rather than creating duplicates whenever practical.
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.
- 5d ago First seen · 43 lines · 833 tokens per session scan A 1f54fae916ac
project-documentation-structure.rules is a cursor rule published in the GitHub repository drumnation/unsplash-smart-mcp-server (63 stars, last pushed 7mo ago), licensed MIT. It adds 833 tokens to every session, about $0.0042 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.
Other cursor rules, from other repositories
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
family-instance-domain-actions
Family instance domain action implementation patterns.
prefer-assertions-over-defensive-checks
Prefer assertions over defensive checks when data is guaranteed to be valid.
prefer-direct-imports-over-module-mocks
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.