pnpm
pnpm add -D glosslintnpm
npm install -D glosslintyarn
yarn add -D glosslintbun
bun add -d glosslintRequires Node 22.18 or later.
First setup
Section titled "First setup"Write
Section titled "Write .agents/glossary.md".agents/glossary.md# Glossary Allow: roof rack ## Dock What: A powered stand where one bike is locked. Avoid: - rack: Racks are unpowered. Good: - Return the bike to any dock Bad: - Return the bike to any rack ## eBikeeBikedefaults toCase: exactbecause of its inner capital. See The glossary file for every field.Validate with
Section titled "Validate with doctor"doctornpx glosslint doctor # check format, values, and Good/Bad examples npx glosslint doctor --fix # rewrite layout and field namesCheck your docs
Section titled "Check your docs"npx glosslint check docsReads
.md,.mdx, and.txtfiles while skippingnode_modules,.git,.agents/glossary.md, frontmatter, and code. Exits0when clean,1on findings, and2on errors.