skills/smithery.ai/api-design-security

api-design-security

Installation
SKILL.md

API Design & Security

A comprehensive guide to designing and implementing secure admin APIs in the Vantus Systems Next.js 16 platform, following Fortune-500 security standards with RBAC, CSRF protection, tenant isolation, and comprehensive audit logging.

Quick Start

Create a secure admin API route in 5 steps:

  1. Choose the right wrapper: Use adminRead for GET operations, adminMutation for writes
  2. Define Zod schema: Validate input with strict type checking
  3. Apply tenant scoping: Ensure multi-tenant data isolation
  4. Use safe selects: Prevent sensitive data leakage
  5. Test security: Verify CSRF, RBAC, and audit logging
Installs
1
First Seen
Apr 21, 2026
api-design-security from smithery.ai