AGENT-RULES
v0.1.0 — Cursor / Claude Code rules teaching AI assistants how to compose Hyper routes, plugins, and middleware correctly.
$ hyper add agent-rules
Copies 2 files into src/hyper/agent-rules/ and updates hyper.lock.json.
DEPS
- registry: none
FILES
- .cursor/rules/hyper.md → @root/.cursor/rules/hyper.md
- AGENTS.md → @root/AGENTS.md
README
agent-rules
Drops .cursor/rules/hyper.md and AGENTS.md into your repo so Cursor, Claude Code, and other AI assistants understand how Hyper apps are structured: the chain API on Hyper, the explicit route.<verb>().handle() builder, the decorate() typing flow, plugin authoring, and the secure-by-default posture.
hyper add agent-rules
After install, AI agents get the rules automatically — no extra setup.
MANIFEST
- /r/agent-rules.json — latest
- /r/agent-rules@0.1.0.json — immutable