documentation-update-llms

documentation-update-llms is a cursor rule for Cursor from oakensoul/nextjs-cursor-prompts. It costs 0 tokens per session (2,130 once invoked), scanned A, original, MIT.

A guide for updating an llms.md file, a project document written to help language models and AI coding assistants understand the codebase. It checks the document against the current project and preserves its structure.

In plain words
What is it for?
Use it to inspect project changes, update technical details, check examples and integration patterns, and keep the documentation accurate for AI-assisted development.
Why use it?
It reduces the risk that AI tools rely on outdated versions, examples, integrations, or descriptions of project capabilities.

Cursor rule for Cursor

Written for Cursor: installed under .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/oakensoul/nextjs-cursor-prompts/documentation-update-llms
Clone the repo
git clone --depth 1 https://github.com/oakensoul/nextjs-cursor-prompts

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 documentation-update-llms

README.md
[![agentmods](https://agentmods.dev/badge/rules/oakensoul/nextjs-cursor-prompts/documentation-update-llms.svg)](https://agentmods.dev/rules/oakensoul/nextjs-cursor-prompts/documentation-update-llms)
Your own site
<a href="https://agentmods.dev/rules/oakensoul/nextjs-cursor-prompts/documentation-update-llms"><img src="https://agentmods.dev/badge/rules/oakensoul/nextjs-cursor-prompts/documentation-update-llms.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 2,130 The whole file, excluding the scripts and references it only reads on demand.
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.1 $0.00000 $0.02130
Opus 5 $0.00000 $0.01065
Sonnet 5 $0.00000 $0.00426
Haiku 4.5 $0.00000 $0.00213

Measured 6d ago against content hash 36ed7a72c100, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

documentation-update-llms 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 6d 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/prompts/documentation/documentation-update-llms.mdc · 298 lines

How it starts

The opening of the file, as written. The whole thing — 298 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LLM Documentation Update Guide

This prompt guides the systematic update of existing llms.md files to ensure accuracy, completeness, and technical correctness while preserving the document's optimization for LLM developers and AI assistants.

🎯 UPDATE OBJECTIVES:

  1. VERIFY current project state and synchronize documentation
  2. UPDATE technical information to reflect current versions and capabilities
  3. VALIDATE all examples and integration patterns for functionality
  4. MAINTAIN structural integrity optimized for AI consumption
  5. ENSURE comprehensive coverage of all system capabilities

📋 LLM DOCUMENTATION UPDATE PROCESS:

STEP 1: Current State Analysis

Project State Verification:
echo "🔍 Current Project State Analysis"
echo "================================"

# Verify current structure and counts
find .cursor/prompts -name "*.mdc" | wc -l
find .cursor/rules -name "*.mdc" | wc -l

# Analyze prompt categories
echo "Prompt Categories:"
ls .cursor/prompts/

# Check rules available
echo "Available Rules:"
ls .cursor/rules/

# Verify key files exist
echo "Key Documentation Files:"
ls docs/standards/
Change Detection:
  • New prompts added since last update
  • Technology versions changed in project dependencies
  • Project structure modifications affecting documentation
  • Standards updates in documentation files
  • Integration patterns that have evolved
Content Gap Analysis:
  • Missing categories not yet documented
  • Outdated examples that no longer work
  • Incorrect counts of prompts/rules
  • Broken references to files or standards
  • Incomplete workflows missing steps

STEP 2: Technical Accuracy Validation

Technology Stack Verification:
# Check current versions
echo "🔧 Technology Stack Verification"
echo "==============================="

# Verify framework versions (if package.json exists)
if [ -f "package.json" ]; then
    echo "Package.json versions:"
    cat package.json | grep -E "(next|typescript|react|vitest|tailwind)"
fi

# Check for version info in documentation
echo "Documented versions in standards:"
grep -r "version" docs/standards/ | head -10

Read the full file on GitHub · 298 lines

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. 6d ago First seen · 298 lines · 0 tokens per session scan A 36ed7a72c100

Subscribe to this mod's changes

documentation-update-llms is a cursor rule published in the GitHub repository oakensoul/nextjs-cursor-prompts (4 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,130 tokens. 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.