00-mdn-translation

00-mdn-translation is a cursor rule for Cursor from gurezo/mdn-translation-ja-mcp. It costs 0 tokens per session (509 once invoked), scanned A, original, MIT.

A set of Cursor rules for translating MDN, Mozilla’s web-development documentation, into Japanese. It defines translation style, protected code and API text, terminology, formatting, and review constraints.

In plain words
What is it for?
Use it when translating or reviewing MDN pages in Japanese, including glossary terms, headings, lists, code blocks, menus, and API references.
Why use it?
It helps keep technical translations accurate and consistent while preventing code, names, numbers, and required Markdown structure from being changed incorrectly.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when translating or reviewing MDN pages in Japanese, including glossary terms, headings, lists, code blocks, menus, and API references.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/gurezo/mdn-translation-ja-mcp/00-mdn-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/gurezo/mdn-translation-ja-mcp

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 00-mdn-translation

README.md
[![agentmods](https://agentmods.dev/badge/rules/gurezo/mdn-translation-ja-mcp/00-mdn-translation/github.svg)](https://agentmods.dev/rules/gurezo/mdn-translation-ja-mcp/00-mdn-translation)
Your own site
<a href="https://agentmods.dev/rules/gurezo/mdn-translation-ja-mcp/00-mdn-translation"><img src="https://agentmods.dev/badge/rules/gurezo/mdn-translation-ja-mcp/00-mdn-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 00-mdn-translation

Your own site · 80×15
<a href="https://agentmods.dev/rules/gurezo/mdn-translation-ja-mcp/00-mdn-translation"><img src="https://agentmods.dev/badge/rules/gurezo/mdn-translation-ja-mcp/00-mdn-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 509 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.00509
Opus 5 $0.00000 $0.00254
Sonnet 5 $0.00000 $0.00102
Haiku 4.5 $0.00000 $0.00051

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

Security

Grade A, and why

00-mdn-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 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/00-mdn-translation.mdc · 42 lines

What it actually says

MDN 日本語翻訳 — 基本ルール

翻訳原則

  • 原文の意味を正確に伝え、逐語訳ではなく自然な日本語とする
  • 敬語は使用しない。です・ます調で統一する
  • 初心者にも分かりやすく、技術的に正確な表現を使う

翻訳してはいけないもの

  • コードブロック内のテキスト
  • 変数名、関数名、API 名、メソッド名
  • 単位や数値(表記ルールに従う場合を除く)

用語とマクロ

  • 技術用語は mozilla-l10n-glossary スキル / Mozilla 用語集に従う
  • {{glossary("id", "表示名")}} 形式を使用する

フォーマット

  • 見出し・リスト・コードブロックの Markdown 構造は維持
  • メニュー項目やボタンラベルは "ラベル" で表す

MCP ツール

mdn_trans_review 等は MCP ツール(サーバー mdn-translation-ja)でありシェルコマンドではない。ターミナルで実行せず MCP 経由で呼び出す。詳細は 01-mdn-mcp-tools.mdc を参照。

MCP レビュー制約

mdn_trans_review 実行後は、レビュー結果を理由に対象ファイルを編集・保存してはならない(ユーザーが明示的に修正を依頼した場合のみ可)。

詳細ガイドライン

表記・L10N・用語集・文体の詳細は MCP Resources(mdn://guidelines/editorial / l10n / japanese-stylemdn://glossary)を参照する。.agents/skills を translated-content へコピーする必要はない。

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 Changed 1577837041a5
  2. 11d ago First seen · 42 lines · 0 tokens per session scan A eb24126552ae

Subscribe to this mod's changes

00-mdn-translation is a cursor rule published in the GitHub repository gurezo/mdn-translation-ja-mcp (0 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 509 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.