i18n Unused Key Review

i18n Unused Key Review is a skill for Claude Code from s977043/river-review. It costs 36 tokens per session (622 once invoked), scanned A, original, MIT.

A review check for translation keys: it compares the keys used in source code with the keys stored in language files. It flags keys left behind after source text is removed and keys added without a matching source reference.

In plain words
What is it for?
Use it when changing translated interface text or locale JSON files. It helps review additions, removals, and renames of translation keys.
Why use it?
It helps prevent unused translations and missing links between interface text and locale files. This keeps language files from accumulating misleading or orphaned entries.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the river-review plugin — 138 skills, 18 commands, 5 agents, 3 hooks shipped together

Good fit Use it when changing translated interface text or locale JSON files. It helps review additions, removals, and renames of translation keys.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s977043/river-review/i18n-unused-key
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.

Any agent
npx skills add s977043/river-review --skill i18n-unused-key
Clone the repo
git clone --depth 1 https://github.com/s977043/river-review

Made for: Claude Code.

Or install river-review, the plugin that ships this one along with the rest of its 138 skills, 18 commands, 5 agents, 3 hooks.

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 i18n Unused Key Review

README.md
[![agentmods](https://agentmods.dev/badge/skills/s977043/river-review/i18n-unused-key/github.svg)](https://agentmods.dev/skills/s977043/river-review/i18n-unused-key)
Your own site
<a href="https://agentmods.dev/skills/s977043/river-review/i18n-unused-key"><img src="https://agentmods.dev/badge/skills/s977043/river-review/i18n-unused-key/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 i18n Unused Key Review

Your own site · 80×15
<a href="https://agentmods.dev/skills/s977043/river-review/i18n-unused-key"><img src="https://agentmods.dev/badge/skills/s977043/river-review/i18n-unused-key.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 622 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.00036 $0.00622
Opus 5 $0.00018 $0.00311
Sonnet 5 $0.00007 $0.00124
Haiku 4.5 $0.00004 $0.00062

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

Security

Grade A, and why

i18n Unused Key Review 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 9d 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.

skills/midstream/i18n-unused-key/SKILL.md · 61 lines

What it actually says

Pattern declaration

Primary pattern: Reviewer Secondary patterns: Inversion Why: i18n key管理はdiff単体では判断が難しく、ファイル全体とソース参照の両方を踏まえる必要がある

Guidance

  • Check if translation keys deleted from source code (e.g., t('key'), i18n.t('key'), $t('key')) still exist in locale JSON files — report as unused key.
  • Check if new keys added to locale JSON files are referenced in source code — report as potentially orphaned key.
  • Look for patterns like t('user.profile.name'), i18n('common.cancel'), formatMessage({ id: 'key' }).
  • When source file is deleted entirely, flag all its keys in locale files as candidates for removal.

Non-goals

  • 動的に構築されるkey(テンプレートリテラルやconcat)は誤検知になりやすいため指摘しない。
  • 外部ライブラリのkey(third-party component内部のi18n keyなど)は対象外。

Pre-execution Gate / 実行前ゲート

このスキルは以下の条件がすべて満たされない限りNO_REVIEWを返す。

  • 差分にi18n/locale関連ファイル(*.json, /i18n/, /locales/)の変更が含まれている
  • または差分にUI文言を削除・変更するソースコードの変更が含まれている

ゲート不成立時の出力: NO_REVIEW: i18n-unused-key — i18n/locale関連の変更が検出されない

False-positive guards

  • keyがワイルドカードや動的参照で使用されている可能性がある場合は黙る。
  • テスト用フィクスチャやstorybook内のkey定義は対象外。
  • 同一PR内で追加と削除が対になっている(リネーム)場合は指摘しない。
Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 61 lines · 36 tokens per session scan A f835f177676d

Subscribe to this mod's changes

i18n Unused Key Review is a skill published in the GitHub repository s977043/river-review (3 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 622 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

review-all

Multi-agent code review for diffs (project-agnostic). Covers standards, bugs, security, DRY, smells, perf, tests, API contracts, a11y/i18n. Verifies each finding to eliminate false positives. Use for /review-all, pre-PR/pre-commit review, or auditing uncommitted/staged changes.

ncoevoet/claude-review-all · 74 tokens

fec-drawio-studio

An editable workflow for making technical diagrams in draw.io (also called diagrams.net), with the original .drawio file saved alongside exported images or documents. It covers architecture, database, UML, sequence, flow, machine-learning, and code-structure diagrams.

bovinphang/frontend-craft · 154 tokens

fec-component-testing

A guide for writing and reviewing front-end unit, component, and lightweight integration tests. These tests check small pieces of code and UI behavior without running a full browser journey.

bovinphang/frontend-craft · 123 tokens

fec-route-protection

A guide for protecting front-end routes, meaning the pages and URLs of a web application, based on whether someone is signed in and what permissions they have. It covers login checks, role-based access, expired sessions, and redirects.

bovinphang/frontend-craft · 67 tokens

fec-state-management

A guide for deciding where an application's changing information should live, such as inside a component, in the URL, in a form, in a browser cache, or in a shared store. A store is a shared place for client-side information used across parts of an app.

bovinphang/frontend-craft · 102 tokens

fec-svg-animation

A workflow for creating or reviewing animated SVG graphics, which are scalable vector images such as icons, logos, illustrations, and diagrams. It covers CSS, SMIL, Framer Motion, GSAP, accessibility, and reduced-motion behavior.

bovinphang/frontend-craft · 76 tokens