بنقرة واحدة
translation-quality
Japanese to English translation quality evaluation using xCOMET
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Japanese to English translation quality evaluation using xCOMET
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | translation-quality |
| description | Japanese to English translation quality evaluation using xCOMET |
Evaluate and ensure high-quality Japanese → English translations using automated quality metrics (xCOMET) with clear decision criteria and actionable outputs.
| Input | Type | Description |
|---|---|---|
| source_file | .ja.md file | Japanese source document |
| translation_file | .md file | English translation document |
| threshold | number (0-1) | Minimum acceptable score (default: 0.85) |
| Output | Type | Description |
|---|---|---|
| quality_report | Markdown | Embeddable report with scores and recommendations |
| segment_details | Table | Per-segment scores and issues |
| action_items | List | Specific corrections needed |
xcomet:xcomet_batch_evaluate for multi-segment evaluationsource_lang: "ja" and target_lang: "en"deepl:translate-text for re-translation when --fix is specifiedDetect .ja.md ↔ .md pairs in the specified path
- If single file specified, find its pair automatically
- If directory specified, find all pairs recursively
Extract translatable segments from both files:
1. Document title (# heading)
2. Section headings (## / ### headings)
3. Key paragraphs (first 2-3 sentences per section)
4. Table content
5. List items with substantive content
Skip:
- Code blocks (```)
- URLs and links
- Mermaid diagrams
- Pure formatting elements
Call xCOMET MCP with extracted pairs:
mcp: xcomet
tool: xcomet_batch_evaluate
params:
pairs: [{ source: "日本語", translation: "English" }, ...]
source_lang: "ja"
target_lang: "en"
response_format: "markdown"
Apply decision criteria to scores and generate report.
Output embeddable Markdown with:
| Condition | Action | Rationale |
|---|---|---|
| Average ≥ 0.95 | ✅ Excellent - Publish | Professional quality |
| 0.90 ≤ Average < 0.95 | ✅ Good - Minor review | May benefit from polish |
| 0.85 ≤ Average < 0.90 | ⚠️ Review required | Check flagged segments |
| 0.70 ≤ Average < 0.85 | 🔄 Re-translate | Parameter adjustment needed |
| Average < 0.70 | ❌ Manual revision | Significant issues present |
| Score | Label | Action |
|---|---|---|
| ≥ 0.95 | Excellent | No action needed |
| 0.90-0.94 | Good | Review if time permits |
| 0.85-0.89 | Acceptable | Consider revision |
| < 0.85 | Problematic | Must revise |
Input:
/check-translation docs/skills/overview.md
Process:
overview.ja.md ↔ overview.mdxcomet:xcomet_batch_evaluateOutput:
## Translation Quality Report
### Summary
| Metric | Value |
|--------|-------|
| Files checked | 1 |
| Segments evaluated | 15 |
| Average score | **0.978** |
| Status | ✅ Excellent |
### Quality Criteria
| Score | Rating | Action |
|-------|--------|--------|
| ≥ 0.95 | Excellent | Publish |
| 0.90-0.94 | Good | Minor review |
| 0.85-0.89 | Acceptable | Review |
| < 0.85 | Problematic | Revise |
### Segment Details
All 15 segments scored ≥ 0.95. No issues detected.
### Recommendation
✅ Ready for publication without changes.
Input:
/check-translation docs/
Process:
docs/Output:
## Translation Quality Report
### Summary
| Metric | Value |
|--------|-------|
| Files checked | 8 |
| Segments evaluated | 40 |
| Average score | **0.972** |
| Status | ✅ Excellent |
| Critical errors | 0 |
### Per-File Results
| File | Score | Status |
|------|-------|--------|
| README.md | 0.975 | ✅ Excellent |
| concepts/01-vision.md | 0.978 | ✅ Excellent |
| skills/anti-patterns.md | 0.957 | ✅ Excellent |
| workflows/patterns.md | 0.977 | ✅ Excellent |
### Segments Needing Attention (< 0.95)
| Source | Translation | Score |
|--------|-------------|-------|
| MCPサーバーの開発・運用... | Organizing security risks... | 0.898 |
### Recommendation
✅ Overall excellent quality. Optional: Review 1 segment above.
Problematic Approach:
Score: 0.9750812888145447
Why It's Problematic: Overly precise numbers suggest false accuracy
Correct Approach:
Score: **0.975** (Excellent)
Problematic Approach:
3 segments below threshold
Why It's Problematic: Reviewer cannot act without seeing the text
Correct Approach:
| Source | Translation | Score |
|--------|-------------|-------|
| 実際のテキスト | Actual text | 0.84 |
| MCP | Usage | Required |
|---|---|---|
| xcomet-mcp-server | xcomet_batch_evaluate, xcomet_evaluate | Required |
| deepl-mcp | translate-text (for --fix option) | Optional |