/gabbe-architecture:middleware-designfrom gabbe-architecture
Guides request pipeline design with a fixed middleware order: request ID, CORS, rate limit, authentication, authorization, parsing, validation, error handler. Use when adding or reviewing middleware for a web API.
Ships in gabbe-architecture. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill guides the creation of the request processing pipeline ("The Onion Architecture").
trace_id immediately. (Before logs).user and trace_id via Context (Go/React) or Request Object (Express/FastAPI).SELECT * FROM orders in middleware.data: { ... }, meta: { trace_id: ... }.The middleware order list and the middleware code or configuration for the project's framework.
X-Forwarded-For, X-User-Role) from outside unless a trusted proxy sets them.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
middleware, request-pipeline, api-design, onion-architecture
npx claudepluginhub andreibesleaga/gabbe --plugin gabbe-architecture30 skills in this plugin
/adaptive-architectureDesign offline-first and local-first systems — sync strategy (CRDT or last-write-wins), WASM plugin boundaries, edge versus cloud AI split. Use when an app must work offline, sync between devices, or run plugins or models on the user's device./api-standardsReview of OpenAPI or GraphQL schemas against naming, status code, versioning, pagination and error standards, with an updated spec. Use when API conventions must be checked across services or API governance rules set./arch-debtArchitecture debt report with coupling metrics, dependency cycles, layer violations and a phased migration plan. Use when modules depend on each other in circles, one class does everything, or structure blocks change.Other plugins' skills for the same job