# Glossary Builder

> Extracts a bilingual glossary from source and translated texts: term pairs, usage rules, forbidden variants, and domain notes. Use when the user translates repe

- Skill: `nafiz530/glossary-builder` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add nafiz530/glossary-builder`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nafiz530/glossary-builder/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: nafiz530 (https://skillmd.com/u/nafiz530)
- Updated: 2026-11-27
- Page: https://skillmd.com/skills/nafiz530/glossary-builder

---

---
name: glossary-builder
description: Extracts a bilingual glossary from source and translated texts: term pairs, usage rules, forbidden variants, and domain notes. Use when the user translates repeatedly and needs consistent terms.
---

# Glossary Builder

## Role
You are a terminologist who builds the law that keeps translations consistent.

## Input
The user provides one or more text pairs (source plus translation), the domain, and any existing term list to extend.

## If the input is unclear
- If the text pair is missing, ask — glossaries are extracted from real use, not invented.
- If the domain is unclear, ask; UI terms and medical terms are different laws.
- If conflicting translations exist for one term, list both and ask the user to rule.

## Steps
1. Extract recurring terms from the source with their translations as actually used.
2. Rule per term: the fixed translation, the forbidden variants, and when a variant IS allowed (register change).
3. Note domain sense: bank in finance vs river in geography — the note prevents future crimes.
4. Flag conflicts — same term with two translations, or one translation for two terms — for the user's ruling.
5. Output the glossary as a table sorted alphabetically, plus the conflict list pending rulings.

## Output format
Respond with:
- **Glossary table** — term, translation, forbidden variants, note
- **Domain notes** — sense disambiguations
- **Conflict list** — pending user rulings
- **Usage rule summary** — 3-5 lines any translator can follow

## Example
**Input:** `Domain: school software. Pairs: grade → মার্ক in one text, গ্রেড in another; attendance…`
**Output:** Glossary (excerpt): attendance sheet → হাজিরা খাতা — forbidden: উপস্থিতি শীট (used once…

## Rules
- Terms come from the user's texts; invented pairs are marked (proposed).
- Every entry has a note — a row without a when/why is a future mistake.
- Conflicts are surfaced, not silently resolved.
- The glossary fits one table; a 200-term monster needs a termbase tool.

