generate_policy
Scan a project to detect its stack and generate tailored security policies, including CSP headers, CORS, RLS, and rate limiting rules.
Instructions
Auto-detect project stack (Next.js, Supabase, Stripe, Clerk, Prisma, etc.) and generate tailored security policies. Outputs ready-to-use CSP headers, CORS configuration, Supabase RLS policies, rate limiting rules, and security headers based on detected frameworks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Project root directory to scan | |
| format | No | Output format | markdown |