Skip to content

Deployment

Built-in npm gates

From package.json:

ScriptPurpose
npm run deploy:dryRun secrets + syntax + full test kit + dist verify; prints ready message
npm run deploySame 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:kit

Skills 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-gate also covers post-release verification and canary checks

Practical checklist before shipping

  1. npm run test:gate:kit green locally
  2. No secrets in diff (npm run gate:secrets)
  3. Dist artifact matches entrypoints (npm run gate:dist)
  4. Update Changelog for user-visible changes

See also

CodyMaster — AI-assisted engineering toolkit