deploy
Skill0 starsChanged 3 months agoMITView on GitHub
Decide how a project should be deployed before executing anything. Use when Codex needs to deploy, release, publish, ship, determine whether a repo deploys via GitHub Actions or direct tooling, or review current changes before commit/push and deployment.
- Commits and pushes
155 other projects use a version of this.
Adopted by
Most recently taken up by
- pedrohcgs/claude-code-my-workflowtheir own version, first seen Nov 8, 2026
- KingKongRobotics/jumpertheir own version, first seen Nov 8, 2026
- stakeme-team/arc-agent-kittheir own version, first seen Nov 8, 2026
- dockhold/mcptheir own version, first seen Nov 8, 2026
- KhaiTrang1995/nexus-kbtheir own version, first seen Nov 8, 2026
- ribato22/vibechecktheir own version, first seen Nov 8, 2026
Used with
Projects with it also use pm-discovery, qa-phase and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ww-w-aiSkillpm-discovery
PM Agent Team - Automated product discovery, strategy, and PRD generation. Runs PM analysis workflow to produce comprehensive PRD before PDCA Plan phase.
Also in 3 projects that use this
ww-w-aiSkillqa-phase
Run QA tests at various levels (L1-L5) for features under PDCA management. Integrates with MCP tools to execute structured test plans.
Also in 3 projects that use this
- +10 more from ww-w-ai
Other versions155 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 155
- ok-oldking/ok-wuthering-waves★ 8.6ksame name
- memovai/mimiclaw★ 5.8ksame name
- KingKongRobotics/jumper★ 3.1ksame name
- jhd3197/ServerKit★ 1.8ksame name
- pedrohcgs/claude-code-my-workflow★ 1.7ksame name
- mattmireles/gemma-tuner-multimodal★ 1.5ksame name
- microsoft/power-platform-skills★ 1.1ksame name
- jazzyalex/agent-sessions★ 941same name
- awslabs/agent-plugins★ 918same name
- patrickjaja/claude-desktop-extra★ 734same name
145 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository66 other files it gives its agents.
- adb-android-app-opsSkill
- agents-sdkSkill
- api-documentationSkill
- atlasSkill
- backend-api-auth-guardrailsSkill
- browser-useSkill
- bundleSkill
- changelogSkill
- chatgpt-appsSkill
- chrome-devtools-testSkill
- chronicleSkill
- cloudflare-deploySkill
- cloudflare-email-serviceSkill
- cloudflare-one-migrationsSkill
- cloudflare-oneSkill
- cloudflareSkill
- computer-useSkill
- create-planSkill
- database-analysisSkill
- database-data-guardrailsSkill
- debug-memory-leakSkill
- deep-initSkill
- develop-web-gameSkill
- dev-workflowSkill
- docSkill
- durable-objectsSkill
- explainSkill
- figmaSkill
- firmware-feature-writerSkill
- fix-bugSkill
- fix-lintSkill
- frontend-mobile-uiux-designerSkill
- frontend-ui-guardrailsSkill
- gemini-cliSkill
- grok-x-searchSkill
- hermes-chromeSkill
- image-file-readerSkill
- imagegenSkill
- infra-ops-mobile-guardrailsSkill
- layout-reviewSkill
- localizeSkill
- multimodal-lookerSkill
- openai-docsSkill
- optimizeSkill
- parallel-devSkill
- plan-modeSkill
- playwrightSkill
- project-planningSkill
- qa-testerSkill
- refactorSkill
- review-changesSkill
- review-fix-shipSkill
- rust-programmerSkill
- sandbox-sdkSkill
- screenshotSkill
- security-auditSkill
- security-scanSkill
- security-threat-modelSkill
- source-command-collab-startSkill
- turnstile-spinSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
33 rules. 0 are common, 29 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 139 edited versions we read keep these.
29
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 9
Use this skill as the deployment workflow controller.
- Distinctive: line 13
Follow these steps in order every time:
- Distinctive: line 22
If any step is ambiguous, stop and ask instead of guessing.
- Distinctive: line 41
Stop and ask the user if:
- Distinctive: line 50
Before any commit or push, follow the review workflow in:
- Distinctive: line 65
Do not commit while blocking review findings remain unresolved.
- Distinctive: line 66
Do not absorb unrelated dirty changes just to make deployment work.
- Distinctive: line 67
Do not push changes you do not understand.
- Distinctive: line 68
If the repo has mixed staged and unstaged edits from different scopes, stop and ask the user how to separate them.
- Very specific: line 95
GitHub Actions wins: when a workflow clearly contains deploy / publish / release intent, or uses wrangler, gcloud, image push, or a …
- Distinctive: line 96
Cloudflare direct deploy: when no deploy workflow exists and Cloudflare signals are the strongest evidence.
- Distinctive: line 97
GCP direct deploy: when no deploy workflow exists and GCP signals are the strongest evidence.
- Distinctive: line 98
Docker / registry deploy: only when container signals exist and there is no stronger workflow or platform signal.
- Distinctive: line 99
Stop for clarification: when multiple platform signals conflict and no primary entry point can be justified.
- Distinctive: line 119
Use a compact structure like:
- Distinctive: line 139
Do not move forward until the user confirms the route.
- Distinctive: line 145
Use this path when workflow evidence is clear.
- Distinctive: line 151
Commit only the intended changes.
- Distinctive: line 154
If available, inspect the workflow run and report its status.
- Very specific: line 165
If gh is available and authenticated, inspect the latest run:
- Distinctive: line 173
Do not claim success unless you verified the workflow ran or clearly state that verification was skipped.
- Distinctive: line 177
Use only when no GitHub Actions deployment entry is present or the user explicitly asked to bypass it.
- Distinctive: line 192
Do not push secrets from plaintext files.
- Distinctive: line 224
Prefer environment variables and secret bindings over hardcoded config:
- Distinctive: line 236
Use only when container publishing is the actual release path.
- Distinctive: line 253
If multi-platform output is required:
- Distinctive: line 264
Do not commit with unresolved blocking findings.
- Distinctive: line 265
Do not push directly to a protected or production branch unless the user explicitly asked and the repo policy allows it.
- Distinctive: line 266
Do not deploy to production unless the user clearly requested production.
- Distinctive: line 267
If the release branch or environment is unclear, ask.
- Distinctive: line 268
If the repo uses GitHub Actions as the deployment entry, do not bypass it with a direct deploy unless the user explicitly chooses to.
- Very specific: line 272
Use scripts/deploy.sh for quick detection and guarded direct deployment.
- Distinctive: line 309
If verification was skipped, say so explicitly and explain why.
“Common” is measured: kept by at least 6 in 10 of the 139 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deploy Project
Use this skill as the deployment workflow controller. Do not start by running wrangler deploy, gcloud run deploy, docker push, or git push blindly.
Required Workflow
Follow these steps in order every time:
- Confirm repository state.
- Review current staged and unstaged changes.
- Detect the deployment entry point.
- Present the decision, evidence, fallback paths, and risks.
- Confirm with the user.
- Execute the approved deployment path.
If any step is ambiguous, stop and ask instead of guessing.
1. Confirm Repository State
Start with:
git rev-parse --is-inside-work-tree
git status --short --branch
git remote -vCheck for:
- Current branch and whether it tracks a remote
- Dirty tracked changes
- Untracked files that may belong to another task
- Protected-branch or release-branch risk
Stop and ask the user if:
- The directory is not a git repository
- There is no remote and the deployment path requires
push - The worktree is dirty in a way that may mix unrelated scope
- You cannot tell which branch should trigger deployment
2. Review Current Changes Before Commit / Push
Before any commit or push, follow the review workflow in:
review-changes/SKILL.md(sibling skill in this library)
Minimum required checks:
git diff --cached
git diff
git diff --name-only --cached
git diff --name-onlyGuardrails:
- Do not commit while blocking review findings remain unresolved.
- Do not absorb unrelated dirty changes just to make deployment work.
- Do not push changes you do not understand.
- If the repo has mixed staged and unstaged edits from different scopes, stop and ask the user how to separate them.
3. Detect the Deployment Entry Point
Collect evidence from these sources before deciding:
find .github/workflows -maxdepth 1 -type f \( -name '*.yml' -o -name '*.yaml' \)
rg -n "deploy|release|publish|workflow_dispatch|wrangler|gcloud|docker push|docker buildx|cloudflare" .github/workflows
rg --files -g 'wrangler.toml' -g 'wrangler.json' -g 'wrangler.jsonc' -g 'cloudbuild.yaml' -g 'app.yaml' -g 'Dockerfile' -g 'Makefile' -g 'justfile' -g 'package.json'
rg -n '"(deploy|release|publish)"\\s*:' package.json
rg -n "wrangler|gcloud|docker (build|push)|artifact registry|gcr\\.io|pkg\\.dev" package.json Makefile justfileEvidence to Prioritize
.github/workflows/*.yml/.yamlwrangler.toml,wrangler.json,wrangler.jsonccloudbuild.yaml,app.yamlDockerfilepackage.jsondeploy or release scriptsMakefileorjustfiledeploy targets
Decision Rules
Use this precedence:
- GitHub Actions wins when a workflow clearly contains deploy / publish / release intent, or uses
wrangler,gcloud, image push, or a production trigger. - Cloudflare direct deploy when no deploy workflow exists and Cloudflare signals are the strongest evidence.
- GCP direct deploy when no deploy workflow exists and GCP signals are the strongest evidence.
- Docker / registry deploy only when container signals exist and there is no stronger workflow or platform signal.
- Stop for clarification when multiple platform signals conflict and no primary entry point can be justified.
Interpreting Mixed Signals
.github/workflows/*pluswrangler.toml: treat GitHub Actions as the primary entry and Wrangler as the underlying tool..github/workflows/*pluscloudbuild.yaml: treat GitHub Actions as the primary entry and GCP as the underlying platform.cloudbuild.yamlplusDockerfile: treat GCP as primary and Docker as part of the packaging path.wrangler.tomlpluscloudbuild.yaml: ambiguous without more evidence; stop and ask.
4. Present the Deployment Entry Decision
Before acting, report:
review summarydeployment entry decisionevidencefallback pathsrisk flagsrecommended next step
Use a compact structure like:
Review summary:
- staged changes: ...
- unstaged changes: ...
- blocking findings: yes/no
Deployment entry decision:
- primary: github-actions
- evidence:
- .github/workflows/deploy.yml calls wrangler deploy on push to main
- wrangler.toml exists, so Wrangler is the underlying direct tool
- fallback paths:
- cloudflare direct deploy
- risk flags:
- dirty worktree
- production intent not yet confirmedDo not move forward until the user confirms the route.
5. Execute the Approved Path
Path A: GitHub Actions Is the Primary Entry
Use this path when workflow evidence is clear.
Required sequence:
- Finish review and resolve blocking findings.
- Confirm the intended branch and scope.
- Commit only the intended changes.
- Push the branch that should trigger deployment.
- Report which workflow file is expected to run.
- If available, inspect the workflow run and report its status.
Recommended commands:
git status --short --branch
git add <intended-files>
git commit -m "chore: prepare deployment"
git push -u origin "$(git branch --show-current)"If gh is available and authenticated, inspect the latest run:
gh auth status
gh run list --limit 5
gh run view <run-id>Do not claim success unless you verified the workflow ran or clearly state that verification was skipped.
Path B: Direct Cloudflare Deploy
Use only when no GitHub Actions deployment entry is present or the user explicitly asked to bypass it.
Preflight:
npx wrangler whoamiDeploy:
npx wrangler deploy
npx wrangler deploy --env stagingDo not push secrets from plaintext files. Use Wrangler secrets instead:
echo "secret-value" | npx wrangler secret put SECRET_NAMEPath C: Direct GCP Deploy
Preflight:
gcloud auth listDeploy from source:
gcloud run deploy SERVICE_NAME \
--source . \
--region REGION \
--allow-unauthenticatedDeploy from an existing image:
gcloud run deploy SERVICE_NAME \
--image REGION-docker.pkg.dev/PROJECT_ID/REPO/IMAGE:TAG \
--region REGION \
--allow-unauthenticatedPrefer environment variables and secret bindings over hardcoded config:
gcloud run deploy SERVICE_NAME \
--source . \
--region REGION \
--set-env-vars "KEY1=value1" \
--set-secrets "SECRET1=secret-name:latest"Path D: Direct Docker / Registry Publish
Use only when container publishing is the actual release path.
Preflight:
docker info
test -f "${DOCKER_CONFIG:-$HOME/.docker}/config.json"Build and push:
docker build -t myapp:latest .
docker tag myapp:latest REGISTRY/myapp:TAG
docker push REGISTRY/myapp:TAGIf multi-platform output is required:
docker buildx build \
--platform linux/amd64,linux/arm64 \
-t REGISTRY/myapp:TAG \
--push .Commit / Push Guardrails
- Do not commit with unresolved blocking findings.
- Do not push directly to a protected or production branch unless the user explicitly asked and the repo policy allows it.
- Do not deploy to production unless the user clearly requested production.
- If the release branch or environment is unclear, ask.
- If the repo uses GitHub Actions as the deployment entry, do not bypass it with a direct deploy unless the user explicitly chooses to.
Use the Bundled Script
Use scripts/deploy.sh for quick detection and guarded direct deployment.
Supported commands:
./scripts/deploy.sh detect
./scripts/deploy.sh --detect-only
./scripts/deploy.sh auto
./scripts/deploy.sh deploy cloudflare
./scripts/deploy.sh deploy cloudrun
./scripts/deploy.sh deploy docker
./scripts/deploy.sh deploy gceInterpretation:
detect/--detect-only: print the current deployment-entry decision and evidence onlyauto: allow direct deployment only when GitHub Actions is not the primary entrydeploy <target>: execute a direct deployment intentionally, even if a workflow also exists
Rollback Notes
- GitHub Actions: redeploy or rollback through the repo's workflow and environment policy
- Cloud Run: shift traffic to a previous revision
- Cloudflare Workers: use
npx wrangler rollback - Docker: redeploy a previously known-good image tag
Output Contract
Always report:
review summarydeployment entry decisioncommit SHA / branchwhen a push happenedworkflow run or deployed URLwhen availablewarnings / follow-ups
If verification was skipped, say so explicitly and explain why.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

