# Deployment

> Deploy to any environment. Use when deploying to dev, staging, or production. Enforces verification checklist. Use when this capability is needed.

- Skill: `tomevault-io/deployment-7` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/deployment-7`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/deployment-7/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/deployment-7

---


# Deployment Workflow

## Pipeline (mandatory order)
Dev → Staging → [VERIFY on staging] → [GET EXPLICIT APPROVAL] → Production

## Commands
- Development: `npm run deploy:dev`
- Staging: `npm run deploy:staging`
- Production: `npm run deploy:production` ⚠️ REQUIRES EXPLICIT APPROVAL

**NEVER** run raw `firebase deploy`. Anti-patterns #1, #11, #12.

## Pre-Deploy Checklist
- [ ] `npm run test -- --run` passes
- [ ] `npm run lint` clean
- [ ] `npx tsc --noEmit` clean
- [ ] `npm run test:e2e` passes (for staging/production)
- [ ] Dashboard parity: `curl -s http://localhost:3001/api/parity`

## Staging Verification (before production)
1. Dev: blue "DEVELOPMENT ENVIRONMENT" banner
2. Staging: yellow "STAGING ENVIRONMENT" banner
3. Finance page transaction list renders correctly
4. Dark mode: no white edges on cards
5. Mobile swipe actions work
6. Commitments task boxes compact
7. Empty states: no excessive scrolling

## Post-Deploy
```bash
git commit --allow-empty -m "deploy(ENV): vVERSION @ $(git rev-parse --short HEAD)"
curl -s http://localhost:3001/api/parity
```

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/adedamola-aina) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-14 -->

