docs-translation

docs-translation is a cursor rule for Cursor from coddy-project/coddy-agent. It costs 0 tokens per session (3,230 once invoked), scanned A, original, MIT.

A set of rules for keeping English and Russian documentation trees in sync. It explains which translated pages, navigation entries, and configuration descriptions must change together.

In plain words
What is it for?
Use it when adding, moving, or editing English documentation that has a Russian counterpart.
Why use it?
It prevents the two language versions from having different content or stale navigation and labels.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it when adding, moving, or editing English documentation that has a Russian counterpart.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/coddy-project/coddy-agent/docs-translation
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/coddy-project/coddy-agent

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 docs-translation

README.md
[![agentmods](https://agentmods.dev/badge/rules/coddy-project/coddy-agent/docs-translation/github.svg)](https://agentmods.dev/rules/coddy-project/coddy-agent/docs-translation)
Your own site
<a href="https://agentmods.dev/rules/coddy-project/coddy-agent/docs-translation"><img src="https://agentmods.dev/badge/rules/coddy-project/coddy-agent/docs-translation/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 docs-translation

Your own site · 80×15
<a href="https://agentmods.dev/rules/coddy-project/coddy-agent/docs-translation"><img src="https://agentmods.dev/badge/rules/coddy-project/coddy-agent/docs-translation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 3,230 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.03230
Opus 5.5 $0.00000 $0.01292
Sonnet 5.5 $0.00000 $0.00646
Haiku 4.5 $0.00000 $0.00323

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

Security

Grade A, and why

docs-translation 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 10d 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/docs-translation.mdc · 185 lines

How it starts

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

Documentation in two languages

specs/ holds internal English references. It is checked for links and assets, but does not enter the public map or require Russian mirrors.

The documentation exists in English (docs/<group>/<page>.md) and in Russian (docs/ru/<group>/<page>.md, the same name and the same path under docs/ru/). The English page is the source; the Russian page is its translation and moves with it in the same pull request. Every surface shows the language it already knows the person uses (the web UI's locale, the terminal's locale), so a page that is current in one language and stale in the other is a bug the reader sees.

What moves together

You change You also change
an English page its Russian page, then restamp it (below)
a page added to docs/nav.yaml the Russian page and its entry in docs/ru/nav.yaml
a title or summary in docs/nav.yaml the entry in docs/ru/nav.yaml: title and summary translated, en: set to the new English text
a description in internal/config/config.schema.json its entry in docs/ru/config-descriptions.yaml: en set to the new English text, ru translated
the introduction of docs/README.md the introduction of docs/ru/README.md, then restamp it
a page removed from docs/nav.yaml or moved its Russian page removed or moved to the same new path, and its entry in docs/ru/nav.yaml with it

Not translated: docs/plans/ (design records), docs/assets/ (shared: a Russian page embeds the same files), and the pages the map lists from the repository root (CONTRIBUTING.md, DESIGN.md, AGENTS.md).

A Russian page

  • Headings: the same headings as the English page, in the same order and at the same levels. Translate them; never add, drop, merge or split one. One address names a section in both languages because the Russian heading at a position answers to the English heading's anchor. A page whose English H1 is its title in docs/nav.yaml starts with its Russian title from docs/ru/nav.yaml.
  • Literal text stays literal: code blocks, inline code, commands, flags, config keys, paths, file names, identifiers, HTTP routes, model and product names, and program output are copied unchanged. Comments inside code blocks stay as they are.
  • The web UI by its labels: a control or a screen of the web UI is named the way the Russian interface names it; look the English label up in external/ui/src/ui/i18n/messages/en.ts and take the same key from ru.ts.
  • Links: copy every link target as the English page writes it. make docs makes it right for the translation's folder: a link to another page keeps its relative path and gets the anchor GitHub gives the Russian heading (../features/mcp.md#общие-серверы); an image, a design record or a repository file gets the one more ../ the deeper folder needs. A link already written that way is left alone.
  • Generated blocks keep their <!-- docsgen:NAME:start --> / <!-- docsgen:NAME:end --> markers; make docs fills them.
  • Captions and alt text: the italic caption under a screenshot and the alt text of every image are translated; the image file is the English one. A diagram (docs/assets/diagrams/) keeps its English labels, and the Russian page translates only its alt text and caption. make docs-check reports an alt text of more than one word with no Cyrillic letter in it.
  • The stamp: the last line, <!-- docsgen:source sha256=<16 hex> -->, is the digest of the English page the translation follows. docsgen writes it; never edit it by hand.

Read the full file on GitHub · 185 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. 10d ago Changed · +2 lines a7231c2e1553
  2. 14d ago Changed · +1 lines dc772083fc92
  3. 20d ago Changed 25a7743ae20e
  4. 1mo ago Changed · +4 lines c256193e3f4e
  5. 1mo ago Changed · +1 lines 8de883e094cc
  6. 1mo ago Changed · +1 lines 3d3049a29ada
  7. 1mo ago Changed · +42 lines c53f0e940209
  8. 1mo ago Changed · +2 lines 2dda281a007e
  9. 1mo ago First seen · 132 lines · 0 tokens per session scan A a19840f8b37f

Subscribe to this mod's changes

docs-translation is a cursor rule published in the GitHub repository coddy-project/coddy-agent (215 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,230 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-10-09.

Related

docs-translation compared with cursor rules from other repositories

docs-translation next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-translationcoddy-project/coddy-agentCursor rule215yesterdayMITA0Cursor
i18nseite-sh/seiteCursor rule312d agoMITA0Cursor
sciclaw-papercutssciclaw/sciclawCursor rule114mo agononeA607Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k4d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor