Ein universeller Vertrag im Repo-Root — der Standard, den über 28 Coding-Tools lesen.
Agent Experience
Die vier Agenten-Oberflächen live bewiesen — AGENTS.md, Roh-Markdown-Doku mit Content-Negotiation, /llms.txt und MCP-Fehler, die Agenten den Weg zurück zeigen.
Jede Demo auf dieser Seite läuft live gegen dieselben Endpunkte, die ein externer Agent nutzt — nichts ist simuliert. Demo-Aufrufe zählen in der Admin-Telemetrie als echter externer MCP-Traffic.
Vier Oberflächen
Jede veröffentlichte Doku-Seite liefert unter URL + .md rohes Markdown, und die saubere URL respektiert Accept: text/markdown.
Eine kuratierte URL-Karte, bei jeder Anfrage aus dem Doku-Manifest gebaut — sie kann weder driften noch ein unveröffentlichtes Dokument leaken.
Sechs Read-only-Tools über HTTP und stdio; jeder Fehler enthält konkrete nächste Schritte.
Markdown für Maschinen
Ein fetch einer sauberen Doku-URL mit Accept: text/markdown wird per 303 + Vary: Accept auf die .md-Variante umgeleitet; ein Browser, der dieselbe URL ansteuert, erhält weiter HTML.
llms.txt
Bei jeder Anfrage aus dem veröffentlichten Doku-Manifest gebaut, mit einem Instruktionsblock im Stripe-Stil, der veraltete Modellannahmen direkt beim Abruf korrigiert.
Selbstkorrigierende Fehler
Registry-Fehler enden mit einem maschinenlesbaren „## Next actions“-Trailer — ein benannter nächster Aufruf hilft einem Agenten deutlich besser als Prosa. Transport-Fehler bleiben bewusst nackt.
Die validate_snippet-Schleife
Der Konventionsprüfer zum Loopen: Snippet einreichen, Fixes anwenden, erneut einreichen, bis es sauber ist. Findings sind ein Erfolgsergebnis — nur leere oder überlange Eingaben sind ein Fehler.
Der exakte Request, den ein Agent sendet
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "validate_snippet",
"arguments": {
"snippet": "<your snippet>",
"language": "svelte"
}
}
}AGENTS.md
Der universelle Vertrag für Nicht-Claude-Agenten, zur Build-Zeit direkt aus dem Repo-Root serviert. Bewusst minimal — die Stack-Wahrheit lebt in /docs, nicht hier.
# AGENTS.md
Instructions for AI coding agents working in this repository. Claude Code reads
`CLAUDE.md` instead, which supersedes this file for Claude.
This file carries only the universal contract. Anything stack-specific lives in
`/docs`; anything Claude-specific lives in `CLAUDE.md`. Do not add a stack table
here — a second hand-maintained corpus is the failure mode this file avoids.
## What this project is
Velociraptor (v10r) is a full-stack reference and test-sandbox: proven,
high-performance SvelteKit patterns that an AI agent reads and adapts to a new
project. Emulation, not cloning. Full goals: `docs/foundation/PRD.md`.
## Non-negotiables
1. **Container-first.** Never run a package manager on the host machine. All
tooling, dependencies and the runtime live in the `v10r` Podman container;
add dependencies to `package.json` and install inside the container.
2. **Component-first.** Never use a raw `<button>`, `<input>`, `<select>` or
`<textarea>` when a `$lib/components/` component exists. Exceptions:
`<input type="hidden">`, `<input type="checkbox">` inside table rows,
`<select>` binding numeric values, and custom interactive regions that need
specialized styling.
3. **No backward compatibility.** Active development, no production users. No
migration shims, no compat layers, no deprecation paths — change the code
directly.
4. **Never run a `vr` command on your own initiative.** `vr` is the host-side
dev CLI; `vr ship` deploys to production. Run one only when the user
explicitly asks for that specific command.
## The gate
```
bun run validate
```
One command (typecheck + biome + tests + registry/i18n/content/quality checks),
run inside the container. There is no CI pipeline — this gate is the authority.
## Finding documentation
Every documentation directory has a `README.md` navigation hub with a topic
table. Read the directory README first, use its table to pick the file, then
read the file. Never grep blindly through `docs/`.
Architecture entry points: `docs/system-abstraction.md` (how the system runs)
and `docs/codebase-organization.md` (where code lives).
## Machine-readable surfaces
- `/llms.txt` — curated URL map of the published documentation (absolute URLs).
- Every published `/docs/**` page also serves raw markdown at the same URL with
`.md` appended, and honors `Accept: text/markdown` on the clean URL.
- `POST https://www.v10r.dev/api/mcp/public` — hosted read-only MCP server
(JSON-RPC 2.0 over HTTP): pattern search, curated pattern cards, file
excerpts, emulation plans, and a loopable `validate_snippet` checker.
- `mcp/server.ts` — the same tools as a local stdio MCP server, spawned as an
ephemeral Podman container (`.mcp.json` has the invocation).
## For Claude Code
Read `CLAUDE.md` — it carries the agent delegation policy, model selection, and
the skills policy. This file deliberately does not.
Geht dieses Pattern noch besser? Sag uns, wie.
Feedback geben