From apogee
Test and deploy changes safely. Runs tests as a pre-deploy gate, deploys, then runs post-deploy verification. This is a TEMPLATE — customize the commands and checks for your specific deployment pipeline.
How this skill is triggered — by the user, by Claude, or both
Slash command
/apogee:deployThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- ============================================================
Deploy changes to production with automated testing and verification.
Arguments after /deploy:
--all — deploy everything--skip-tests — skip pre-deploy tests (use only if tests were just run)Valid targets: [YOUR_SERVICE_1], [YOUR_SERVICE_2], [YOUR_SERVICE_3]
If no target specified, check git for changes:
git diff --name-only HEAD
git diff --name-only --cached
Map changed files to affected targets and determine what needs deploying.
[YOUR_TEST_COMMAND]
[YOUR_DEPLOY_COMMAND] [target-name]
Deploy targets one at a time. If a deploy fails, stop and report — do not continue deploying remaining targets.
[YOUR_VERIFICATION_COMMAND]
If verification fails:
# Example rollback: restore previous version and redeploy
git checkout [previous-commit] -- [path/to/service/]
[YOUR_DEPLOY_COMMAND] [target-name]
git checkout HEAD -- [path/to/service/]
[YOUR_HEALTH_CHECK_COMMAND]
Deploy Complete
───────────────
Targets deployed: [list]
Tests: X/Y passed
Verification: passed
Health: ok
Do NOT use this skill for:
Here's what the skeleton above looks like with the placeholders replaced. Stack: a Node.js API on Fly.io with a Postgres backend, health-checked via curl. Adapt to your own stack — this is reference, not prescription.
git diff --name-only HEAD
git diff --name-only --cached
Mapping: anything under src/api/ → deploy api. migrations/ touched → run migration after deploy.
npm test
Fail → STOP, fix first.
flyctl deploy --app my-api
Fail → STOP. Don't continue to other targets if this is part of a multi-target deploy.
curl -fsSL https://my-api.fly.dev/health
flyctl releases list --app my-api
flyctl deploy --image registry.fly.io/my-api:<previous-tag>
curl -fsSL https://my-api.fly.dev/health | jq '.db_connected'
Confirms DB and downstream dependencies are reachable, not just the HTTP listener.
Deploy Complete
───────────────
Targets deployed: api
Tests: 47/47 passed
Verification: passed
Health: ok (db_connected: true)
Other stacks fit the same shape: Supabase Edge Functions (shadow-slug deploy + smoke probe + swap), Vercel (preview → promote with vercel --prod), Cloudflare Workers (wrangler deploy + health probe), AWS Lambda (sam deploy + CloudWatch check). Pick the one closest to your stack and substitute. The 6-step structure stays.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub mishagin-dev/apogee --plugin apogee