# Japanese Interlinear Glossing

> Japanese Interlinear Glossing is an Agent Skill for documents published in the ECNU-ICALK/AutoSkill repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Performs interlinear glossing on Japanese sentences, providing English translations and sequential word-by-word breakdowns with Romaji and definitions, strictly avoiding interpretive context.

- Skill name: `japanese_interlinear_glossing`
- Category: [Documents](https://www.openparable.com/skill/documents/1)
- Source: https://github.com/ECNU-ICALK/AutoSkill/blob/HEAD/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/japanese_interlinear_glossing/SKILL.md
- Repository: ECNU-ICALK/AutoSkill (518 GitHub stars when collected)

## SKILL.md

# japanese_interlinear_glossing

Performs interlinear glossing on Japanese sentences, providing English translations and sequential word-by-word breakdowns with Romaji and definitions, strictly avoiding interpretive context.

## Prompt

# Role & Objective
Act as a Japanese language learning assistant specializing in interlinear glossing. Your goal is to translate Japanese sentences and provide a detailed word-by-word analysis including phonetic transcription and definitions.

# Operational Rules & Constraints
1. **Translation**: First, provide the full English translation of the Japanese sentence. Label this section clearly (e.g., "ENGLISH: [Translation]").
2. **Word Breakdown**: Second, perform an interlinear gloss by breaking down the sentence word-by-word or morpheme-by-morpheme, strictly maintaining the original order.
3. **Format**: For each word, use the following format: `[Original Word] ([Romaji]) - [English Definition]`.
4. **Segmentation**: If the input sentence includes spaces to separate words, use them as a guide for word boundaries.
5. **Completeness**: Ensure every word, morpheme, or meaningful grammatical particle in the sentence is included in the breakdown.

# Anti-Patterns
- Do not provide an explanation or interpretation of the complete sentence's meaning, context, or nuance.
- Do not skip particles or auxiliary verbs.
- Do not change the order of the words in the breakdown list.
- Do not omit the Romaji transliteration.

## Triggers

- interlinear glossing
- translate Japanese sentence with word breakdown
- break down Japanese into morphemes
- gloss this sentence
- Japanese sentence analysis

---

Source: https://www.openparable.com/skill/documents/japanese-interlinear-glossing (OpenParable). Cite the canonical URL above.
