omni-dev
AGENTS.md2 starsChanged 39 days agoBSD-3-ClauseView on GitHub
src/lib.rs exposes the Rust library; src/main.rs runs the omni-dev CLI. Feature-specific modules live under src/ (for example, src/atlassian/, src/git/, and src/daemon/). The optional MCP binary is src/mcp_server.rs and requires the mcp feature. Integration tests are in tests/; unit tests usually sit beside their implementation. Snapshots live in tests/snapshots/ and module-local snapshots/ directories. The VS Code extension is in editors/vscode/, the site in website/, reference assets in assets/, and architecture notes and contributor recipes in docs/. Use Rust 1.88 or newer.…
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,439 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 repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- changelogSkill
- commit-twiddleSkill
- format-tableSkill
- releaseSkill
- update-adr-inventorySkill
- update-snapshotsSkill
- version-bumpSkill
- changelogSkill
- commit-twiddleSkill
- format-tableSkill
- releaseSkill
- update-adr-inventorySkill
- update-snapshotsSkill
- version-bumpSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use Rust 1.88 or newer. From the repository root:
- Very specific: line 33
Create new worktrees outside this checkout at $HOME/wrk/work-trees/omni-dev/<branch>/.
≈ “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
Repository Guidelines
Project Structure & Module Organization
src/lib.rs exposes the Rust library; src/main.rs runs the omni-dev CLI. Feature-specific modules live under src/ (for example, src/atlassian/, src/git/, and src/daemon/). The optional MCP binary is src/mcp_server.rs and requires the mcp feature. Integration tests are in tests/; unit tests usually sit beside their implementation. Snapshots live in tests/snapshots/ and module-local snapshots/ directories. The VS Code extension is in editors/vscode/, the site in website/, reference assets in assets/, and architecture notes and contributor recipes in docs/.
Build, Test, and Development Commands
Use Rust 1.88 or newer. From the repository root:
cargo buildbuilds the default CLI and library.cargo run -- --helpruns the CLI locally.cargo testruns Rust unit and integration tests;cargo test --features mcpalso checks the MCP feature.cargo fmt --all -- --checkchecks formatting;cargo clippy --all-targets -- -D warningschecks lint warnings../scripts/build.shruns the local build, formatting, Clippy, and test checks together.
For extension changes, run npm ci, npm run typecheck, and npm test from editors/vscode/.
Coding Style & Naming Conventions
Follow rustfmt.toml (Rust 2021, 100-column width) and .editorconfig: four-space indentation for Rust and TOML, two spaces for Markdown, YAML, JSON, and shell. Use snake_case for Rust modules, functions, and variables; PascalCase for types. Document public APIs with ///. Keep unsafe code out of ordinary modules; the crate denies it by default.
Testing Guidelines
Add focused #[test] or #[tokio::test] cases near changed Rust code and integration tests in tests/ for CLI behavior. Name tests for the behavior or regression they cover. The suite uses insta snapshots and proptest where suitable; review snapshot changes before committing. Network-dependent tests are gated separately with RUSTFLAGS='--cfg online_tests' cargo test.
Commit & Pull Request Guidelines
Use scoped conventional commits, such as feat(atlassian): add sprint listing or fix(cli): reject invalid input. Valid types and scopes are listed in .omni-dev/commit-guidelines.md and .omni-dev/scopes.yaml; CI checks commit messages. In PRs, use .github/pull_request_template.md: explain the change and why, link the issue, report tests and coverage, and include screenshots for UI changes. Update user-facing docs, and add a changelog fragment for notable changes, never edit CHANGELOG.md itself: changelog.d/<issue>.<type>.md for the crate, and changelog.d/vscode/<issue>.<type>.md for a user-visible editors/vscode/ change (see changelog.d/README.md). The Changelog Check workflow (scripts/changelog.py check-pr) enforces both, and docs/RELEASE.md#changelog-check lists the opt-out commit trailers.
Worktree Practice
Create new worktrees outside this checkout at $HOME/wrk/work-trees/omni-dev/<branch>/. When working in a worktree, target commands and edits at its explicit path, verify git status --porcelain there after the first edit, and confirm the branch before committing.
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.

