# deployment-automation

deployment-automation — a skill that automates Vercel deployments with build error fixes. The agent runs vercel --prod, reads logs via MCP tool, and patches code until deployment succeeds.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 129 installs · ★ 50 repo stars
- Author: qodex-ai
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/qodex-ai/ai-agent-skills/tree/HEAD/skills/deployment-automation/SKILL.md
- Updated: 2026-01-05
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/qodex-ai-deployment-automation

## What it does

The skill automates the Vercel production deploy loop. The agent runs `vercel --prod`, waits for completion, fetches detailed logs through the Vercel MCP tool (CLI output alone is insufficient), and identifies the root cause: TypeScript errors, ESLint issues, dependency problems, or missing environment variables. It applies minimal fixes and retries deployment. The cycle repeats until success.

Exit conditions: successful deployment, the same error five times in a row, or user stop. After success, the agent reports the deployment URL, lists all fixed errors, and asks whether to commit the changes. The skill requires an installed Vercel MCP server — without it, logs remain incomplete and fixes are blind.

Fixes are incremental, preserving the user's code style. If API keys or other user input is needed, the agent prompts immediately.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill deployment-automation -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/deployment-automation/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/deployment-automation/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill deployment-automation -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/deployment-automation/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill deployment-automation -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/deployment-automation/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install qodex-ai/ai-agent-skills skills/deployment-automation
```

2. **Manually: put the files in place**
- File: `.github/skills/deployment-automation/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill deployment-automation -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/qodex-ai/ai-agent-skills --path skills/deployment-automation
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/deployment-automation/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill deployment-automation -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/qodex-ai/ai-agent-skills/tree/HEAD/skills/deployment-automation/SKILL.md

## When to use it
- deploy a project to Vercel and automatically fix all build errors
- read detailed Vercel logs via MCP and diagnose deployment failures
- retry deployment after fixes until it succeeds
- preserve code style when auto-fixing TypeScript and linter errors

## Example prompts
- Deploy to production and fix any errors that come up
- Run `vercel --prod` and keep fixing until it works
- Deploy to Vercel, if it fails read MCP logs and patch the code

## Similar
- [deployment-health-monitor](https://affpapa.org/en/nevibecode/hooks/deployment-health-monitor.md) — hook · 482 installs
- [vercel-deployment-cursorrules-prompt-file](https://affpapa.org/en/nevibecode/rules/vercel-deployment-cursorrules-prompt-file.md) — rule · ★ 41178 repo stars
- [deployment-expert](https://affpapa.org/en/nevibecode/agents/deployment-expert.md) — subagent · ★ 8052 repo stars
- [cicd-automation-deployment-engineer](https://affpapa.org/en/nevibecode/agents/cicd-automation-deployment-engineer.md) — subagent · ★ 42780 repo stars
- [vercel-deployment-specialist](https://affpapa.org/en/nevibecode/agents/vercel-deployment-specialist.md) — subagent · 1309 installs
- [magento-deployment-engineer](https://affpapa.org/en/nevibecode/skills/magento-deployment-engineer.md) — skill · 176 installs

## Other versions with the same name
- [deployment-automation · akillness](https://affpapa.org/en/nevibecode/skills/deployment-automation.md) — 361 installs

From the same set: [qodex-ai/ai-agent-skills](https://affpapa.org/en/nevibecode/by/qodex-ai/ai-agent-skills.md) — 42 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
