Documentation Rules

Documentation Rules is an instructions file for GitHub Copilot from florian101010/awesome-agentic-AI-coding-template. It costs 320 tokens per session, scanned A, original, MIT.

A set of rules for keeping Markdown files in a project's docs folder accurate and consistent with the code. It also lists documentation files that must be checked when the project's behavior or design changes.

In plain words
What is it for?
Use it when editing documentation, changing behavior or architecture, checking project metrics, updating the changelog, or reviewing documentation for consistency.
Why use it?
It reduces documentation drift, where written instructions no longer match the working software. It also helps catch incorrect counts, paths, and missing release or architecture notes.

Instructions file for GitHub Copilot

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

Made for: GitHub Copilot.

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 Rules

README.md
[![agentmods](https://agentmods.dev/badge/instructions/florian101010/awesome-agentic-ai-coding-template/docs.svg)](https://agentmods.dev/instructions/florian101010/awesome-agentic-ai-coding-template/docs)
Your own site
<a href="https://agentmods.dev/instructions/florian101010/awesome-agentic-ai-coding-template/docs"><img src="https://agentmods.dev/badge/instructions/florian101010/awesome-agentic-ai-coding-template/docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 320 This file is loaded in full into every session.
When invoked 320 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.00320 $0.00320
Opus 5 $0.00160 $0.00160
Sonnet 5 $0.00064 $0.00064
Haiku 4.5 $0.00032 $0.00032

Measured 3d ago against content hash cd3c5427a8b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Documentation 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 3d 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.

.github/instructions/docs.instructions.md · 45 lines

What it actually says

Documentation Instructions

Purpose

Use these rules when editing files under docs/ to keep documentation drift-free and aligned with implementation.

Core Rules

  • Treat code/config as source of truth; update docs to match code, never vice versa without explicit requirement.
  • Keep wording concise, factual, and implementation-aligned.
  • Preserve existing document structure unless a structural change is explicitly needed.

Mandatory Sync Targets

When behavior, architecture, or schema changes, update all affected files:

  • docs/README.md
  • docs/ARCHITECTURE.md
  • docs/CHANGELOG.md
  • [FILL: Add further doc paths relevant to your project]
  • docs/decisions/ (if architectural — create/update ADR file)

Data Accuracy Checks

Before finalizing documentation changes:

  • Verify any count or metric values against the actual source (config files, code).
  • Ensure no leading / or ./ paths are introduced (if the project uses relative paths).

Process

  • Follow .agent/workflows/doc-audit.md for full drift audits.
  • Keep release-relevant updates reflected in CHANGELOG.md.
  • For architecture-level changes, ensure an ADR file exists in decisions/.
  • Run .githooks/pre-commit before final handoff.
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. 3d ago First seen · 45 lines · 320 tokens per session scan A cd3c5427a8b2

Subscribe to this mod's changes

Documentation Rules is an instructions file published in the GitHub repository florian101010/awesome-agentic-AI-coding-template (4 stars, last pushed 6mo ago), licensed MIT. It adds 320 tokens to every session, about $0.0016 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.

Related

Other instructions, from other repositories