一键导入
monolith-routing-and-middleware
Use when editing route registration, middleware ordering, CSRF behavior, and request pipeline behavior for HTTP handlers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when editing route registration, middleware ordering, CSRF behavior, and request pipeline behavior for HTTP handlers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | monolith-routing-and-middleware |
| description | Use when editing route registration, middleware ordering, CSRF behavior, and request pipeline behavior for HTTP handlers. |
http.ServeMux in app/routes/routes.go.registerRoutes."GET /widgets/{id}").app/middleware/registration.go.InitServerHandler.func(http.Handler) http.Handler in app/middleware/.CSRFMiddleware leverages Go's cross-origin protections; keep it in the stack unless you intentionally disable protection for a specific reason.
Use when generating or extending the built-in admin dashboard, admin-only middleware, and pprof debug endpoints.
Use when implementing login/signup/logout, access control, and cookie-backed session logic in this Monolith app.
Use when an agent needs authoritative make/go command usage in this repository, including test, run, guides, deploy, server setup, and generator invocations.
Use when building HTTP controllers and templates, including REST action scaffolding, view rendering patterns, and route wiring.
Use when working on persistence setup, migrations, and service integrations (like email) that depend on app config and models.
Use when adding app features via the built-in generator (model/controller/resource/authentication/job/admin), including expected file mutations and post-generation validation.