auth-middleware-contract - Define middleware, authentication, and feature contracts
Combines request middleware flow, JWT access and refresh authentication, and full or lean Feature Contract conventions.
Tags
Updated: 2026-11-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Describe request middleware flow
- Define JWT authentication architecture
- Specify access and refresh tokens
- Create full feature contracts
- Create lean feature contracts
- Define API errors and permissions
- Document validation and business rules
Inputs
- Feature requirements
- User roles and permissions
- API details
- Database impact
- Project conventions
Outputs
- Middleware flow specification
- Authentication architecture specification
- Feature Contract document
- API contract definitions
- Validation and business rules
- Permission matrix
- Error code list
