Deployment
Built-in npm gates
From package.json:
| Script | Purpose |
|---|---|
npm run deploy:dry | Run secrets + syntax + full test kit + dist verify; prints ready message |
npm run deploy | Same chain + smoke test (scripts/gate-6-smoke-test.js) |
Individual gates include gate:secrets, gate:syntax, gate:dist, gate:smoke.
CI
GitHub Actions (.github/workflows/ci.yml) runs:
bash
npm ci
npm run test:gate:kitSkills you may combine
cm-safe-deploy— multi-gate deploy mindset and checklists (skills/cm-safe-deploy/SKILL.md)cm-quality-gate— completion claims require evidence (skills/cm-quality-gate/SKILL.md)cm-quality-gatealso covers post-release verification and canary checks
Practical checklist before shipping
npm run test:gate:kitgreen locally- No secrets in diff (
npm run gate:secrets) - Dist artifact matches entrypoints (
npm run gate:dist) - Update Changelog for user-visible changes