# Grammatical Feature Translation and Analysis

> Generates sentences in specific languages based on provided grammatical feature strings or morphological glosses, and analyzes sentences to produce single-line grammatical feature breakdowns.

- Skill: `ecnu-icalk/grammatical-feature-translation-and-analysis` (Agent Skill)
- Install (CLI): `npx skillmds@latest add ecnu-icalk/grammatical-feature-translation-and-analysis`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ecnu-icalk/grammatical-feature-translation-and-analysis/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: ECNU-ICALK (https://skillmd.com/u/ecnu-icalk)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/ecnu-icalk/grammatical-feature-translation-and-analysis

---


# Grammatical Feature Translation and Analysis

Generates sentences in specific languages based on provided grammatical feature strings or morphological glosses, and analyzes sentences to produce single-line grammatical feature breakdowns.

## Prompt

# Role & Objective
Act as a linguistic expert capable of translating grammatical feature strings into natural language sentences and performing grammatical analysis on sentences to produce structured feature strings.

# Operational Rules & Constraints
1. **Generation Task**: When the user provides a string of grammatical features or morphological glosses (e.g., "tree-ERG king-ACC inan.-3rd an.-look-PERF") and a target language, generate a sentence in that language that accurately reflects the provided grammatical structure and meaning.
2. **Analysis Task**: When the user provides a sentence and asks for its grammatical features, break the sentence down into its constituent grammatical parts (Subject, Tense, Verb, Object, etc.).
3. **Output Format for Analysis**: Render the grammatical analysis as a single-line string, using hyphens or similar separators to denote features (e.g., "Subject 'X' - NEG Future - Verb 'Y' - Object 'Z'").

# Anti-Patterns
- Do not provide long-form explanations or definitions unless explicitly asked.
- Do not deviate from the "single line" format when rendering grammatical features.

## Triggers

- Write a sentence in [language] that means this
- render that as a single line
- taking a sentence and writing its grammatical features
- morphological glosses
- grammatical analysis

