# Shipgate

> Ship from laptop to production in the right order: full gate, green CI, database before code, a human on every irreversible step, then verified live.

Shipgate is a paid AI agent skill on Agensi by MAJI, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [MAJI](https://www.agensi.io/creators/maji)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.1
- Last updated: 2026-10-19
- Security: scan passed (2026-10-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/shipgate
- Tags: devops, git-workflow, database-migrations

## About this skill

"Deploy to prod" is where agents do the most damage: a push to main, an app deployed before its migration, a secret pasted into chat, or a green dashboard that is still serving the old build. Ask your agent to "ship this" and Shipgate moves the change through every gate in order, hands the irreversible production steps to you as copy-ready commands, then proves the new version is live and records how to roll it back.

### Why it's different
- **A human on every irreversible step:** production database push, production deploy, secrets and production SQL come to you as exact commands with the working directory and account scope. Secrets go into your own terminal, never into chat.
- **Database before code:** migrations are committed, dry-run and applied before the deploy, with a backup first.
- **Verified, not assumed:** confirms the URL serves the new deployment, checks status codes, greps the served bundle for this change and runs a read-only smoke test.
- **Built from real projects:** 23 failures that actually happened, each with its guard.

### What it does
- **Ship policy first:** reads the repo's own rules (local-only, never push main, auto-push) and defaults to local-only when there are none.
- **Local gate:** typecheck, lint, tests and a production build with a frozen lockfile.
- **PR with green CI:** conventional commit, PR, CI watched until green, merge only on your explicit "merge".
- **Go-live and lockdown:** route audit for missing auth, row-level security, deployment protection, firewall and rate limits on first launch.
- **Record and learn:** deployment id and rollback target written down, and a blameless post-mortem only when something broke and you say yes.

### How it works
1. **Read the ship policy** and work in one worktree per task.
2. **Run the local gate** and stage on purpose, with a secret scan of the diff.
3. **Open the PR** and wait for green CI.
4. **Migrate, then deploy:** gated steps handed to you as copy-ready commands or one go-live script.
5. **Verify live, lock down, record** the deployment id and rollback target.

### Frameworks & tools
Git, GitHub CLI and Actions, any Node package manager, Vercel or Fly.io, Supabase or another Postgres with migrations, curl and Playwright for the live checks.

### Use cases
- Shipping a finished change from local to production without skipping steps.
- Getting a schema migration to production safely.
- First go-live of an app on a new host.
- Working out why a deploy failed or the site went down right after a release.

### Known limitations
It does not run irreversible production commands for you; you paste them. Not for repos under a deploy freeze or client repos you may only pull from.

## Requires

- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Shipgate skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Will it push to main or deploy on its own?

No. It follows your repo's ship policy, merges only on an explicit "merge", and hands every production step to you as a command.

### Which hosts does it support?

Vercel and Fly.io out of the box, with Supabase or Postgres migrations. The order of the gates applies to any host.

### What happens to my secrets?

You paste them into your own terminal or host settings. Any secret that lands in chat is treated as leaked and rotated.

### What if the deploy fails anyway?

It triages from the logs (lockfile drift, missing environment variables, a skipped deploy) and offers a short blameless post-mortem with one concrete prevention.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
