원클릭으로
docs
Maintain Rouzer documentation as a concern-oriented guide set that presents middleware and request context as Rouzer APIs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Maintain Rouzer documentation as a concern-oriented guide set that presents middleware and request context as Rouzer APIs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | docs |
| description | Maintain Rouzer documentation as a concern-oriented guide set that presents middleware and request context as Rouzer APIs. |
Use this skill when editing Rouzer documentation, README signposts, examples referenced by docs, or docs-oriented migration notes.
Rouzer docs should be the complete place to understand what a user can do with Rouzer. Middleware and request context should be documented as Rouzer surface area.
Keep the root README.md as:
docs/Keep docs/ split by concern:
docs/index.md: learning path and guide mapdocs/concepts.md: framework model, lifecycle, and ownership boundariesdocs/routes.md: route contracts, resources, actions, schemas, metadata, and
raw bodiesdocs/middleware.md: Rouzer middleware chain and request context conceptsdocs/handlers.md: routers, handler maps, validation, config, and returnsdocs/client.md: generated client behavior, arguments, errors, hooks, and
test fetch wrappersdocs/responses.md: response markers, response maps, errors, and pluginsdocs/streaming.md: NDJSON response streams and cancellationdocs/runtime.md: Fetch handlers, host data, CORS, and background workdocs/patterns.md: preferred patterns, constraints, gotchas, and migrationsdocs/migration-v5-to-v6.md: focused upgrade guide for the
Hattip-compatible to fetch-compatible server boundary changeBefore documenting behavior, verify it against the closest source of truth:
src/test/ and examples/Do not invent behavior from desired API shape. If source and docs disagree, update the docs to match source unless the task is explicitly to design a future API.
rouzer/http owns resources, actions, method schemas, rawBody, and route
metadata.createRouter() returns a fetch-compatible request handler with .use(...).createClient({ baseURL, routes }) creates a generated client that mirrors the
route tree.RequestInit options are the second action argument; Rouzer
reserves method.body in options; raw-body actions
without route input pass the body as the first argument.$type<T>(), $error<T>(), and ndjson.$type<T>() are type contracts, not
server-side response validators.http.rawBody() is declared.rouzer, including chain,
toFetchHandler, createContext, filterRuntime, RequestContext, and
RequestHandler.ctx.host, including ctx.host.ip and
ctx.host.runtime.env, runtime, and onResponse.env values are read through ctx.env(name).runtime is a type-level marker for ctx.host.runtime; it does not create
ctx.runtime.ctx.onResponse(callback) and returned { onResponse } callbacks finalize or
replace responses.ctx.passThrough() is chain-local control flow.toFetchHandler for plain Web Request handlers.examples/.Before finishing a docs change: