shunt / wiki
AGENTS.md267 starsChanged 25 days agoApache-2.0View on GitHub
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- src/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- src/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- wiki/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- wiki/llms-full.txtllms.txt
- wiki/llms.txtllms.txt
- run-claude-gateway-refSkill
- run-shuntSkill
- verifySkill
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Run npm run build after changing Starlight config, Mermaid diagrams, dependencies, or generated Markdown.
- Very specific: line 14
Check Mermaid blocks for dark-mode colors and a following <!-- Sources: ...
- Very specific: line 15
Check source citation links for valid https://github.com/chatbot-pf/shunt/blob/main/...#L...
- Very specific: line 28
Every page needs title and description frontmatter.
- Distinctive: line 29
Use source-linked citations for non-trivial claims.
- Distinctive: line 30
Prefer tables for structured information.
- Very specific: line 33
Do not use <br/> in Mermaid labels.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
shunt Wiki Agent Instructions
Build & Run Commands
- Install dependencies:
npm install - Develop locally:
npm run dev - Build static site:
npm run build(runsastro build) - Preview built site:
npm run preview - Build output:
wiki/dist/
Testing
- Run
npm run buildafter changing Starlight config, Mermaid diagrams, dependencies, or generated Markdown. - Check Mermaid blocks for dark-mode colors and a following
<!-- Sources: ... -->comment. - Check source citation links for valid
https://github.com/chatbot-pf/shunt/blob/main/...#L...targets.
Documentation Structure
src/content/docs/index.md: wiki landing page.src/content/docs/onboarding/: Contributor, Staff Engineer, Executive, and Product Manager guides.src/content/docs/01-getting-started/: overview, configuration, operations.src/content/docs/02-deep-dive/: architecture, routing/configuration, adapters/translation, authentication, testing.llms.txt: concise LLM-readable documentation map.llms-full.txt: full wiki content for LLM context.
Content Conventions
- Every page needs
titleanddescriptionfrontmatter. - Use source-linked citations for non-trivial claims.
- Prefer tables for structured information.
- Mermaid sequence diagrams must include
autonumber. - Mermaid diagrams should use dark colors:
#2d333b,#6d5dfc,#e6edf3,#161b22,#30363d,#8b949e. - Do not use
<br/>in Mermaid labels. - Escape bare generics in prose with backticks.
Boundaries
- ✅ Keep generated content in English.
- ✅ Keep Starlight config aligned with
astro.config.mjssidebar entries. - ⚠️ Ask before deleting generated pages or changing the site generator.
- ⚠️ Ask before changing theme dependencies or Mermaid rendering strategy.
- 🚫 Never remove citations to make prose cleaner.
- 🚫 Never modify upstream Rust behavior from inside wiki-only work.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

