mire
AGENTS.md1 starsChanged 18 days agoApache-2.0View on GitHub
- Use Writing Rust & Reviewing Rust - Separate modules for maintainability and responsibilities/concerns - Symbol Order: constants, types, enums, structs, functions, then public before private within each category - Include rustdoc comments for exported & important symbols - no pub(super) or pub(crate) - Use writing for documentation - Don't include references to milestones or tickets (internal planning language) ANYWHERE in source code - Keep packages/docs/ up to date with usage instructions, again with the writing skill - The TUI…
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 31,542 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 repository9 other files it gives its agents.
- adv-revSkill
- arclightningSkill
- handoffSkill
- implementSkill
- resyncSkill
- reviewSkill
- reviseSkill
- stormSkill
- writing-docsSkill
The file
We split this AGENTS.md into the rules it gives an agent
11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Use Writing Rust & Reviewing Rust
- Distinctive: line 9
Use writing for documentation
- Distinctive: line 10
Don't include references to milestones or tickets (internal planning language) ANYWHERE in source code
- Very specific: line 12
Keep packages/docs/ up to date with usage instructions, again with the writing skill
- Very specific: line 41
Leave CHANGELOG.md alone in feature PRs.
- Very specific: line 50
Never commit to main. Push a claude/<topic>, codex/<topic> or storm/<task> branch.
- Very specific: line 61
Before pushing, run the command gates names in .github/fabrial.toml.
- Distinctive: line 64
Keep the PR body to what changed and why.
- Distinctive: line 65
Leave out attribution lines and session links.
- Distinctive: line 83
Use short sentences, common words, and one term for one thing.
- Distinctive: line 91
Check a draft against both before committing or posting.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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
AGENTS Guide
- Use Writing Rust & Reviewing Rust
- Separate modules for maintainability and responsibilities/concerns
- Symbol Order: constants, types, enums, structs, functions, then public before private within each category
- Include rustdoc comments for exported & important symbols
- no
pub(super)orpub(crate)
- Use writing for documentation
- Don't include references to milestones or tickets (internal planning language) ANYWHERE in source code
- Keep packages/docs/ up to date with usage instructions, again with the writing skill
- The TUI can and should be verified with a herdr pane. Open a background tab and send key/mouse events. Use the current working tree as the diff to check.
- For a TUI change, run
just shots(orjust shotfor a state it lacks) and report the PNG paths. Review snapshot changes withcargo insta reviewand commit only the ones you meant.
Gates
just check # web app build, fmt --check, clippy -D warnings, tests, frontend checksgates in .github/fabrial.toml names this command. CI runs the same recipe
as the check job. Clippy warnings fail it whether or not your change caused
them.
Plan
- Open work lives in arcl, in
.arcl/workspace. Use thearclightningskill to pick up, hand off, and complete tasks. Put task status updates and new tasks in the PR they describe. - ROADMAP.md holds the product direction and scope.
Commits and changelog
- PR titles are conventional commits (
feat: ...,fix: ...,docs: ...). The squash commit uses the PR title, and git-cliff (cliff.toml) builds the changelog from those subjects onmain. - Leave
CHANGELOG.mdalone in feature PRs. The release process writes it.
<!-- fabrial:begin -->Branches and pull requests
This repository uses fabrial. fab init wrote this section and the files it
names, fab update refreshes them, and fab check reports where they have
drifted.
- Never commit to
main. Push aclaude/<topic>,codex/<topic>orstorm/<task>branch; the Branch PR workflow opens the pull request as a draft from stormlight-thunderbot. - Commits on those branches may carry the agent's attribution trailers. The
squash commit replaces them with the PR title and number, such as
Add Pi dispatch (#21), the PR body above its<!-- fabrial:footerline,Merged from <branch>.and the owner'sCo-authored-byline from.github/fabrial.toml. Attribution lines and session links in the body are dropped, so nothing onmaincarries AI attribution. Editing the title or body of a reviewed PR posts the new squash message. Auto-merge keeps the message it was turned on with. - Before pushing, run the command
gatesnames in.github/fabrial.toml. - The owner approves the PR and merges it, with the posted squash message or their own edit of it. Agents never approve or merge.
- Keep the PR body to what changed and why. Put verification in a PR comment. Leave out attribution lines and session links.
- Agents post PR comments as stormlight-thunderbot through the Bot comment
workflow (
.github/workflows/comment.yml), never with their own GitHub access. - The agent that opens a PR reviews it with the
stormskill and ends with aReview finished at <sha>comment. That turnsstorm/reviewgreen for that head, marks the draft ready and sets the squash message in the bot's status comment, which it edits rather than posting anew. The owner merges, by hand or with auto-merge they turn on; agents and the gate never turn it on./storm:ready <sha>from the owner, a member or a collaborator accepts that head as it is, and/storm:stopturns auto-merge off.
Writing
Everything here is read by a person: docs, commit messages, PR titles and bodies, comments, and replies. Keep it short and plain:
- Lead with the point, and say each thing once.
- Use short sentences, common words, and one term for one thing.
- Cut preambles, summaries of what was just said, and sign-offs.
- Name the property, the limit or the failure, not a judgment of it.
- Stay inside the length targets: a PR body around 150 words, a review comment 200, any other comment 100.
.claude/skills/writing-docs/ holds the full standard, and its
references/tells.md lists the patterns that make text read as generated.
Check a draft against both before committing or posting.
<!-- fabrial:end -->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.

