docs-i18n-parity

docs-i18n-parity is a cursor rule for Cursor from paladini/harness-score. It costs 0 tokens per session (645 once invoked), scanned A, original, MIT.

Rules for keeping the project's guide documentation consistent across English, Brazilian Portuguese, Spanish, Chinese, and Hindi locales.

In plain words
What is it for?
Use them whenever adding, removing, renaming, or substantially changing a guide chapter or section.
Why use it?
They prevent translated guides from drifting in file structure, section links, factual content, navigation, or shared terminology.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use them whenever adding, removing, renaming, or substantially changing a guide chapter…

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/paladini/harness-score/docs-i18n-parity
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/paladini/harness-score

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-i18n-parity

README.md
[![agentmods](https://agentmods.dev/badge/rules/paladini/harness-score/docs-i18n-parity.svg)](https://agentmods.dev/rules/paladini/harness-score/docs-i18n-parity)
Your own site
<a href="https://agentmods.dev/rules/paladini/harness-score/docs-i18n-parity"><img src="https://agentmods.dev/badge/rules/paladini/harness-score/docs-i18n-parity.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 645 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.00645
Opus 5 $0.00000 $0.00322
Sonnet 5 $0.00000 $0.00129
Haiku 4.5 $0.00000 $0.00064

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

Security

Grade A, and why

docs-i18n-parity 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 7d 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-i18n-parity.mdc · 57 lines

How it starts

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

Guide i18n parity (mandatory)

This site ships five locales with the same ten guide chapters:

Locale Path
English (root) docs/guide/
pt-BR docs/pt-BR/guide/
es docs/es/guide/
zh-CN docs/zh-CN/guide/
hi-IN docs/hi-IN/guide/

Non-negotiable

When you add, remove, rename, or substantively change any guide chapter or section in one locale, you must update all other locales in the same PR:

  1. Same file set — every locale has the same *.md filenames under guide/.
  2. Same anchor slugs{#scan-configuration}, {#ctx-01}, etc. stay identical across locales (English slugs; never translate). CI enforces anchor parity for measure-and-improve.md; treat all chapters the same way.
  3. Same factual content — new features (CLI flags, scores, scopes, check behavior) must appear in every locale. Wording is translated per docs/i18n/glossary.md; IDs, paths, JSON keys, and CLI stay English.
  4. Sidebar — add/reorder entries in all five sidebar blocks in docs/.vitepress/config.mts.
  5. Glossary — new stable terms go in docs/i18n/glossary.md.

Workflow

Edit docs/guide/foo.md (English source of truth for structure)
  → mirror docs/pt-BR/guide/foo.md
  → mirror docs/es/guide/foo.md
  → mirror docs/zh-CN/guide/foo.md
  → mirror docs/hi-IN/guide/foo.md
  → update sidebars if chapter list changed
  → npm run docs:build && npm test

If a locale is temporarily behind, do not merge until parity is restored.

Editorial rules (from glossary)

  • Use relative links within the locale (./metrics-and-codes#scopes), not /guide/... (escapes to English).
  • Do not translate check IDs, anchor slugs, file paths, or CLI examples.
  • pt-BR: Brazilian Portuguese; es: Latin American; zh-CN: Simplified Chinese; hi-IN: Hindi (Devanagari), formal आप.

CI enforcement

packages/cli/test/docs.test.ts verifies:

  • Every locale has the same guide filenames as English.
  • measure-and-improve.md anchor sets match English in all locales.

Read the full file on GitHub · 57 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. 7d ago First seen · 57 lines · 0 tokens per session scan A d7c387098d47

Subscribe to this mod's changes

docs-i18n-parity is a cursor rule published in the GitHub repository paladini/harness-score (395 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 645 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-30.