[{"data":1,"prerenderedAt":373,"buildId":374},["ShallowReactive",2],{"docs:\u002Fguide\u002Fagents":3},{"page":4,"section":16,"document":17,"credits":10,"prev":369,"next":10},{"id":5,"path":6,"file":7,"title":8,"sourceTitle":8,"description":9,"tagline":9,"eyebrow":10,"credits":10,"keywords":11,"icon":12,"layout":13,"sidebar":14,"toc":14,"kind":10,"group":10,"navigation":14,"order":15},"agents","\u002Fguide\u002Fagents","guide\u002Fagents.md","Coding agents","Export your glossary for coding agents, follow the five-step editing workflow by fix.kind, and install the glosslint agent skill.",null,[],"i-lucide-bot","article",true,10,"guide",{"nodes":18,"toc":364},[19,23,31,39,71,82,119,140,164,170,173,236,246,262,305,319,325,332,349],[20,21,22],"p",{},"This page shows how to give coding agents your glosslint glossary, the five-step workflow an agent follows when editing text or the corpus, and how to install the glosslint agent skill from this site.",[24,25,30],"h2",{"id":26,"anchor":27},"set-up-a-project-for-coding-agents",{"label":28,"icon":29},"Section titled \"Set up a project for coding agents\"","#","Set up a project for coding agents",[20,32,33,34,38],{},"To set a project up for coding agents, put the glossary where they read it. ",[35,36,37],"code",{},"glosslint print"," writes your corpus as a Markdown glossary, with one section per term that says more than its spelling and one \"Spelling\" line for the rest.",[40,41,45],"pre",{"language":42,"frame":43,"class":44},"sh","terminal","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[35,46,48],{"class":47},"language-sh",[49,50,53,57,61,64,68],"span",{"class":51,"style":52},"line","display: inline",[49,54,56],{"style":55},"color:#953800;--shiki-dark:#FFA657","npx",[49,58,60],{"style":59},"color:#0A3069;--shiki-dark:#A5D6FF"," glosslint",[49,62,63],{"style":59}," print",[49,65,67],{"style":66},"color:#CF222E;--shiki-dark:#FF7B72"," >",[49,69,70],{"style":59}," .agents\u002Fterms.md",[20,72,73,74,77,78,81],{},"For the bike-share corpus, the ",[35,75,76],{},"Dock"," section of ",[35,79,80],{},".agents\u002Fterms.md"," looks like this:",[40,83,85],{"language":84,"class":44},"txt",[35,86,88,93,94,93,99,93,104,93,109,93,114],{"class":87},"language-txt",[49,89,90],{"class":51,"style":52},[49,91,92],{},"## Dock","\n",[49,95,96],{"class":51,"style":52},[49,97,98],{},"A powered stand where one bike is locked.",[49,100,101],{"class":51,"style":52},[49,102,103],{},"- A station is a group of docks.",[49,105,106],{"class":51,"style":52},[49,107,108],{},"- Don't write: rack (racks are unpowered), bay.",[49,110,111],{"class":51,"style":52},[49,112,113],{},"- Good: \"Return the bike to any dock\". Bad: \"Return the bike to any rack\".",[49,115,116],{"class":51,"style":52},[49,117,118],{},"- See: [Docks](https:\u002F\u002Fexample.com\u002Fdocs\u002Fdocks).",[20,120,121,122,124,125,128,129,131,132,135,136,139],{},"Link ",[35,123,80],{}," from ",[35,126,127],{},"AGENTS.md",", or paste the sections you care about into ",[35,130,127],{}," itself. Rerun ",[35,133,134],{},"npx glosslint print > .agents\u002Fterms.md"," whenever the corpus changes so the file stays in sync with ",[35,137,138],{},"glosslint.config.ts",".",[20,141,142,143,146,147,149,150,155,156,160,161,163],{},"If your project already keeps a Markdown glossary table that ",[35,144,145],{},"fromGlossaryTable"," reads, link that table from ",[35,148,127],{}," instead of generating a second file. See ",[151,152,154],"a",{"href":153},"\u002Fguide\u002Fglossary-table","Glossary table"," for the table format and ",[151,157,159],{"href":158},"\u002Fintegrations\u002Fcli","CLI"," for ",[35,162,37],{}," options.",[24,165,169],{"id":166,"anchor":167},"workflow-for-coding-agents",{"label":168,"icon":29},"Section titled \"Workflow for coding agents\"","Workflow for coding agents",[20,171,172],{},"If you are an agent working in a project that uses glosslint, follow these five steps:",[174,175,176,180,187,194,230],"ol",{},[177,178,179],"li",{},"Read the glossary before you write user-facing text.",[177,181,182,183,186],{},"When you are unsure which word to use, run ",[35,184,185],{},"glosslint explain \"\u003Cword>\""," first. It prints the term, what it means, the nuance and the words to avoid.",[177,188,189,190,193],{},"After editing, run the project's lint, and ",[35,191,192],{},"glosslint check --format json"," on the docs you touched.",[177,195,196,197,200,201],{},"Apply findings by ",[35,198,199],{},"fix.kind",":",[202,203,204,210,224],"ul",{},[177,205,206,209],{},[35,207,208],{},"autofix",": apply it as given.",[177,211,212,215,216,219,220,223],{},[35,213,214],{},"suggestion",": read the term's ",[35,217,218],{},"nuance"," and the finding's ",[35,221,222],{},"why",", then pick the word that fits the meaning. The suggested term is often right. Not always.",[177,225,226,229],{},[35,227,228],{},"rename",": do not apply it alone. Rename every caller in the same change, or report it.",[177,231,232,233,139],{},"After editing the corpus, run ",[35,234,235],{},"glosslint test",[20,237,238,239,242,243,139],{},"When you run ",[35,240,241],{},"glosslint explain"," in step 2, it matches the term itself, an abbreviation, a form, an avoid word, a misspelling, or a mention. If no term matches, it exits ",[35,244,245],{},"1",[40,247,248],{"language":42,"frame":43,"class":44},[35,249,250],{"class":47},[49,251,252,254,256,259],{"class":51,"style":52},[49,253,56],{"style":55},[49,255,60],{"style":59},[49,257,258],{"style":59}," explain",[49,260,261],{"style":59}," rack",[40,263,264],{"language":84,"class":44},[35,265,266,93,270,93,275,93,280,93,285,93,290,93,295,93,300],{"class":87},[49,267,268],{"class":51,"style":52},[49,269,76],{},[49,271,272],{"class":51,"style":52},[49,273,274],{},"  \"rack\" is an avoid word for Dock. Racks are unpowered.",[49,276,277],{"class":51,"style":52},[49,278,279],{},"  A powered stand where one bike is locked.",[49,281,282],{"class":51,"style":52},[49,283,284],{},"  A station is a group of docks.",[49,286,287],{"class":51,"style":52},[49,288,289],{},"  Avoid: rack (racks are unpowered), bay.",[49,291,292],{"class":51,"style":52},[49,293,294],{},"  Good: \"Return the bike to any dock\". Bad: \"Return the bike to any rack\".",[49,296,297],{"class":51,"style":52},[49,298,299],{},"  See: Docks https:\u002F\u002Fexample.com\u002Fdocs\u002Fdocks",[49,301,302],{"class":51,"style":52},[49,303,304],{},"  Related: Station",[20,306,307,308,312,313,315,316,318],{},"See ",[151,309,311],{"href":310},"\u002Freference\u002Ffindings","Findings"," for the JSON output of ",[35,314,192],{}," and every field on a finding, and ",[151,317,159],{"href":158}," for all commands and exit codes.",[24,320,324],{"id":321,"anchor":322},"agent-skill-and-markdown-docs",{"label":323,"icon":29},"Section titled \"Agent skill and Markdown docs\"","Agent skill and Markdown docs",[20,326,327,328,331],{},"This site serves an agent skill that teaches coding agents how to work with glosslint. Install the ",[35,329,330],{},"glosslint"," skill with:",[40,333,334],{"language":42,"frame":43,"class":44},[35,335,336],{"class":47},[49,337,338,340,343,346],{"class":51,"style":52},[49,339,56],{"style":55},[49,341,342],{"style":59}," skills",[49,344,345],{"style":59}," add",[49,347,348],{"style":59}," https:\u002F\u002Fglosslint.onmax.me\u002F",[20,350,351,352,355,356,359,360,363],{},"Every page on this site also has a raw Markdown copy at ",[35,353,354],{},"\u002Fraw\u002F\u003Cpage>.md",", such as ",[35,357,358],{},"\u002Fraw\u002Fguide\u002Fagents.md",", plus a full index at ",[35,361,362],{},"\u002Fllms.txt"," that agents and tools can fetch without parsing HTML.",[365,367,368],{"id":26,"depth":366,"text":30},2,{"id":166,"depth":366,"text":169},{"id":321,"depth":366,"text":324},{"path":370,"title":371,"description":372},"\u002Fguide\u002Fcase-police","Coming from case-police","How glosslint's tech preset matches case-police 2.2.1 across 488 entries, where the 7 joined spellings differ, and how to migrate.",1795627930375,"94d466e2-147b-430f-b5f0-25c6a986e462"]