Skip to main content
ClaudeWave
Skill142 repo starsupdated 2mo ago

pre-deploy

Validate build, environment, and dependencies before deployment

Install in Claude Code
Copy
git clone --depth 1 https://github.com/undeadlist/claude-code-agents /tmp/pre-deploy && cp -r /tmp/pre-deploy/skills/pre-deploy ~/.claude/skills/pre-deploy
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Pre-Deploy Workflow

Run before any deployment to production. All checks must pass.

## Execution (Parallel)

Spawn all three agents **in parallel**:

| Agent | Focus |
|-------|-------|
| `deploy-checker` | Build validation, bundle size, production config |
| `env-validator` | Environment variables, secrets detection, config completeness |
| `dep-auditor` | Vulnerability scan, outdated packages, license compliance |

## Gate Check

After all agents complete:
- **All pass** -> "Ready to deploy"
- **Any fail** -> "BLOCKED - Fix first" with specific blockers listed

## Expected Output

```markdown
# Pre-Deploy Checklist

## Status: READY / BLOCKED

### Build Validation (deploy-checker)
- [x] Production build succeeds
- [x] Bundle size acceptable
- [x] No build warnings

### Environment (env-validator)
- [x] All required vars set
- [x] No secrets in code
- [x] Production config valid

### Dependencies (dep-auditor)
- [x] No critical vulnerabilities
- [x] No high vulnerabilities

## Deployment Decision
READY TO DEPLOY / BLOCKED - Fix issues
```