# Ccc Deploy Check

> Pre-deployment readiness gate. Use when: 'deploy check', 'ready to ship?', 'pre-deploy', 'deployment gate', 'should I deploy?', 'is it safe to ship?', 'checklist…

- **Type:** Skill
- **Install:** `agentstack add skill-kevinzai-commander-ccc-deploy-check`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [KevinZai](https://agentstack.voostack.com/s/kevinzai)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [KevinZai](https://github.com/KevinZai)
- **Source:** https://github.com/KevinZai/commander/tree/main/commander/cowork-plugin-codex/skills/ccc-deploy-check
- **Website:** https://commanderplugin.com

## Install

```sh
agentstack add skill-kevinzai-commander-ccc-deploy-check
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# /ccc-deploy-check — Pre-deploy readiness gate

> Placeholders like ~~CI/CD and ~~monitoring refer to connected tools. See [CONNECTORS.md](../../CONNECTORS.md).

Run a pre-deployment readiness check before shipping. Quick Mode runs the essential checklist in under 60 seconds. Power Mode performs a full assessment with rollback plan.

## Quick Mode (default)

Run this checklist automatically — no questions needed:

```
[ ] Tests pass          → npm test / vitest / pytest (auto-detect)
[ ] Build is clean      → npm run build / tsc --noEmit
[ ] No console.log      → grep -r "console\.log" src/ --include="*.ts"
[ ] No hardcoded secrets → scan for API keys, tokens, passwords in diff
[ ] No TODO/FIXME in    → grep -r "TODO\|FIXME" src/ (warn, don't block)
    changed files
[ ] package.json lock   → check for lockfile changes that don't match package.json
[ ] Migrations are safe → check for destructive SQL (DROP, DELETE without WHERE)
```

Report each check as PASS / WARN / FAIL.

**Verdict:**
- All PASS → **GO** — ship it
- Any WARN → **CAUTION** — review warnings before shipping
- Any FAIL → **NO-GO** — fix before deploying

## Power Mode

Activate by passing `--power` or `detailed` or `production`.

Full deploy readiness assessment:

### Pre-Deploy Checks
1. All Quick Mode checks (above)
2. Diff size — flag if >500 lines changed (increased risk)
3. New dependencies — security scan via `npm audit` or `pip audit`
4. Environment variable diff — any new required env vars documented?
5. Feature flags — is the change gated appropriately?
6. Database migration — reversible? tested on staging?

### Rollback Plan (auto-generated)
```markdown
## Rollback Plan
- **How to roll back:** `git revert ` + redeploy OR feature flag off
- **Data concerns:** [Are there DB migrations that are hard to reverse?]
- **Estimated rollback time:** [X minutes]
- **Owner on call:** [Who to page if this goes wrong]
```

### Risk Assessment
| Dimension | Risk | Notes |
|-----------|------|-------|
| Scope of change | Low/Med/High | Lines changed, files touched |
| Data mutations | Low/Med/High | Schema changes, data migrations |
| External dependencies | Low/Med/High | New 3rd-party calls |
| Traffic impact | Low/Med/High | Hot paths, rate limits |

**Overall risk:** Low (GO) / Medium (CAUTION) / High (NO-GO pending review)

## If Connectors Available

If **~~CI/CD** is connected:
- Pull latest pipeline status — only proceed if all checks green
- Block deploy if tests are failing on the target branch
- Show flaky test history for context

If **~~monitoring** is connected:
- Check current error rates before deploying (don't deploy into an incident)
- Set a deploy marker after shipping for correlation
- Alert if error rate spikes >2x in first 5 minutes post-deploy

## Output

```
┌─────────────────────────────────────────────────────────────────┐
│ DEPLOY CHECK — [Environment]                     [Date/Time]    │
├─────────────────────────────────────────────────────────────────┤
│  ✓ Tests pass                                                    │
│  ✓ Build clean                                                   │
│  ✓ No console.log                                               │
│  ✓ No hardcoded secrets                                          │
│  ⚠ 2 TODOs in changed files (non-blocking)                      │
│  ✓ Lockfile consistent                                           │
│  ✓ No destructive migrations                                     │
├─────────────────────────────────────────────────────────────────┤
│  VERDICT: ✅ GO — Safe to deploy                                 │
└─────────────────────────────────────────────────────────────────┘
```

## Tips

1. **Run before every deploy** — 60-second check is cheaper than a 2am rollback.
2. **Production flag adds rigor** — pass `production` to enable the full risk assessment.
3. **Fix FAIL before shipping** — WARNs are judgment calls; FAILs are not.
4. **Rollback plan is required** — if you can't explain how to roll back, you're not ready to ship.

---

> ⚙️ **Fable contract:** plan before build · verifier ≠ worker · prove before alarm · loops need gates · leave durable state — `rules/fable-method.md`

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [KevinZai](https://github.com/KevinZai)
- **Source:** [KevinZai/commander](https://github.com/KevinZai/commander)
- **License:** MIT
- **Homepage:** https://commanderplugin.com

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-kevinzai-commander-ccc-deploy-check
- Seller: https://agentstack.voostack.com/s/kevinzai
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
