agentleFS
oniharnantyooniharnantyo/go-ai-ready-boilerplate/AGENTS.md

go-ai-ready-boilerplate

AGENTS.md1 starsChanged 4 months agoMITView on GitHub

Hexagonal-architecture Go boilerplate, built to be developed with AI agents. Not an AI application — "AI-ready" = ready for AI-assisted development. Keep this file and CLAUDE.md minimal. Edit rules only in scripts/rules/, then run make rules.

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are 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.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Not an AI application — "AI-ready" = ready for AI-assisted development.

    line 4
  2. Very specific:

    Codex / Antigravity / Kiro: read scripts/rules/ directly — this file stays minimal by design.

    line 10
  3. Very specific:

    Follow the architecture boundaries — domain imports nothing.

    line 13

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

AGENTS.md

Hexagonal-architecture Go boilerplate, built to be developed with AI agents. Not an AI application — "AI-ready" = ready for AI-assisted development.

Where the rules live (read them all before working)

  • Canonical (source of truth): scripts/rules/
  • Claude Code: .claude/rules/ (auto-loaded)
  • Cursor: .cursor/rules/
  • Codex / Antigravity / Kiro: read scripts/rules/ directly — this file stays minimal by design.

Non-negotiables (details + everything else in rules/)

  1. Follow the architecture boundaries — domain imports nothing; only ports are shared across the wire. (rules/02).
  2. Copy the canonical task slice for every new feature.
  3. Finish only when make test && make lint && make arch pass.
  4. Conventional commits: feat(scope): short summary.

Keep this file and CLAUDE.md minimal. Edit rules only in scripts/rules/, then run make rules.

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.