Skip to content

docs: add AGENTS.md (CLAUDE.md symlink) for AI coding agents#20

Merged
tadasant merged 3 commits into
mainfrom
add-agents-md
Jun 8, 2026
Merged

docs: add AGENTS.md (CLAUDE.md symlink) for AI coding agents#20
tadasant merged 3 commits into
mainfrom
add-agents-md

Conversation

@tadasant
Copy link
Copy Markdown
Member

@tadasant tadasant commented Jun 8, 2026

What & why

Adds an AGENTS.md (with a CLAUDE.md symlink) at the repo root — a concise operating manual for AI coding agents contributing to this repository.

It is deliberately minimal and non-duplicative: README.md remains the source of truth for everything mechanical (what a Server Card is, the layout, the npm run generate/check/validate/format workflow, the schema.tsschema.json regeneration rule, the $schema URL convention, the graduation plan), and AGENTS.md points to it rather than restating it. AGENTS.md adds only the contribution conduct the README doesn't cover:

  • Open PRs for human review — do not self-merge AI-generated changes, even with merge permissions.
  • Keep changes small and scoped; one coherent change per PR; link the relevant SEP/issue.
  • Respect the experimental, SEP-2127-tracked nature; don't pre-empt unresolved spec discussion; keep the graduation path intact.
  • Treat the schema as a public contract; flag breaking changes explicitly.

AGENTS.md is the portable, tool-agnostic entry point; CLAUDE.md is a symlink to it so Claude Code loads it automatically — one file, two entry points, zero duplication.

Verification

  • npm run check passes (schema.json in sync, tsc --noEmit clean): ✓ schema.json is up to date
  • npm run validate passes: All 7 example(s) passed.
  • npm run format:check passes (the new AGENTS.md is Prettier-clean): All matched files use Prettier code style!
  • Change is docs-only — adds AGENTS.md + CLAUDE.md symlink; no schema.ts/schema.json/examples touched
  • CLAUDE.md is a symlink to AGENTS.md (verified ls -l: CLAUDE.md -> AGENTS.md), no content duplication
  • No README duplicationAGENTS.md references README.md for all mechanics and only adds contribution conduct (verified by re-reading both files side by side after a fresh-eyes review)
  • CI green on this PR: build, CodeQL, and Analyze (actions) all pass (re-confirmed after each revision)

🤖 Opened by an AI coding agent for human review — not to be self-merged (per the contribution norms in this very PR). Please review and merge if it looks good.

tadasant added 3 commits June 8, 2026 00:10
Adds a concise operating manual for AI coding agents contributing to this
repo. It references README.md for domain context rather than duplicating
it, and codifies the contribution norms: schema.ts is the source of truth
and schema.json is regenerated (never hand-edited) in the same commit;
keep changes small and scoped; open PRs for human review rather than
self-merging agent-generated changes; respect the experimental/SEP-2127
status; treat the schema as a public contract.

CLAUDE.md is a symlink to AGENTS.md so Claude Code loads it automatically
while AGENTS.md stays the portable, tool-agnostic entry point.
- Mention npm run format:check in the local pre-push checks
- Don't imply an examples/Server/invalid dir exists; reference parallel dirs
- Soften graduation/archival to conditional framing matching the README
- Phrase the open-PR-for-review guidance neutrally
Drop the What-this-repo-is, Layout, and Working-in-this-repo sections and
the FAQ -- they restated the README (domain, layout, schema build/validate
workflow, $schema convention, graduation plan). AGENTS.md now points to
the README for all mechanics and keeps only the contribution conduct the
README doesn't cover (open PRs for human review, stay small/scoped, respect
the experimental spec-tracked status, treat the schema as a public contract).
@tadasant tadasant requested a review from SamMorrowDrums June 8, 2026 01:02
@tadasant tadasant merged commit 7c340f4 into main Jun 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants