[{"data":1,"prerenderedAt":371,"buildId":372},["ShallowReactive",2],{"docs:\u002Fguide\u002Fagents":3},{"page":4,"section":16,"document":17,"credits":10,"prev":364,"next":368},{"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","Wire glosslint into package.json and AGENTS.md so coding agents read your glossary and check their own edits.",null,[],"i-lucide-bot","article",true,9,"guide",{"nodes":18,"toc":360},[19,36,85,104,142,145,162,189,197,260,282,328,340,346],[20,21,22,23,31,32,35],"p",{},"Coding agents read ",[24,25,27],"a",{"href":26},"\u002Fguide\u002Fglossary",[28,29,30],"code",{},".agents\u002Fglossary.md"," directly, the same file ESLint, Oxlint, x18n, and the CLI check. Add a script in ",[28,33,34],{},"package.json"," and run it in CI:",[37,38,41],"pre",{"language":39,"filename":34,"class":40,"wrap":14},"json","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[28,42,44,53,54,53,63,53,75,53,80],{"class":43},"language-json",[45,46,49],"span",{"class":47,"style":48},"line","display: inline",[45,50,52],{"style":51},"color:#1F2328;--shiki-dark:#E6EDF3","{","\n",[45,55,56,60],{"class":47,"style":48},[45,57,59],{"style":58},"color:#116329;--shiki-dark:#7EE787","  \"scripts\"",[45,61,62],{"style":51},": {",[45,64,65,68,71],{"class":47,"style":48},[45,66,67],{"style":58},"    \"lint:terms\"",[45,69,70],{"style":51},": ",[45,72,74],{"style":73},"color:#0A3069;--shiki-dark:#A5D6FF","\"glosslint doctor && glosslint check docs\"",[45,76,77],{"class":47,"style":48},[45,78,79],{"style":51},"  }",[45,81,82],{"class":47,"style":48},[45,83,84],{"style":51},"}",[20,86,87,88,91,92,95,96,99,100,103],{},"Both commands exit ",[28,89,90],{},"0"," when clean and ",[28,93,94],{},"1"," on problems or findings, so ",[28,97,98],{},"lint:terms"," fails CI when the glossary is broken or docs drift. Point agents at the glossary and the script in ",[28,101,102],{},"AGENTS.md",":",[37,105,107],{"language":106,"filename":102,"class":40,"wrap":14},"md",[28,108,110,53,116,53,118],{"class":109},"language-md",[45,111,112],{"class":47,"style":48},[45,113,115],{"style":114},"color:#0550AE;--shiki-light-font-weight:bold;--shiki-dark:#79C0FF;--shiki-dark-font-weight:bold","## Vocabulary",[45,117],{"class":47,"style":48},[45,119,120,123,127,130,133,136,139],{"class":47,"style":48},[45,121,122],{"style":51},"Read ",[45,124,126],{"style":125},"color:#0550AE;--shiki-dark:#79C0FF","`.agents\u002Fglossary.md`",[45,128,129],{"style":51}," before writing UI copy or docs. Run ",[45,131,132],{"style":125},"`npm run lint:terms`",[45,134,135],{"style":51}," after edits, and ",[45,137,138],{"style":125},"`npx glosslint doctor --fix`",[45,140,141],{"style":51}," after changing the glossary.",[20,143,144],{},"Put a link to the format guide under the glossary's title so an agent opening the file alone can still check its syntax:",[37,146,147],{"language":106,"filename":30,"class":40,"wrap":14},[28,148,149,53,154,53,156],{"class":109},[45,150,151],{"class":47,"style":48},[45,152,153],{"style":114},"# Glossary",[45,155],{"class":47,"style":48},[45,157,158],{"class":47,"style":48},[45,159,161],{"style":160},"color:#6E7781;--shiki-dark:#8B949E","\u003C!-- Format and checks: https:\u002F\u002Fglosslint.loadsheet.dev\u002Fguide\u002Fglossary -->",[20,163,164,165,171,172,175,176,179,180,183,184,188],{},"If you also use ",[24,166,168],{"href":167},"\u002Fguide\u002Fcorpus",[28,169,170],{},"defineCorpus",", pass its module with ",[28,173,174],{},"--corpus",": export the merged corpus with ",[28,177,178],{},"npx glosslint print --corpus \u003Cmodule>"," and run ",[28,181,182],{},"npx glosslint test --corpus \u003Cmodule>"," after changes. See ",[24,185,187],{"href":186},"\u002Fintegrations\u002Fcli#print","CLI",".",[190,191,196],"h2",{"id":192,"anchor":193},"agent-workflow",{"label":194,"icon":195},"Section titled \"Agent workflow\"","#","Agent workflow",[198,199,200,210,234],"ol",{},[201,202,122,203,205,206,209],"li",{},[28,204,30],{}," before writing copy or docs, or run ",[28,207,208],{},"npx glosslint explain \u003Cword>"," when unsure which term to use.",[201,211,212,213,217,218,222,223,225,226,229,230,233],{},"Run your project linter, such as ",[24,214,216],{"href":215},"\u002Fintegrations\u002Feslint","ESLint"," or ",[24,219,221],{"href":220},"\u002Fintegrations\u002Foxlint","Oxlint",", and ",[28,224,98],{},", or pass ",[28,227,228],{},"--format json"," to ",[28,231,232],{},"glosslint check"," for structured output.",[201,235,236,237,240,241,244,245,248,249,252,253,256,257,188],{},"Follow each finding's ",[28,238,239],{},"fix.kind",": apply ",[28,242,243],{},"autofix"," as given, read ",[28,246,247],{},"why"," and ",[28,250,251],{},"nuance"," before applying a ",[28,254,255],{},"suggestion",", and update every caller for a ",[28,258,259],{},"rename",[37,261,264],{"language":262,"frame":263,"class":40,"wrap":14},"sh","terminal",[28,265,267],{"class":266},"language-sh",[45,268,269,273,276,279],{"class":47,"style":48},[45,270,272],{"style":271},"color:#953800;--shiki-dark:#FFA657","npx",[45,274,275],{"style":73}," glosslint",[45,277,278],{"style":73}," explain",[45,280,281],{"style":73}," rack",[37,283,285],{"language":284,"class":40,"wrap":14},"txt",[28,286,288,53,293,53,298,53,303,53,308,53,313,53,318,53,323],{"class":287},"language-txt",[45,289,290],{"class":47,"style":48},[45,291,292],{},"Dock",[45,294,295],{"class":47,"style":48},[45,296,297],{},"  \"rack\" is an avoid word for Dock. Racks are unpowered.",[45,299,300],{"class":47,"style":48},[45,301,302],{},"  A powered stand where one bike is locked.",[45,304,305],{"class":47,"style":48},[45,306,307],{},"  A station is a group of docks.",[45,309,310],{"class":47,"style":48},[45,311,312],{},"  Avoid: rack (racks are unpowered), bay.",[45,314,315],{"class":47,"style":48},[45,316,317],{},"  Good: \"Return the bike to any dock\". Bad: \"Return the bike to any rack\".",[45,319,320],{"class":47,"style":48},[45,321,322],{},"  See: Docks https:\u002F\u002Fexample.com\u002Fdocs\u002Fdocks",[45,324,325],{"class":47,"style":48},[45,326,327],{},"  Related: Station",[20,329,330,331,335,336,339],{},"See ",[24,332,334],{"href":333},"\u002Fguide\u002Ffindings","Findings"," for the JSON output and ",[24,337,187],{"href":338},"\u002Fintegrations\u002Fcli"," for all commands.",[190,341,345],{"id":342,"anchor":343},"markdown-docs",{"label":344,"icon":195},"Section titled \"Markdown docs\"","Markdown docs",[20,347,348,349,352,353,356,357,188],{},"Every page on this site has a raw Markdown copy at ",[28,350,351],{},"\u002Fraw\u002F\u003Cpage>.md",", such as ",[28,354,355],{},"\u002Fraw\u002Fguide\u002Fagents.md",", and a full index at ",[28,358,359],{},"\u002Fllms.txt",[361,363],{"id":192,"depth":362,"text":196},2,{"id":342,"depth":362,"text":345},{"path":365,"title":366,"description":367},"\u002Fguide\u002Fcase-police","Coming from case-police","Parity between glosslint's tech preset and case-police 2.2.1 across 488 entries, the 7 joined-spelling differences, and moving over.",{"path":333,"title":369,"description":370},"Findings format","Reference for glosslint findings: the JSON and tree output, every field, the three codes, and fix kinds.",1795952941560,"f20d75f8-66fe-45da-ad80-3ee49bbc9209"]