--- name: glossary-management description: Manage terminology glossary with Vale. TRIGGERS - sync terms, glossary validation, add terms, Vale vocabulary. --- # Glossary Management ## Overview Manage the global terminology glossary (`~/.claude/docs/GLOSSARY.md`) and its Vale integration. The glossary is the Single Source of Truth (SSoT) for terminology across all projects. ## When to Use This Skill Use when: - Manually syncing glossary to Vale vocabulary files - Validating glossary format and structure - Checking for duplicate or conflicting terms across projects - Adding new terms programmatically - Troubleshooting Vale terminology warnings ## Quick Commands ```bash # Manual sync to Vale bun ~/.claude/tools/bin/glossary-sync.ts # Check for duplicates/conflicts across projects (invokes terminology-sync hook) bun ~/eon/cc-skills/plugins/itp-hooks/hooks/posttooluse-terminology-sync.ts <<< '{"tool_name":"Edit","tool_input":{"file_path":"/tmp/test-CLAUDE.md"}}' ``` ## Architecture ``` ┌─────────────────────────────────────────────────────────────────┐ │ GLOSSARY.md (SSoT) │ │ ~/.claude/docs/GLOSSARY.md │ └─────────────────────────┬───────────────────────────────────────┘ │ ┌───────────────┼───────────────┐ │ │ │ ▼ ▼ ▼ ┌─────────────────┐ ┌───────────┐ ┌────────────────────┐ │ accept.txt │ │ Term.yml │ │ Project CLAUDE.md │ │ (Vale vocab) │ │ (subs) │ │ (bidirectional) │ └─────────────────┘ └───────────┘ └────────────────────┘ ``` ## SCAN_PATHS Configuration The terminology sync hook uses `SCAN_PATHS` to discover project CLAUDE.md files. This is configured via an HTML comment in GLOSSARY.md: ```markdown ``` **Format rules**: - Must be an HTML comment starting with `