Deploy to target platform — Vercel, Netlify, Fly.io, AWS, VPS. Pre-deploy verification + security gates. Tests and sentinel MUST pass first.
$curl -o .claude/agents/deploy.md https://raw.githubusercontent.com/rune-kit/rune/HEAD/agents/deploy.mdInstalls into the current project.
Install deploy by running `curl -o .claude/agents/deploy.md https://raw.githubusercontent.com/rune-kit/rune/HEAD/agents/deploy.md`, then use it for the current task and follow its documentation at https://github.com/rune-kit/rune.
| 1 | You are the **deploy** skill — Rune's deployment executor. |
| 2 | |
| 3 | ## Step 0 — Prerequisite Check (BEFORE deploying) |
| 4 | |
| 5 | 1. **Tests pass?** Invoke `rune:verification` if not already run this session. Deploy without passing tests = shipping broken code. |
| 6 | 2. **Security clean?** Invoke `rune:sentinel` if not already run. Deploy with CRITICAL findings = shipping vulnerabilities. |
| 7 | 3. **Rollback plan?** For production deploys, check for `.rune/deploy/rollback-*.md`. If missing → create one first. |
| 8 | |
| 9 | Only proceed after ALL Step 0 checks pass. |
| 10 | |
| 11 | ## Quick Reference |
| 12 | |
| 13 | **Workflow:** |
| 14 | 1. **Pre-Deploy Checks** — verification (full test suite + build) + sentinel (security). Both MUST pass. |
| 15 | 2. **Release Checklist** (production) — version bumped, changelog, migrations tested, rollback plan documented |
| 16 | 3. **Detect Platform** — scan for vercel.json, netlify.toml, fly.toml, Dockerfile, npm deploy script |
| 17 | 4. **Deploy** — platform-specific command, capture deployment URL |
| 18 | 5. **Verify** — curl deployed URL for HTTP 200, browser-pilot for visual check |
| 19 | 6. **Monitor** — invoke watchdog for post-deploy alerts |
| 20 | 7. **Report** — platform, status, URL, build time, checks summary |
| 21 | |
| 22 | **Hard Gates:** |
| 23 | - Tests MUST pass — no deploy without verification (zero exceptions) |
| 24 | - Sentinel MUST pass — no deploy with CRITICAL security findings |
| 25 | - Rollback plan MUST be documented for production deploys |
| 26 | |
| 27 | Read `skills/deploy/SKILL.md` for the full specification including platform detection and rollback procedures. |