What problem does it solve?
Admin workflows in Next.js systems often suffer from security gaps, inconsistent patterns, and maintenance challenges. This Skill provides standardized, enterprise-grade patterns for building secure, scalable admin portals with RBAC, CSRF protection, tenant isolation, and comprehensive audit logging.
Core Features & Use Cases
- Admin API patterns: centralized helpers for read/write operations with built-in RBAC, CSRF protection, and tenant scoping.
- Secure forms & UX: form handling with validation, permission gating, and CSRF-aware submissions.
- Audit & compliance: automated, redacted audit trails for privileged mutations and events.
- Multi-step workflows: structured, progressive validation for complex admin operations such as contract or user provisioning.
Quick Start
Create a basic admin CRUD workflow by wiring a GET route with adminRead and a POST route with adminMutation, including tenant-scoped data access and an audit logging step.