AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Ccc Deploy

skill-kevinzai-commander-ccc-deploy · by KevinZai

CC Commander actual deployment workflow. Detects Vercel, Fly.io, Cloudflare, GitHub Pages, or npm deploy targets, asks for the deploy destination, runs the platform…

No reviews yet
0 installs
26 views
0.0% view→install

Install

$ agentstack add skill-kevinzai-commander-ccc-deploy

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-kevinzai-commander-ccc-deploy)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Ccc Deploy? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

/ccc-deploy — Actual Deploy Workflow

CC Commander · /ccc-deploy · Detect target → deploy → verify → announce

Use this when the user is ready to push a build live. This is distinct from /ccc-ship and /ccc-deploy-check: /ccc-ship handles pre-flight and release tagging, /ccc-deploy-check is a readiness gate, and /ccc-deploy runs the real deploy.

Response Shape

Always return these sections:

  1. Brand header:
**CC Commander** · /ccc-deploy · Actual deployment
  1. Detection summary:

Read the repository root and report detected deploy targets from:

  • package.json scripts: deploy, deploy:prod, deploy:production, pages:deploy, wrangler:deploy, vercel:deploy, fly:deploy, publish, release
  • fly.toml → Fly.io
  • vercel.json or a vercel package/script → Vercel
  • wrangler.toml, wrangler.json, or wrangler.jsonc → Cloudflare
  • .github/workflows/deploy.yml, .github/workflows/deploy.yaml, .github/workflows/pages.yml, or .github/workflows/pages.yaml → GitHub Pages or workflow deploy
  • package.json publishConfig, bin, or files plus a prepublishOnly script → npm package publish candidate

Use parallel Bash reads where possible and keep failures non-fatal:

test -f package.json && node -e "const p=require('./package.json'); console.log(JSON.stringify({scripts:p.scripts||{}, publishConfig:p.publishConfig||null, bin:p.bin||null, files:p.files||null}, null, 2))"
test -f fly.toml && echo fly.toml
test -f vercel.json && echo vercel.json
test -f wrangler.toml && echo wrangler.toml
find .github/workflows -maxdepth 1 -type f \( -name 'deploy.yml' -o -name 'deploy.yaml' -o -name 'pages.yml' -o -name 'pages.yaml' \) 2>/dev/null
  1. Platform picker — AskUserQuestion

Build the options from the detection summary, put detected targets first, and enable autocomplete for the user to override. If exactly one strong target is detected, mark that label with . Never show more than four options in a single AskUserQuestion; use the second picker below for lower-confidence targets.

question: "Where should I deploy?"
header: "CC Commander Deploy"
multiSelect: false
autocomplete: true
options:
  - label: "Vercel production"
    value: "vercel"
    description: "Detected from vercel.json or Vercel scripts. Runs vercel deploy --prod."
    preview: "Deploys the current branch to Vercel production and verifies the returned URL."
  - label: "Fly.io"
    value: "fly"
    description: "Detected from fly.toml. Runs fly deploy."
    preview: "Streams deploy logs, checks release status, then verifies the app URL."
  - label: "Cloudflare"
    value: "cloudflare"
    description: "Detected from wrangler config or Cloudflare deploy scripts."
    preview: "Runs wrangler or npm Cloudflare deploy command, then verifies the Worker or Pages URL."
  - label: "More deployment targets"
    value: "more-targets"
    description: "GitHub Pages, npm publish, or custom package deploy scripts."
    preview: "Opens one more picker with less common deploy targets."

If the user chooses "More deployment targets", ask:

question: "Which deploy target?"
header: "CC Commander Deploy"
multiSelect: false
autocomplete: true
options:
  - label: "GitHub Pages"
    value: "github-pages"
    description: "Detected from GitHub Pages workflow files."
    preview: "Dispatches or watches the deploy workflow and verifies the Pages URL."
  - label: "npm publish"
    value: "npm"
    description: "Detected from package publish metadata."
    preview: "Publishes the package after package metadata and auth checks."
  - label: "Custom npm deploy script"
    value: "npm-script"
    description: "Detected from package.json deploy scripts."
    preview: "Runs the chosen npm deploy script and verifies the configured health URL."
  - label: "Back"
    value: "back"
    description: "Return to the primary deploy target picker."
    preview: "Choose Vercel, Fly.io, or Cloudflare instead."

If no target is detected, show the same picker without a star and include a short note: "No deploy target was obvious from the repo; pick the platform to use."

Deployment Runners

