技能 编程开发 Supabase 策略护栏

Supabase 策略护栏

v20260311
supabase-policy-guardrails
为 Supabase 集成提供定制的 ESLint 规则、提交前钩子、CI 策略检查和运行时护栏,确保遵循最佳实践并阻止危险操作。
获取技能
146 次下载
概览

Supabase Policy Guardrails

Prerequisites

  • ESLint configured in project
  • Pre-commit hooks infrastructure
  • CI/CD pipeline with policy checks
  • TypeScript for type enforcement

Instructions

Step 1: Create ESLint Rules

Implement custom lint rules for Supabase patterns.

Step 2: Configure Pre-Commit Hooks

Set up hooks to catch issues before commit.

Step 3: Add CI Policy Checks

Implement policy-as-code in CI pipeline.

Step 4: Enable Runtime Guardrails

Add production safeguards for dangerous operations.

Output

  • ESLint plugin with Supabase rules
  • Pre-commit hooks blocking secrets
  • CI policy checks passing
  • Runtime guardrails active

Error Handling

See ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling.

Examples

See ${CLAUDE_SKILL_DIR}/references/examples.md for detailed examples.

Resources

Overview

Implement Supabase lint rules, policy enforcement, and automated guardrails.

信息
Category 编程开发
Name supabase-policy-guardrails
版本 v20260311
大小 2.25KB
更新时间 2026-03-12
语言