openai/plugins/deployments-cicd
Claude Code and agent skill by openai/plugins
- vendor
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Vercel deployment and CI/CD expert guidance. Use when deploying, promoting, rolling back, inspecting deployments, building with --prebuilt, or configuring CI workflow files for Vercel.
Install
npx vskill@latest install openai/plugins/deployments-cicdSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Vercel Deployments & CI/CD
You are an expert in Vercel deployment workflows — vercel deploy, vercel promote, vercel rollback, vercel inspect, vercel build, and CI/CD pipeline integration with GitHub Actions, GitLab CI, and Bitbucket Pipelines.
Deployment Commands
Preview Deployment
Preview deployments are created automatically for every push to a non-production branch when using Git integration. They provide a unique URL for testing.
Production Deployment
Build Locally, Deploy Build Output
When to use `--prebuilt`: Custom CI pipelines where you control the build step, need build caching at the CI level, or need to run tests between build and deploy.
Promote & Rollback
Promote vs deploy --prod: promote is instant — it re-points the production alias without rebuilding. Use it when a preview deployment has been validated and is ready for production.
Inspect Deployments
CI/CD Integration
Required Environment Variables
Every CI pipeline needs these three variables:
Set these as secrets in your CI provider. Never commit them to source control.
GitHub Actions
OIDC Federation (Secure Backend Access)
Vercel OIDC federation is for secure backend access — letting your deployed Vercel functions authenticate with third-party services (AWS, GCP, HashiCorp Vault) without storing long-lived secrets. It does not replace VERCEL_TOKEN for CLI deployments.
What OIDC does: Your Vercel function requests a short-lived OIDC token from Vercel at runtime, then exchanges it with an external provider's STS/token endpoint for scoped credentials.
What OIDC does not do: Authenticate the Vercel CLI in CI pipelines. All vercel pull, vercel build, and vercel deploy commands still require --token=${{ secrets.VERCEL_TOKEN }}.
When to use OIDC:
- Serverless functions that need to call AWS APIs (S3, DynamoDB, SQS)
- Functions authenticating to GCP services via Workload Identity Federation
- Any runtime service-to-service auth where you want to avoid storing static secrets in Vercel env vars
GitLab CI
Bitbucket Pipelines
Common CI Patterns
Preview Deployments on PRs
Promote After Tests Pass
Global CLI Flags for CI
| Flag | Purpose | |
|---|---|---|
--token <token> | Authenticate (required in CI) | |
--yes / -y | Skip confirmation prompts | |
--scope <team> | Execute as a specific team | |
--cwd <dir> | Set working directory |
Best Practices
- Always use `--prebuilt` in CI — separates build from deploy, enables build caching and test gates
- Use `vercel pull` before build — ensures correct env vars and project settings
- Prefer `promote` over re-deploy — instant, no rebuild, same artifact
- Use OIDC federation for runtime backend access — lets Vercel functions auth to AWS/GCP without static secrets (does not replace
VERCEL_TOKENfor CLI) - Pin the Vercel CLI version in CI —
npm install -g vercel@latestcan break unexpectedly - Add `--yes` flag in CI — prevents interactive prompts from hanging pipelines
Deployment Strategy Matrix
| Scenario | Strategy | Commands | |
|---|---|---|---|
| Standard team workflow | Git-push deploy | Push to main/feature branches | |
| Custom CI/CD (Actions, CircleCI) | Prebuilt deploy | vercel build && vercel deploy --prebuilt | |
| Monorepo with Turborepo | Affected + remote cache | turbo run build --affected --remote-cache | |
| Preview for every PR | Default behavior | Auto-creates preview URL per branch | |
| Promote preview to production | CLI promotion | vercel promote <url> | |
| Atomic deploys with DB migrations | Two-phase | Run migration → verify → vercel promote | |
| Edge-first architecture | Edge Functions | Set runtime: 'edge' in route config |
Common Build Errors
| Error | Cause | Fix | |
|---|---|---|---|
ERR_PNPM_OUTDATED_LOCKFILE | Lockfile doesn't match package.json | Run pnpm install, commit lockfile | |
NEXT_NOT_FOUND | Root directory misconfigured | Set rootDirectory in Project Settings | |
Invalid next.config.js | Config syntax error | Validate config locally with next build | |
functions/api/*.js mismatch | Wrong file structure | Move to app/api/ directory (App Router) | |
Error: EPERM | File permission issue in build | Don't chmod in build scripts; use postinstall |
Deploy Summary Format
Present a structured deploy result block:
If the deployment failed, append:
For production deploys, also include:
Deploy Next Steps
Based on the deployment outcome:
- Success (preview) → "Visit the preview URL to verify. When ready, run
/deploy prodto promote to production." - Success (production) → "Your production site is live. Run
/statusto see the full project overview." - Build error → "Check the build logs above. Common fixes: verify
buildscript in package.json, check for missing env vars with/env list, ensure dependencies are installed." - Missing env vars → "Run
/env pullto sync environment variables locally, or/env listto review what's configured on Vercel." - Monorepo issues → "Ensure the correct project root is configured in Vercel project settings. Check
vercel.jsonforrootDirectory." - Post-deploy errors detected → "Review errors above. Check
vercel logs <url> --level errorfor details. If drains are configured, correlate with external monitoring." - No monitoring configured → "Set up drains or install an error tracking integration before the next production deploy. Run
/statusfor a full observability diagnostic."
Official Documentation
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 16 Sep 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/vercel/skills/deployments-cicd/SKILL.md
Popularity
- Repository stars
- 6,816
- Repository forks
- 892
- 7-day trend score
- 44
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 8 months ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/openai/plugins/deployments-cicd)