技能 编程开发 Vercel 政策护栏

Vercel 政策护栏

v20260311
vercel-policy-guardrails
在启用了 ESLint、提交钩子和 CI/CD 流水线的项目中,创建 Vercel 相关的 lint 规则、策略检查和运行时护栏,确保代码质量与运行安全。
获取技能
441 次下载
概览

Vercel 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 Vercel 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 Vercel 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 Vercel lint rules, policy enforcement, and automated guardrails.

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