agentleFS
tovrleaftovrleaf/openkata/AGENTS.md

openkata

AGENTS.md1 starsChanged 5 months agoMITView on GitHub

Open Kata is a collection of portable agent skills and rules following the Agent Skills specification. Skills live in skills/, rules in rules/, and local companions in .agents/skills/ and .agents/rules/. Never run go build without -o bin/. Binaries at the project root indicate a build error. Run these before every push to catch stale generated files. CI regenerates templ output — if the committed _templ.go files are out of sync, the build fails. - See rules/go-testing/RULE.md for full conventions -…

The file

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

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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
  • could be automatic: a setting could enforce it
  1. Very specific:

    Never run go build without -o bin/.

    line 23
  2. Very specific:

    Run these before every push to catch stale generated files.

    line 34
  3. Distinctive:

    Do not push without explicit user confirmation

    line 72
  4. Distinctive:

    Do not force push without explaining the impact first

    line 73
  5. Distinctive:

    Commit freely when asked, but pushing is a separate action

    line 74
  6. Very specific:

    Do not run tessl CLI commands without asking the user first

    line 85

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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

Project overview

Open Kata is a collection of portable agent skills and rules following the Agent Skills specification. Skills live in skills/, rules in rules/, and local companions in .agents/skills/ and .agents/rules/.

Build and test

# Build binaries (always output to bin/)
go build -o bin/openkata-mcp ./cmd/openkata-mcp/
go build -o bin/openkata-web ./cmd/openkata-web/
go build -o bin/generate-versions ./cmd/generate-versions/

# List skills and rules
make skills
make rules

Never run go build without -o bin/. Binaries at the project root indicate a build error.

Before pushing

templ generate ./cmd/openkata-web/templates/
go build -o bin/openkata-web ./cmd/openkata-web/
go test ./cmd/openkata-web/...

Run these before every push to catch stale generated files. CI regenerates templ output — if the committed _templ.go files are out of sync, the build fails.

Code style

Go

  • Standard go fmt formatting
  • Build must pass with zero warnings

Testing

  • See rules/go-testing/RULE.md for full conventions

Bash

  • #!/usr/bin/env bash with set -euo pipefail
  • 2-space indent, 80 char line limit
  • [[ ]] not [ ], "${var}" not $var
  • See rules/bash-style/RULE.md for full conventions

Markdown

  • Wrap prose at 72–80 characters
  • ATX headings, - for lists, fenced code blocks
  • See rules/markdown-style/RULE.md for full conventions

Git

Follow rules/git-naming/RULE.md for branch names, commit messages, and the Assisted-by trailer. See the commit-conventions skill for the full commit workflow.

  • Do not push without explicit user confirmation
  • Do not force push without explaining the impact first
  • Commit freely when asked, but pushing is a separate action

Skills and rules

  • Distributable artifacts must be platform-agnostic
  • Skills: SKILL.md under 500 lines, target 95%+ on tessl skill review
  • Rules: RULE.md under 100 lines, every convention literally enforceable
  • Each artifact gets a CHANGELOG.md (Keep a Changelog format)
  • External sources go in references/ACKNOWLEDGMENTS.md
  • Do not run tessl CLI commands without asking the user first

Symlinks

Distributable artifacts are symlinked into .agents/ for local use:

.agents/skills/create-adr -> ../../skills/create-adr
.agents/rules/bash-style -> ../../rules/bash-style

Releasing

  • Distributable artifacts get git tags: skills/<name>/v<version>
  • Local artifacts (in .agents/) are not tagged
  • Changelogs must not mention dev-only files (tile.json, tessl.json)

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.