claude-code-qol-mini / crates
AGENTS.md0 starsChanged 13 days agoMITView on GitHub
- Sources: crates/agents-md-chkr, crates/skills-chkr (one binary per gate), crates/vitals-utils (what two gates need), crates/xtask (automation). Lints, versions and metadata are inherited from the root Cargo.toml. Details: docs/adr/0007-the-gates-are-strict-rust.md. - mise.toml is the only place for Rust and cargo tool versions. No rust-toolchain.toml, no .tool-versions, no cargo install step. - Side effects only in boundary modules, which open with #![expect(clippy::disallowed_methods, reason = "boundary: …")]; the rest is pure. - An exemption is #[expect(lint, reason = "…")], scoped narrowly, never allow. Cargo.toml and…
- Installs packages
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 35,117 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.
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Test modules carry #[cfg_attr(coverage_nightly, coverage(off))].
- Very specific: line 17
Before writing a function or adding a crate, search crates/vitals-utils/ and the crate's own modules.
- Very specific: line 31
Run vp run wasm after a Rust change, before vp run -r test.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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
Rust sources of the vitals gates
- Sources:
crates/agents-md-chkr,crates/skills-chkr(one binary per gate),crates/vitals-utils(what two gates need),crates/xtask(automation). Lints, versions and metadata are inherited from the rootCargo.toml. Details:docs/adr/0007-the-gates-are-strict-rust.md. mise.tomlis the only place for Rust and cargo tool versions. Norust-toolchain.toml, no.tool-versions, nocargo installstep.- Side effects only in boundary modules, which open with
#![expect(clippy::disallowed_methods, reason = "boundary: …")]; the rest is pure. - An exemption is
#[expect(lint, reason = "…")], scoped narrowly, neverallow.Cargo.tomlandclippy.tomlare not relaxed to make a gate pass. - Test modules carry
#[cfg_attr(coverage_nightly, coverage(off))]; integration test files start with#![cfg(test)]. - Doc comments write CamelCase names in backticks (
`OpenCode`): clippydoc_markdownrejects them bare. - Before writing a function or adding a crate, search
crates/vitals-utils/and the crate's own modules. A helper a second gate needs moves tovitals-utils. - A new crate or a bump meets the admission criteria of ADR 0007 and is pinned
=x.y.zin[workspace.dependencies]. The 3-day cooldown in.cargo/config.tomlstays; stable toolchains are exempt, nightlies are date-pinned. - A probe whose fix a
qol-minicommand applies names it withwith_command: the arguments without the repository, set only when the command does what the fix says on every repository the finding fires on. A new command gets a test that runs the gate, the command, the gate again (ADR 0010). - A probe's output never depends on listing order:
vitals-utilssorts the walk. - The gate's own messages name the binary (
agents-md-chkr: cannot read …). vp run wasmbuilds the modules into the package'swasm/directory, gitignored and absent from a fresh clone. The test setup does not: a cachedvp runtask filters the environment,RUSTUP_TOOLCHAINincluded, and cargo falls back to another toolchain. Runvp run wasmafter a Rust change, beforevp run -r test.cargo agents-md-chkr [--repo-only] [PATH]andcargo skills-chkrrun a gate natively, without the CLI.
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.

