Borrowing it
Nothing to install: this file belongs to ayutaz/piper-plus. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ayutaz/piper-plus/dev/.claude/commands/review-language.mdgit clone --depth 1 https://github.com/ayutaz/piper-plusWrote 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.
[](https://agentmods.dev/commands/ayutaz/piper-plus/review-language)<a href="https://agentmods.dev/commands/ayutaz/piper-plus/review-language"><img src="https://agentmods.dev/badge/commands/ayutaz/piper-plus/review-language/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.
<a href="https://agentmods.dev/commands/ayutaz/piper-plus/review-language"><img src="https://agentmods.dev/badge/commands/ayutaz/piper-plus/review-language.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02370 |
| Opus 5.5 | $0.00000 | $0.00948 |
| Sonnet 5.5 | $0.00000 | $0.00474 |
| Haiku 4.5 | $0.00000 | $0.00237 |
Grade A, and why
review-language 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.
How it starts
The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.
新言語実装レビュー
piper-plus の新言語実装を徹底的にレビューするスキルです。引数 $ARGUMENTS に言語コード (例: sv, de) を指定してください。
前提条件
- Python テストは
uv run python -m pytestで実行 - 10エージェント並列でレビュー実施
- 実装済みの全ターゲット (Python/Rust/C++/C#/JS-WASM) を検証し、Kotlin/Swift G2P の mirror が存在する場合は併せて確認
レビュー手順
Step 1: 10エージェント並列レビュー
以下の10エージェントを 並列 で起動してレビューを実施:
Agent 1: Python G2P 品質
src/python/g2p/piper_plus_g2p/$ARGUMENTS.pyを読み、全G2Pルールの正確性を検証- 代表的な10単語のスポットチェック (言語固有の音韻規則に基づく)
- 例外語リストの完全性確認
- IPA シンボルの正確性 (ɡ≠g, ɧ≠ɕ 等)
Agent 2: Python 前処理・推論パス
src/python/piper_train/preprocess.py—--language $ARGUMENTSが動作するかsrc/python/piper_train/infer_onnx.py— ヘルプテキスト、_detect_dominant_languagesrc/python/piper_train/tools/prepare_multilingual_dataset.py— LANGUAGE_ID_MAPsrc/python/g2p/piper_plus_g2p/registry.py— 登録確認src/python/g2p/piper_plus_g2p/encode/id_maps.py— shared phoneme ID map- config.json 生成パス (phoneme_id_map, language_id_map, num_languages)
Agent 3: PUA 整合性 (実装済み全ターゲット + Kotlin/Swift mirror)
- Python
token_mapper.py— FIXED_PUA_MAPPING、_PUA_START - Rust
token_map.rs— FIXED_PUA_MAP、PUA カウントテスト - C++ ソース — PUA 定数定義
- C#
OpenJTalkToPiperMapping.cs— TokenToChar エントリ - 全プラットフォームで同一コードポイントを使用しているか
- 既存言語との PUA 衝突がないか
Agent 4: Rust 実装完全性
src/rust/piper-core/src/phonemize/$ARGUMENTS.rs— 全ルール実装src/rust/piper-core/src/phonemize/mod.rs— module exportsrc/rust/piper-core/src/voice.rs— ケース処理 + default_latinsrc/rust/piper-plus-g2p/src/multilingual.rs— 言語検出 (core は re-export)src/rust/piper-cli/src/main.rs— SUPPORTED_LANGUAGES- TODO/FIXME/unimplemented! の有無
Agent 5: C++ 実装完全性
src/cpp/$ARGUMENTS_phonemize.cpp/.hpp— 全ルール実装src/cpp/piper.cpp— ディスパッチ + #includesrc/cpp/language_detector.cpp/.hpp— 言語検出cmake/PiperCommon.cmake—PIPER_COMMON_SOURCESへの登録src/cpp/tests/CMakeLists.txt— テストターゲットとソース link- ASCII化されたダイアクリティカルマーク (ö→o 等) がないか 要注意
Agent 6: C# 実装完全性
- G2P エンジン — Python の全ルールが移植されているか
- Phonemizer ラッパー — IPhonemizer 準拠
- PUA マッピング — OpenJTalkToPiperMapping
- UnicodeLanguageDetector — 言語検出
- CLI Program.cs — ケース処理
- スタブ実装でないことを確認 (TODO/character-level fallback 検出)
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.
- 3d ago Changed 0e74d36c10fd
- 14d ago Changed f71ad12d5888
- 2mo ago First seen · 180 lines · 0 tokens per session scan A 29fece1d6f06
review-language is a command published in the GitHub repository ayutaz/piper-plus (239 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,370 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.
Other commands, from other repositories
devkit.typescript.code-review
Provides comprehensive TypeScript monorepo code review for Nx workspaces including NestJS backend, React web, and React Native mobile apps. Use when reviewing architecture, boundaries, security, performance, CI/CD and Nx-specific practices.
package-review
Review the current Python package for best-practice violations — project structure, pyproject.toml, typing, testing, CI/CD, documentation, versioning, API design, packaging, security, and developer experience.
rust-review
Lightweight Rust code review using clippy.
review
Comprehensive code review for blz changes.
python-review
Comprehensive Python code review for PEP 8 compliance, type hints, security, and Pythonic idioms. Invokes the python-reviewer agent.
sinatra-review
Review Sinatra code for security issues, performance problems, route conflicts, and framework best practices.