hono-void
Installation
SKILL.md
Hono Void Skill
Void builds a Hono app from file-based routes, so there is no entry file and the code does not import hono. Verify changes with Hono CLI, not with a browser, curl, or a dev server. It runs the app through Vite with no flag and no file argument:
npm install -D @hono/cli@next
npx hono --help
npx hono routes --exclude /__void # hide Void's internal routes
npx hono request /
For a flow (create, then read), use one npx hono batch - call with expect on every step. Send x-voidpages: true so a page answers with JSON instead of the full HTML. A page action returns 200 even when it fails, so assert on the body (body in expect is a deep partial match):
npx hono batch - <<'EOF'
{"method":"POST","path":"/","headers":{"x-voidpages":"true"},"body":{"shop":""},"expect":{"status":200,"body":{"errors":{"shop":"Enter a shop name"}}}}
{"method":"POST","path":"/","headers":{"x-voidpages":"true"},"body":{"shop":"Hono Ramen"},"expect":{"status":200}}
EOF