ワンクリックで
learn
Correct or translate text for language learning. Detailed scoring, error analysis, and alternatives.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Correct or translate text for language learning. Detailed scoring, error analysis, and alternatives.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | learn |
| description | Correct or translate text for language learning. Detailed scoring, error analysis, and alternatives. |
| allowed-tools | Read Glob Bash |
| user-invocable | true |
| argument-hint | <text> | last |
Read ~/.claude-lang-coach/config.json via Bash.
If missing, tell the user: /lang-coach:setup ja en
If the argument is last:
ls -t ~/.claude-lang-coach/corrections/*.json | head -1input field with full detail (step 3)Detect whether input is in target or native language. Correct like a friendly native speaker — prioritize natural, idiomatic expression.
Target language → Correction:
Native language → Translation coaching:
cat << 'JSONEOF' | ~/.claude-lang-coach/save-correction.sh
{
"timestamp": "ISO 8601",
"native_language": "...",
"target_language": "...",
"input_type": "target|native",
"input": "original text",
"result": {
"output_text": "corrected or translated text",
"errors": [{"type":"...","original":"...","corrected":"...","explanation":"...","severity":"high|medium|low"}],
"score": {"accuracy":0,"fluency":0,"naturalness":0,"overall":0},
"feedback": "...",
"alternatives": ["..."]
}
}
JSONEOF
Localize labels to native language:
| Key | en | ja | ko | zh | fr | de | es |
|---|---|---|---|---|---|---|---|
| accuracy | Accuracy | 正確さ | 정확성 | 准确性 | Précision | Genauigkeit | Precisión |
| fluency | Fluency | 流暢さ | 유창성 | 流畅度 | Fluidité | Flüssigkeit | Fluidez |
| naturalness | Naturalness | 自然さ | 자연스러움 | 自然度 | Naturel | Natürlichkeit | Naturalidad |
| overall | Overall | 総合 | 종합 | 综合 | Global | Gesamt | General |
Score bars: █░ 20 segments. Severity: ▲ high · ● medium · ○ low.
Correction:
✗ {original} ✓ {corrected}
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ {Accuracy} {n} {████████████████████} ┃
┃ {Fluency} {n} {████████████████████} ┃
┃ {Naturalness} {n} {████████████████████} ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ ★ {Overall} {n} {████████████████████} ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
| Before → After | Why | |
|---|---|---|
| ▲ | {orig} → {fixed} | {explanation} |
Translation:
{native text} → {main translation}
| Style | Translation | Nuance |
|---|---|---|
| 💬 Casual | {text} | {note} |
| 📝 Formal | {text} | {note} |
| 🎯 Advanced | {text} | {note} |