agentleFS
ltruchotltruchot/claude-code-qol-mini/crates/AGENTS.md

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.

  • In this repository3 other files it gives its agents.

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
  1. Very specific:

    Test modules carry #[cfg_attr(coverage_nightly, coverage(off))].

    line 13
  2. Very specific:

    Before writing a function or adding a crate, search crates/vitals-utils/ and the crate's own modules.

    line 17
  3. Very specific:

    Run vp run wasm after a Rust change, before vp run -r test.

    line 31

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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 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 clippy.toml are 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`): clippy doc_markdown rejects 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 to vitals-utils.
  • A new crate or a bump meets the admission criteria of ADR 0007 and is pinned =x.y.z in [workspace.dependencies]. The 3-day cooldown in .cargo/config.toml stays; stable toolchains are exempt, nightlies are date-pinned.
  • A probe whose fix a qol-mini command applies names it with with_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-utils sorts the walk.
  • The gate's own messages name the binary (agents-md-chkr: cannot read …).
  • vp run wasm builds the modules into the package's wasm/ directory, gitignored and absent from a fresh clone. The test setup does not: a cached vp run task filters the environment, RUSTUP_TOOLCHAIN included, and cargo falls back to another toolchain. Run vp run wasm after a Rust change, before vp run -r test.
  • cargo agents-md-chkr [--repo-only] [PATH] and cargo skills-chkr run a gate natively, without the CLI.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.