agentleFS
yonatangrossyonatangross/orchestkit/AGENTS.md

orchestkit

AGENTS.md312 starsChanged 4 months agoMITView on GitHub

Instructions for AI coding agents working in the OrchestKit repository. This is the vendor-neutral companion to CLAUDE.md; where both exist, they say the same thing. OrchestKit is a plugin for Claude Code (Anthropic's agentic CLI). It packages reusable skills, specialist agents, and lifecycle hooks. It is source-built: you edit src/ and a build step assembles the installable plugins/ tree. It is not a hosted service and has no runtime backend. Edit src/ and manifests/. Never edit plugins/ by hand —…

  • 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 33,398 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 repositoryOne other file it gives its agents.

The file

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

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

  • 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:

    After any src/ change, run npm run build, then stage the resulting plugins/ diff

    line 24
  2. Very specific:

    Before opening a PR: npm test and npm run test:security must pass, and git diff should show real changes (not no-ops left over from a …

    line 42
  3. Very specific:

    Never bypass hooks with --no-verify.

    line 64
  4. Distinctive:

    Do not close issues by hand.

    line 67

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

Instructions for AI coding agents working in the OrchestKit repository. This is the vendor-neutral companion to CLAUDE.md; where both exist, they say the same thing.

OrchestKit is a plugin for Claude Code (Anthropic's agentic CLI). It packages reusable skills, specialist agents, and lifecycle hooks. It is source-built: you edit src/ and a build step assembles the installable plugins/ tree. It is not a hosted service and has no runtime backend.

The one rule that prevents most broken PRs

Edit src/ and manifests/. Never edit plugins/ by hand — it is generated.

src/                         ← EDIT HERE
  skills/<name>/SKILL.md      # skills (YAML frontmatter + Markdown body, <500 lines)
  agents/<name>.md            # agents (frontmatter: name, description, model, tools, skills)
  hooks/src/<category>/*.ts   # TypeScript lifecycle hooks
manifests/                   ← EDIT HERE (plugin definitions)
plugins/                     ← GENERATED by `npm run build` — do not hand-edit

After any src/ change, run npm run build, then stage the resulting plugins/ diff together with your src/ change in the same commit. A plugins/ diff after a build is expected, not noise. If plugins/ comes out empty, the build was interrupted, so run it again. The exception is hooks/dist/ (src/hooks/dist/ and plugins/ork/hooks/dist/): the release branch rebuilds those bundles, and CI fails a feature PR that commits them (#3578).

Build and verify

npm run build            # assemble plugins/ from src/ — required after editing src/
npm test                 # full suite (lint + unit + security + integration + e2e)
npm test -- --quick      # skip integration/e2e/performance
npm run test:skills      # skill structure validation
npm run test:agents      # agent frontmatter validation
npm run test:security    # security tests — MUST pass, gates push
npm run typecheck        # TypeScript check (run if hooks changed)

Before opening a PR: npm test and npm run test:security must pass, and git diff should show real changes (not no-ops left over from a previous session).

Adding a component

  • Skill — create src/skills/<name>/SKILL.md with frontmatter (name, description, tags, user-invocable, complexity); body stays under 500 lines. Add it to manifests/ork.json, then npm run build. See src/skills/CONTRIBUTING-SKILLS.md.
  • Agent — create src/agents/<name>.md with the required frontmatter, add to the manifest, rebuild.
  • Hook — create src/hooks/src/<category>/<name>.ts and register it in both src/hooks/hooks.json and the entries map src/hooks/src/entries/<event>.ts. One without the other is a silently-dead hook. Rebuild with cd src/hooks && npm run build.

Component counts live in three places (manifests/ork.json, the CLAUDE.md version section, and the hooks.json description for hooks). Keep them in sync — npm run test:manifests catches drift.

Working conventions

  • Branch off main with a typed prefix (feat/, fix/, docs/, chore/). Never commit directly to main.
  • Never bypass hooks with --no-verify. Never commit secrets or generated-only diffs.
  • Conventional Commits for messages and PR titles; keep them plain (no emoji).
  • Close issues by putting Closes #N in the PR body — a PR merge to main closes them via CI. Do not close issues by hand.

Where to learn more

  • README.md — product overview and quick start.
  • CLAUDE.md — the same rules with Claude-Code-specific detail.
  • src/skills/CONTRIBUTING-SKILLS.md — full skill-authoring standard.
  • src/hooks/README.md — hook architecture and the hook registry.
  • Docs site: https://orchestkit.dev · Repo: https://github.com/yonatangross/orchestkit

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.