Skip to content
Development
Command

/deploy

Deploy safely with multi-gate pipeline — test → build → stage → verify → production

From plugin
cm
5611 skills8 agents11 commands3 hooks
+1
> /plugin marketplace add tody-agent/codymaster
> /plugin install cm@codymaster

Command definition

deploy.md
description: Deploy safely with multi-gate pipeline — test → build → stage → verify → production
argument-hint: "[staging|production]"

/deploy — Safe Deployment Pipeline

Multi-gate deploy: run tests → verify build → deploy to staging → verify → optionally promote to production.

Invocation

/deploy staging
/deploy production

Workflow

Step 1: Pre-Flight Checks

Apply **cm-test-gate** skill:

  • Run `npm run test:gate`
  • Verify all tests pass
  • Check build output

Step 2: Identity Guard

Apply **cm-identity-guard** skill:

  • Verify git config matches `.project-identity.json`
  • Confirm Cloudflare account is correct
  • Prevent wrong-account deploys

Step 3: Deploy

Apply **cm-safe-deploy** skill:

  • Deploy to staging first (always)
  • Verify staging deployment
  • Only promote to production if explicitly requested
  • Rollback strategy ready

Step 4: Post-Deploy

  • Run smoke tests on deployed URL
  • Verify critical paths work
  • Update CONTINUITY.md with deploy status

Notes

  • Production deploys always require explicit user confirmation
  • Staging is mandatory — no direct-to-production
  • Use `cm-secret-shield` scan before any deploy
@tody-agent
Ships withcm

"I can't write code. But in 6 months, I shipped 12 real products using AI. CodyMaster is everything I learned — so you don't have to repeat my mistakes." — Tody Le, Head of Product, Creator of CodyMaster 50+ skills. One install.

5662 skills8 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
56
Star history of tody-agent/codymaster on GitHub, a chart by star-history.com

Other commands on cm.

bootstrap

bootstrap

Command

Bootstrap a new project with design system, CI/CD, i18n, SEO, and deploy pipeline

@tody-agent@tody-agentInstall Command
build

build

Command

Build features with TDD discipline — test first, implement, verify through quality gates

@tody-agent@tody-agentInstall Command
content

content

Command

AI content engine — research, generate, and deploy content across platforms

@tody-agent@tody-agentInstall Command
continuity

continuity

Command

Read and update working memory — maintain context across sessions via CONTINUITY.md

@tody-agent@tody-agentInstall Command
debug

debug

Command

Systematic debugging — 4-phase root cause process with defense-in-depth verification

@tody-agent@tody-agentInstall Command
demo

demo

Command

Interactive onboarding tour — discover CodyMaster skills, workflows, and examples. Run this first to learn how to use the kit.

@tody-agent@tody-agentInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command