Before any deploy command:

  • Confirm the git branch with git rev-parse --abbrev-ref HEAD.
  • Show dirty state from git status --short.
  • If dirty state is non-empty, warn clearly and ask the user whether to continue before deploying.
  • Prefer package manager scripts when they are explicit production deploy scripts. Otherwise use the platform command below.
  • Never fabricate secrets. If a command needs credentials, state the missing credential and stop.

Vercel

Use when selected or detected via vercel.json, Vercel scripts, or Vercel dependency.

Run:

vercel deploy --prod

Watch:

vercel inspect 
vercel logs 

Verify health:

  • Parse the deploy URL from command output.
  • Fetch the deploy URL with WebFetch.
  • If the repo defines HEALTHCHECK_URL, NEXT_PUBLIC_SITE_URL, SITE_URL, or APP_URL in safe local config examples, verify that URL too.
  • PASS requires an HTTP success response and no obvious platform error page text.

Fly.io

Use when selected or detected via fly.toml.

Run:

fly deploy

Watch:

fly status
fly releases --limit 3
fly logs --no-tail

Verify health:

  • Derive the app name from fly.toml or fly status.
  • Fetch https://.fly.dev with WebFetch when no explicit health URL exists.
  • If secrets are managed through 1Password, tell the user to rerun through op run -- fly deploy instead of printing secret values.

Cloudflare

Use when selected or detected via wrangler.toml, wrangler.json, wrangler.jsonc, or Cloudflare scripts.

Prefer an explicit script if present:

npm run deploy
npm run deploy:prod
npm run wrangler:deploy

Otherwise run:

wrangler deploy

For Pages projects, run:

wrangler pages deploy 

Watch:

wrangler deployments list
wrangler tail

Verify health:

  • Fetch the Worker or Pages URL emitted by Wrangler with WebFetch.
  • If the Cloudflare project is better served by the dedicated Cloudflare deployment workflow, hand off to cloudflare-deploy and preserve the selected target context.

GitHub Pages

Use when selected or detected via .github/workflows/deploy.yml, .github/workflows/deploy.yaml, .github/workflows/pages.yml, or .github/workflows/pages.yaml.

Run:

gh workflow run deploy.yml

If the workflow file is named differently, use that exact filename. If the workflow is triggered by push only, push the already committed release branch and then watch it.

Watch:

gh run list --workflow  --limit 5
gh run watch 
gh run view  --log-failed

Verify health:

  • Derive the Pages URL from repository metadata when possible.
  • Otherwise ask for the URL and fetch it with WebFetch.

npm Publish

Use when selected or detected from publish metadata. This is a release deploy, not a web deploy.

Run checks first:

npm whoami
npm pack --dry-run
npm publish --access public

Watch:

npm view  version
npm view  dist-tags --json

Verify:

  • Confirm the published version matches package.json.
  • Fetch the npm package page with WebFetch if the package is public.

Custom npm Deploy Script

Use the exact script selected from package.json.

Run:

npm run 

Watch and verify using any URL printed by the script, SITE_URL, APP_URL, or a user-provided health URL.

Post-Deploy Comms

After a verified deploy, emit a concise post-deploy message the user can send:

Deploy complete:  to 
- Version or commit: 
- URL: 
- Health check: PASS at 
- Rollback: /ccc-rollback

If Discord or Slack is configured through /ccc-connect, offer to post the comms there. Do not invent channel names; use configured connector context or ask the user.

Post-Deploy Recommended Services

After successful deploy, suggest complementary services based on deploy platform:

For Vercel deploys:

  • 🔔 Upstash — Add Redis cache, job queues, or rate limiting.
  • 📊 PostHog — Product analytics and feature flags.

For Fly.io deploys:

  • 💾 Supabase — Connect a managed Postgres database.
  • Upstash — Redis for caching and sessions.

For Cloudflare deploys:

[Explore all partner tools →](./affiliate-disclosure.mdx)

Failure Mode

When a deploy command, log watch, or health check fails:

  1. Surface the exact failing command and the relevant error lines.
  2. State whether the deploy likely failed before release, released but unhealthy, or could not be verified.
  3. Preserve the deploy URL, run id, release id, and commit sha if available.
  4. Suggest /ccc-rollback for released-but-bad deploys.
  5. Do not keep retrying indefinitely. One retry is acceptable only for transient network or platform status errors.

Anti-Patterns

  • Do not run /ccc-ship; this skill is the actual deploy step.
  • Do not skip health verification.
  • Do not claim success from a zero exit code alone.
  • Do not print secrets or .env values.
  • Do not post Slack or Discord comms without user confirmation.

> ⚙️ 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.

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

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.