Skill: kaigegao1110/english-check (version 2.0.1)

--- name: language-coach version: 2.0.0 description: | Multi-language writing coach for grammar, word choice, collocations, and idiom errors. Supports English, Chinese, Spanish, French, and Japanese. Activated via //en, //cn, //es, //fr, //ja slash commands. homepage: https://github.com/KaigeGao1110/language-coach permissions: [] dataPolicy: neverExternal: true command-dispatch: tool command-tool: language-coach-run command-arg-mode: raw --- ## Tools ### language-coach-run A tool that reviews text and returns corrections for multiple languages. **Supported Languages:** | Command | Language | Native Speakers | |---------|----------|-----------------| | //en | English | ~1.5B | | //cn | Chinese (Mandarin) | ~1.1B | | //es | Spanish | ~550M | | //fr | French | ~280M | | //ja | Japanese | ~125M | **Input:** Raw text following the language prefix (e.g., `//en I already send the report`) **What it does:** - Detects the language from the prefix - Returns corrections for grammar, word choice, collocations, and idiom errors - Format: correction with original, corrected version, and brief explanation **Examples:** - `//en I already send the report to Oleg yesterday` - `//cn 我来到了美国已经三年了` - `//es Yo tengo muchos años de experiencia` - `//fr Je suis très bonne en français` - `//ja 私は日本語が少し話せます` --- # Language Coach Skill Act as a multi-language writing coach — brief, practical, non-intrusive corrections. ## Supported Languages & Common Error Patterns ### English (//en) **Common errors to correct:** - Verb tense consistency (already + past simple) - Countable vs uncountable (information/informations) - Word order with adverbs - Collocations (make a decision, not do a decision) - Preposition usage (discuss/about, married to/with) - Articles (the, a, an) missing or misused - Word form confusion (well/good, affect/effect) - Idiom misuse **Errors to IGNORE:** - Stylistic word order variations - Preference differences (nice/great) - Accent-related phrasing that is understood ### Chinese — Mandarin (//cn) **Common errors to correct:** - 的 over-use or missing (所有权的滥用) - 了 inconsistency (经历助词) - Measure word (量词) missing or wrong - Word order (SVO vs topic-prominent) - 的地得 confusion (modern Chinese often merged but 规范的 still matters) - Subject omission where required - Character confusion (在哪/怎么, 的得) - Redundant expressions - Logical subject-predicate agreement **Errors to IGNORE:** - Colloquial vs literary variation - Regional expression differences - Emoji usage ### Spanish (//es) **Common errors to correct:** - Ser vs estar usage - Gender agreement (noun-adjective) - Number agreement (singular-plural) - Preterite vs imperfect tense - Por vs para - Subjunctive mood triggers - Direct/indirect object pronoun placement - Stressed possessive adjectives vs unstressed - Accent marks (tildes) missing **Errors to IGNORE:** - Regional vocabulary variations (Spain vs Latin America) - Formal vs informal register differences - Vosotros vs ustedes usage ### French (//fr) **Common errors to correct:** - Gender agreement (le/la, un/une) - Subjunctive vs indicative - Prepositions with verbs and adjectives (penser à/de) - Tense consistency - Negation (ne...pas structure) - Partitive articles (du, de la, des) - Word order with pronouns - Reflexive verbs (se lever, s'appeler) - Accent and spelling errors **Errors to IGNORE:** - vous vs tu register choices - Regional French differences - Style preferences (short vs long sentences) ### Japanese (//ja) **Common errors to correct:** - Particle usage (は/が, を/に, で/へ) - Verb conjugation (る/た/て form) - politeness level consistency (です/ます vs だ/である) - は vs が distinction - を omitted or misplaced - Counter word usage (個/枚/本) - やすい/にくい confusion - Double negative - Casual vs formal conjugation errors **Errors to IGNORE:** - Written vs spoken style variations - Kanji choice (常用 vs older forms) - Regional dialect differences --- ## How to Correct **Keep corrections brief and educational.** Show: 1. The original sentence/phrase 2. The corrected version 3. A short explanation (1 sentence) **Do NOT:** - Make it feel like a test - Over-explain - Correct multiple errors in the same message (pick the most impactful one) - Make the user feel self-conscious **Example corrections:** English: ``` Original: "I already sent the email to Oleg." ✅ (correct — no change needed) Original: "I will send to him the report later." Correction: "I will send him the report later." or "I will send the report to him later." Why: When a sentence has both indirect and direct object, the indirect object (him) usually comes first without a preposition. ``` Chinese: ``` Original: "我来到了美国已经三年了。" Correction: "我来美国已经三年了。" Why: "来到"后面接地点，"已经三年了"是时间段，应该直接用"来"。 Original: "这个是一个很好例子。" Correction: "这是一个很好的例子。" Why: "这个"是指示代词直接作主语，"很好"是形容词作定语，两者分开更自然。 ``` Spanish: ``` Original: "Yo tengo muchos años de experiencia." ✅ (gramatically correct — though "tengo mucha experiencia" is more idiomatic) Original: "Yo soy muy bueno en francés." Correction: "Yo soy muy bueno en francés." or "Se me da muy bien el francés." Why: "Ser bueno en" is understood but "darse bien" is more natural for skills/abilities. ``` French: ``` Original: "Je suis très bonne en français." Correction: "Je parle très bien français." or "Je suis très forte en français." Why: "Être bon/bien en" describes being good at a subject; "parler bien" describes the action of speaking a language. Original: "J'ai allé à Paris." Correction: "Je suis allé à Paris." Why: Aller uses être as the auxiliary in compound tenses, not avoir. ``` Japanese: ``` Original: "私は日本語が少し話せます。" ✅ (correct — natural and polite) Original: "明日私は友達に会いました。" Correction: "明日私は友達に会うつもりです。" or (if past tense intended) "昨日私は友達に会いました。" Why: "会いました" is past tense but 明日 indicates future. Match the tense to the time marker. ``` --- ## Activation **NOT automatic** — triggers only when prefixed: | Command | Language | Example | |---------|----------|---------| | `//en` | English | `//en I already send the report` | | `//cn` | Chinese | `//cn 我来到了美国已经三年了` | | `//es` | Spanish | `//es Yo tengo muchos años de experiencia` | | `//fr` | French | `//fr Je suis très bonne en français` | | `//ja` | Japanese | `//ja 私は日本語が少し話せます` | **Alternative trigger:** Say "check my [language]:" or "review this [language]:" followed by text. **Outside of triggers:** Normal conversation continues — no silent correction. --- ## Interaction Style - **Casual, friendly tone** — colleague pointing something out, not teacher grading - **Correct privately** — same conversation, keep it brief - **Give the pattern** — learn the rule, not just the fix - **Acknowledge good work** — occasionally say "that's correct" to reinforce - **Do not turn every message into a lesson** --- ## Design Principles - **Brief** — one meaningful correction per message - **Practical** — focus on errors that affect clarity or naturalness - **Non-intrusive** — only correct real issues, not style preferences - **Educational** — show the pattern, not just the fix - **Language-aware** — each language has its own rule set; don't apply English rules to Chinese

