| name | windsurf-policy-guardrails |
| description | Implement team-wide Windsurf usage policies, code quality gates, and Cascade guardrails.
Use when setting up code review policies for AI-generated code, configuring Turbo mode
safety controls, or implementing CI gates for Cascade output.
Trigger with phrases like "windsurf policy", "windsurf guardrails",
"cascade safety rules", "windsurf team rules", "AI code policy".
|
| allowed-tools | Read, Write, Edit, Bash(npx:*) |
| version | 1.11.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","windsurf","policy","guardrails","team-management"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Windsurf Policy Guardrails
Overview
Policy guardrails for team Windsurf usage: controlling what Cascade can do, enforcing code review for AI output, configuring terminal safety controls, and preventing common AI coding mistakes.
Prerequisites
- Windsurf configured for team use
- Git workflow established
- CI/CD pipeline in place
- Team agreement on AI usage standards
Instructions
Step 1: Terminal Command Safety (Turbo Mode Controls)
Configure what Cascade can and cannot auto-execute:
{
"windsurf.cascadeCommandsAllowList": [
"npm test", "npm run", "npx vitest", "npx tsc",
"git status", "git diff", "git log", "git add",
"eslint", "prettier", "biome",
"ls", "cat", "head", "tail", "wc", "grep"
],
"windsurf.cascadeCommandsDenyList": [
"rm -rf"