원클릭으로
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} |