Figma Policy & Guardrails Overview Automated guardrails for Figma API integrations: prevent token leaks, enforce scope minimization, validate webhook configurations, and catch common anti-patterns in CI. Prerequisites - ESLint or similar linter - CI/CD pipeline (GitHub Actions) - Pre-commit hooks infrastructure Instructions Step 1: Token Leak Prevention Step 2: ESLint Rules for Figma Step 3: API Usage Policies Step 4: Configuration Validation Step 5: Audit Logging Output - Pre-commit hooks catching token leaks - CI pipeline scanning for hardcoded credentials - Runtime policies enforcing perfo…