windsurf-policy-guardrails

Featured

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".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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: ```json // settings.json — Team-wide terminal safety { "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", "rm -r /", "sudo", "git push --force", "git reset --hard", "DROP TABLE", "DELETE FROM", "TRUNCATE", "curl | bash", "wget | sh", "chmod 777", "kill -9", "shutdown", "reboot", "halt", "mkfs", "dd if=", "npm publish", "npx publish" ] } ``` ### Step 2: Workspace Isolation Rules Prevent Cascade from accessing sensitive directories: ```gitignore # .codeiumignore — security boundary # AI cannot see or modify files matching these patterns # Credentials .env .env.* credentials/ secrets/ *.pem *.key # Infrastructure terraform.tfstate* *.tfvars ansible/vault* # Customer data data/production/ exports/ ``` ```m...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category