path: README.md
content: # Language Coach

![Version](https://img.shields.io/badge/version-2.0.0-blue)
![License](https://img.shields.io/badge/license-MIT-green)

Multi-language writing coach for grammar, word choice, collocations, and idiom errors. Supports English, Chinese, Spanish, French, and Japanese.

## Supported Languages

| Command | Language | Native Speakers |
|---------|----------|-----------------|
| `//en`  | English | ~1.5B |
| `//cn`  | Chinese (Mandarin) | ~1.1B |
| `//es`  | Spanish | ~550M |
| `//fr`  | French | ~280M |
| `//ja`  | Japanese | ~125M |

## Installation

```bash
# Via Git
git clone https://github.com/KaigeGao1110/language-coach ~/.openclaw/workspace/skills/language-coach
```

## Quick Start

Type `//[lang] ` followed by your text:

```
//en I already send the report to Oleg yesterday

//cn 我来到了美国已经三年了

//es Yo tengo muchos años de experiencia

//fr Je suis très bonne en français

//ja 私は日本語が少し話せます
```

## What It Does

- Corrects grammar errors
- Fixes word choice mistakes
- Improves collocations and idiomatic expressions
- Fixes register issues
- Language-specific error detection

## Correction Format

Each correction includes:
1. Original sentence
2. Corrected version
3. Brief explanation (1 sentence)

## Examples

### English
```
//en Can you please confirm if you received my email?
✅ (correct — no change needed)

//en I want to discuss about the project tomorrow.
Correction: I want to discuss the project tomorrow.
Why: "Discuss" is a transitive verb — it takes a direct object without "about."
```

### Chinese
```
//cn 这个是一个很好例子。
Correction: 这是一个很好的例子。
Why: 指示代词作主语时，定语标记"的"更自然地连接形容词。
```

### Spanish
```
//es Yo soy muy bueno en francés.
Correction: Se me da muy bien el francés.
Why: "Darse bien" is more idiomatic for describing skills/abilities.
```

### French
```
//fr J'ai allé à Paris.
Correction: Je suis allé à Paris.
Why: "Aller" uses être as the auxiliary in compound tenses, not avoir.
```

### Japanese
```
//ja 明日私は友達に会いました。
Correction: 昨日私は友達に会いました。
       or: 明日私は友達に会うつもりです。
Why: "会いました" is past tense but 明日 indicates future — match tense to time marker.
```

## Design Principles

- **Brief** — one meaningful correction per message
- **Practical** — focus on errors that affect clarity
- **Non-intrusive** — only correct real issues, not style preferences
- **Educational** — show the pattern, not just the fix
- **Language-aware** — each language has its own rule set

## For AI Agents

Install into your OpenClaw workspace skills directory.

## Language

Corrections are provided in the target language or English, depending on what best explains the error.


path: commands/cn.md
content: ---
name: cn
description: 审阅中文（普通话）文本的语法、用词、量词错误。用中文给出简短解释。
---

审阅以下中文文本，纠正任何错误（语法、语序、量词使用、「的」的使用、「的/地/得」混淆、错别字、或表达不自然）。保持简洁——每次只纠正一个最有意义的问题。

回复格式：
```
Original: [原文]
Correction: [修改后的文本]
Why: [用中文简述原因（1 句话）]
```

如果无需修改：
```
Original: [原文]
✅ 无需修改。
```

常见中文错误类型：
- 「的」滥用或缺失
- 「了」使用不一致
- 量词缺失或用错
- 语序问题
- 「的/地/得」混淆
- 重复冗余表达
- 错别字混淆

待审阅文本：
$ARGUMENTS


path: commands/en.md
content: ---
name: en
description: Review English text for grammar, word choice, collocations, and idiom errors. Provide brief corrections with brief explanations in English.
---

Review the following English text and correct any errors (grammar, word choice, collocations, idiom misuse, article usage, preposition errors, or register issues). Keep corrections brief — one meaningful correction per message.

Format your response as:
```
Original: [original text]
Correction: [corrected text]
Why: [brief explanation of the rule or pattern in 1 sentence]
```

If no corrections are needed:
```
Original: [original text]
✅ No corrections needed.
```

Text to review:
$ARGUMENTS


path: commands/es.md
content: ---
name: es
description: Revisa textos en español para errores de gramática, concordancia, subjuntivo y tildes. Explica en español.
---

Revisa el siguiente texto en español y corrige cualquier error (gramática, concordancia de género/número, ser vs estar, subjuntivo, acentos, o registro). Sé breve — una corrección significativa por mensaje.

Formato de respuesta:
```
Original: [texto original]
Correction: [texto corregido]
Why: [explicación breve en español (1 frase)]
```

Si no hay correcciones:
```
Original: [texto original]
✅ Sin correcciones.
```

Errores comunes en español:
- Ser vs estar (identidad/estado vs ubicación/condiciones transitorias)
- Concordancia de género (sustantivo-adjetivo, artículo-sustantivo)
- Concordancia de número (singular-plural)
- Pretérito vs imperfecto (acciones completadas vs continuadas)
- Por vs para (causa/motivo vs destino/finalidad)
- Subjuntivo tras verbos de duda, deseo, emoción
- Colocación de pronombres de objeto directo/indirecto
- Falta de tildes (á, é, í, ó, ú, ü, ñ)

Texto a revisar:
$ARGUMENTS


path: commands/fr.md
content: ---
name: fr
description: Corrige les textes en français pour erreurs de grammaire, accord, subjonctif et orthographe. Explique en français.
---

Examine le texte français suivant et corrige toute erreur (grammaire, accord de genre/nombre, subjonctif vs indicatif, prépositions, négation, articles partitifs, verbes pronominaux ou orthographe). Sois bref — une correction significative par message.

Format de réponse :
```
Original: [texte original]
Correction: [texte corrigé]
Why: [explication brève en français (1 phrase)]
```

Si aucune correction n'est nécessaire :
```
Original: [texte original]
✅ Pas de corrections.
```

Erreurs courantes en français :
- Accord de genre (le/la, un/une, adjectif-nom)
- Subjonctif vs indicatif après les expressions de doute, désir, émotion
- Prépositions avec verbes et adjectifs (penser à/de, jouer à/de)
- Concordance des temps dans les temps composés
- Structure de négation (ne...pas, ne...jamais, ne...rien)
- Articles partitifs (du, de la, des, de)
- Ordre des mots avec les pronoms (COD/COI)
- Verbes réfléchis (se lever, s'appeler, conjugués avec être)
- Accents et fautes d'orthographe (é/è, consonne double)

Texte à examiner :
$ARGUMENTS


path: commands/ja.md
content: ---
name: ja
description: 日本語の、助詞 usage、動詞活用、敬語レベルを校正する。日本語で簡潔に説明する。
---

以下の日本語テキストを校正する（助詞 usage、動詞活用、敬語レベル一致性、算用言葉、不自然な表現など）。簡潔に——メッセージごとに1つの主要な問題のみ指摘する。

回答形式：
```
Original: [原文]
Correction: [校正後のテキスト]
Why: [日本語で簡潔な説明（1文）]
```

校正が不要な場合：
```
Original: [原文]
✅ 校正不要。
```

日本語のよくある誤り：
- 助詞の混乱（は/が、を/に、で/へ、の/が）
- 動詞の活用錯誤（る/た/て/ない形）
- 敬語レベルの不統一（です/ます体とだ/である体の混合）
- 「は」と「が」の区別（トピック vs 主語）
- 「を」の脱落または位置錯誤
- 助数詞の使用錯誤（個/枚/本/匹/頭）
- 「やすい/にくい」の混乱
- 二重否定
- 丁寧語と常体の混用

校正するテキスト：
$ARGUMENTS


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)