middleware-patterns
Explains middleware concepts, patterns, and implementations. Covers server middleware, edge middleware, request/response pipelines, and common use cases like…
Find an Agent Skill for your task. Read the guide and copy the install command.
Updated 11-14 00:15
41,051 results
Explains middleware concepts, patterns, and implementations. Covers server middleware, edge middleware, request/response pipelines, and common use cases like…
Use when the user or agent needs to read, search, or look up Stripe documentation or API reference. Prefer this over curl or WebFetch for any docs.stripe.com…
Guided process for shaping product ideas, features, and specs by systematically uncovering the user's unknowns before anything gets built. Use this whenever…
Evaluate, analyze, and systematically react to an adversarial code review report. Decide on the action for each finding (Implement, Adapt, Decline), provide…
Review a given implementation critically and adversarially against its plan or spec. Look for antipatterns, red flags, bugs, unnecessary complexity, plan…
File uploads with derived variants in an AdonisJS app via `@jrmc/adonis-attachment`. `@attachment()` decorator on a Lucid model + converters config drives…
Execute a git commit that follows semantic conventional-commits — type, optional scope, imperative subject in English under 70 chars, body explaining WHY.…
i18n patterns for an AdonisJS + Inertia app. Keys namespaced by module, `useTranslation()` on the frontend and `ctx.i18n.t(...)` on the backend, locale…
How to add a new module to this AdonisJS monorepo — prefer `node ace make:module`, which scaffolds and wires every touchpoint. User-invoked via…
Route definitions in an AdonisJS module. Prefer `router.resource(...)` for CRUD verbs; put verb-only actions (activate, publish, finalize) as separate…
Handle expected Next.js Server Action errors with TanStack React Query mutations. Use when server actions, mutationFn, useMutation, onError toasts,…
Use when you need to comprehensively check the design quality of all React components in the project, scan for and report anti-patterns such as God Component, configuration-driven design, business coupling, etc., and ensure compliance with design specifications. Trigger words: check component design, scan component quality, component design review.
Use when you need to check the consistency of code implementations across multiple components of the same type (such as Button, Page), cross-compare implementation-level differences in Props, events, styles, hooks, etc., and ensure code patterns are unified. Trigger words: check component consistency, compare component implementations, component pattern audit.
Use when you need to check whether hardcoded content exists in the code, including magic numbers, paths, URLs, keys, environment variables, response messages, etc.; ensure that all configurable values are managed using constants or configuration files. Trigger words: hardcode, hard code, magic number.
Use when you need to check whether prohibited types.ts/type.ts files exist in the project, or check whether there are handwritten types duplicating Zod schema definitions, ensuring all types are derived from Zod schemas. Trigger words: check type files, check types directory, zod type check, type.ts check.
Use when actual check script code needs to be written, implementing an automated checker based on the design plan from assess-automation-checklist; outputs runnable script files and an integration guide. Trigger words: write check script, implement automated check, code checker, write checker code.
Use when you need to implement a new Feature, from Schema definition to the data layer, service layer, state layer, UI layer, and finally quality checks, stringing together multiple atomic verb Skills to complete a broad linear workflow. Trigger words: implement feature, develop feature, add feature.
Use when you need to integrate Better Auth into a project, covering complete steps such as installation and configuration, database integration, Provider setup, and authentication flow verification. Trigger words: integrate better-auth, connect better-auth, better-auth integration.
Use when a type-safe environment variable management module needs to be configured, generating an env schema and standardized management tools based on .env.example using Zod. Trigger words: zod environment variables, env type safety, env schema.
Must follow when the project contains Zod schema definitions, it is forbidden to create a separate type.ts file to redeclare types; all types must be derived directly from the schema using z.infer, eliminating type and schema desynchronization.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js…
Guide for writing Neovim plugins in Lua following official Neovim conventions (https://neovim.io/doc/user/lua-plugin/). Use this skill whenever the user is…
Smart Code Commit Assistant - Automatically analyzes changes to generate commit messages, supporting an interactive workflow for local commits and remote pushes
Run after making React changes to catch issues early. Use when reviewing code, finishing a feature, or fixing bugs in a React project.