Deploy

From shipshitdev/skills · View interactive version

Deploy is an AI agent skill from the GitHub repository shipshitdev/skills. Runs deployment workflows for web apps to staging or production. Use when the user says deploy, push to staging, ship it, or go live. Version or tag cuts are release.

How to use this skill

Skill file

Deploy

Deploy a web app from the trunk to staging or production with gates, verification and a rollback path.

Contract

Inputs:

Outputs:

Creates/Modifies:

External Side Effects:

Confirmation Required:

Delegates To:

(/<router> <action>: <router>/references/<action>.md; /<name>: <name>/SKILL.md);

skills here are user-invoked only, so the Skill tool cannot load them.

Local quality gates (mandatory)

Before every deployment, run the repository's own format, lint and type-check scripts (plus tests and build when configured). Resolve the real script names from package.json; never guess or chain package managers (use the repo's own, Bun by default). Fix failures before pushing or deploying. Prefer CI-driven deploys over running provider CLIs locally.

Process

Staging

  1. Ensure trunk CI is green.
  2. Trigger the staging deploy from the trunk (no staging branch).
  3. Wait for CI and staging health checks to pass.

Production

  1. Ensure staging is healthy.
  2. Require explicit confirmation. Production is critical.
  3. Deploy to production from the trunk.
  4. Monitor the deployment; watch health endpoints and error tracking for 15 minutes.

Hotfix

Branch hotfix/xxx off the trunk (default branch), fix, PR to trunk, merge, deploy to production.

Post-deploy verification

  1. Check health endpoints.
  2. Check error tracking (Sentry or similar).
  3. Verify critical user flows.
  4. Check deployment logs.

Rollback

If the deployment fails, revert the merge commit and redeploy.

References

references/workflow.md has platform-specific deployment details, AWS patterns, CI/CD integration and rollback procedures. Its command examples are generic placeholders; substitute the repo's own package manager and scripts.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.