首页/ AI 技能 / @skilllib/skill-2014279426765172738
Skill站外收录 @skilllib/skill-2014279426765172738

vercel-policy-guardrails

实施 Vercel 项目的代码质量管控,通过集成 ESLint 规则、预提交检查与 CI 流水线策略验证,实现开发流程中的自动化合规审查,确保符合最佳实践并防止敏感信息泄露。

0.0 (0) 157 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# 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 `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [ESLint Plugin Development](https://eslint.org/docs/latest/extend/plugins) - [Pre-commit Framework](https://pre-commit.com/) - [Open Policy Agent](https://www.openpolicyagent.org/)

评论 0

还没有评论,来抢沙发。