Skip to content
Back to skills

Cm Safe Deploy

ASecurity

Use when setting up deployment infrastructure or enforcing a gated release path. Routes to deploy gates, setup, or rollback based on the current deployment stage.

  • 52 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 5, 2026
ai-agentssecurity

Works with

  • terminal

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add tody-agent/codymaster --skill cm-safe-deploy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cm Safe Deploy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cm Safe Deploy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tody-agent-cm-safe-deploy-codymaster/badge)](https://www.skillsdirectory.com/skills/tody-agent-cm-safe-deploy-codymaster)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cm-safe-deploy
description: Use when setting up deployment infrastructure or enforcing a gated release path. Routes to deploy gates, setup, or rollback based on the current deployment stage.
token_budget: 1500
token_core: 500
token_refs:
  gate-0-secret-hygiene: 620
  gate-0-5-security-scan: 300
  gate-1-syntax: 280
  gate-2-test-suite: 380
  gate-3-i18n: 260
  gate-4-5-build-dist: 340
  gate-6-deploy-smoke: 320
  setup-new-project: 360
  rollback: 220
compressed: true
deprecated: false
---

# Safe Deploy Pipeline v2

## TL;DR
- **Use before/during** staging or production deployment
- **Model**: gated deploy pipeline with hard stops
- **Decision**: choose setup, active gate execution, or rollback
- **Next**: `cm-quality-gate` for verification evidence

## The Iron Law
```text
NO DEPLOY WITHOUT PASSING ALL GATES.
GATES ARE SEQUENTIAL.
IF A GATE FAILS, FIX FIRST.
```

## When to Use
- Establishing deploy infrastructure for a new project
- Hardening an existing project that deploys without gates
- Recovering after incidents caused by weak release validation
- Running or reviewing a release pipeline before production changes

## Choose Your Path

```
Need to create deploy infrastructure for a project?
└─ YES → Setup path

Already have infrastructure and need to run or review gates?
└─ YES → Gate path

Did a deploy fail or need reversal?
└─ YES → Rollback path
```

| Path | Summary | Load |
|---|---|---|
| Setup | Establish scripts, tests, and deploy workflow | `references/setup-new-project.md` |
| Gate 0 | Secret hygiene | `references/gate-0-secret-hygiene.md` |
| Gate 0.5 | Security scanning | `references/gate-0-5-security-scan.md` |
| Gate 1 | Syntax validation | `references/gate-1-syntax.md` |
| Gate 2 | Test suite | `references/gate-2-test-suite.md` |
| Gate 3 | i18n parity | `references/gate-3-i18n.md` |
| Gates 4-5 | Build + dist verification | `references/gate-4-5-build-dist.md` |
| Gate 6 | Deploy + smoke verification | `references/gate-6-deploy-smoke.md` |
| Rollback | Recovery and reversal | `references/rollback.md` |

## Gate Map
```text
0   Secret hygiene
0.5 Security scan
1   Syntax
2   Test suite
3   i18n parity
4   Build verification
5   Dist verification
6   Deploy + smoke test
```

## Load Rules
- Load only the gate reference for the current stage.
- Load `setup-new-project.md` only when establishing infrastructure.
- Load `rollback.md` only when deployment fails or rollback planning is required.

## Integration
| Skill | Why |
|---|---|
| `cm-quality-gate` | verification and evidence checks |
| `cm-identity-guard` | deploy identity verification |
| `cm-safe-i18n` | i18n-specific gate setup |
| `cm-terminal` | monitored execution of gate commands |

## Rules
- Gates are sequential and blocking.
- Do not skip to later gates when an earlier gate fails.
- Keep deploy setup and active deploy execution separate in your head and in your prompts.
- Security and secret hygiene remain part of this skill; do not rely on deprecated skills.

## The Bottom Line
**Choose setup, the current gate, or rollback. Load only that path, and stop on failure.**

Files in this skill

  • SKILL.md3.1 KB
  • references/gate-0-5-security-scan.md739 B
  • references/gate-0-secret-hygiene.md2 KB
  • references/gate-1-syntax.md670 B
  • references/gate-2-test-suite.md740 B
  • references/gate-3-i18n.md519 B
  • references/gate-4-5-build-dist.md478 B
  • references/gate-6-deploy-smoke.md554 B
  • references/rollback.md479 B
  • references/setup-new-project.md610 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.