document

document is a cursor rule for Cursor from flyeric0212/cursor-history-links. It costs 350 tokens per session, scanned A, original, MIT.

A documentation standard for a project, covering Markdown files, README content, directory structure, examples, and changelog entries. Markdown is a plain-text format commonly used for readable project documentation.

In plain words
What is it for?
Use it when writing or updating READMEs, guides, API documents, examples, or changelogs.
Why use it?
It keeps documentation clear, organized, current, and consistent across the project. It also sets expectations for runnable examples and recorded version changes.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when writing or updating READMEs, guides, API documents, examples, or changelogs.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/flyeric0212/cursor-history-links/document
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.

Clone the repo
git clone --depth 1 https://github.com/flyeric0212/cursor-history-links

Made for: Cursor.

Wrote 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.

agentmods badge for document

README.md
[![agentmods](https://agentmods.dev/badge/rules/flyeric0212/cursor-history-links/document/github.svg)](https://agentmods.dev/rules/flyeric0212/cursor-history-links/document)
Your own site
<a href="https://agentmods.dev/rules/flyeric0212/cursor-history-links/document"><img src="https://agentmods.dev/badge/rules/flyeric0212/cursor-history-links/document/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for document

Your own site · 80×15
<a href="https://agentmods.dev/rules/flyeric0212/cursor-history-links/document"><img src="https://agentmods.dev/badge/rules/flyeric0212/cursor-history-links/document.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 350 This file is loaded in full into every session.
When invoked 350 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00350 $0.00350
Opus 5.5 $0.00140 $0.00140
Sonnet 5.5 $0.00070 $0.00070
Haiku 4.5 $0.00035 $0.00035

Measured 1mo ago against content hash eaf2cc2bb06d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

document 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 1mo 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.

.cursor/rules/document.mdc · 46 lines

What it actually says

文档规范

通用要求

  • 所有文档使用Markdown格式
  • 使用简洁、清晰的语言
  • 文档内容应保持最新
  • 避免拼写和语法错误
  • 使用中文作为主要语言

目录结构

  • README.md:项目根目录,提供项目概述
  • docs/:存放详细文档
    • guide/:使用指南
    • api/:API文档
    • examples/:示例代码文档

README.md 内容规范

  • 项目名称和简短描述
  • 技术栈说明
  • 项目结构说明
  • 使用说明
  • 许可证信息

版本记录规范

  • 使用 CHANGELOG.md 记录版本变更
  • 遵循语义化版本(Semantic Versioning)规范
  • 每个版本应包含:新增功能、修复问题、破坏性变更

文档内容组织

  • 从整体到局部,从简单到复杂
  • 重要信息放在前面
  • 相关内容应当放在一起
  • 使用小标题和列表增强可读性
  • 避免过长段落,保持内容简洁

代码示例规范

  • 提供完整可运行的示例
  • 代码应当简洁且易于理解
  • 添加适当的注释解释关键部分
  • 说明代码的预期输出或行为
  • 更新示例以匹配最新API
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. 1mo ago First seen · 46 lines · 350 tokens per session scan A eaf2cc2bb06d

Subscribe to this mod's changes

document is a cursor rule published in the GitHub repository flyeric0212/cursor-history-links (261 stars, last pushed 2d ago), licensed MIT. It adds 350 tokens to every session, about $0.0014 per session on Opus 5.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-09-01.