staging-deployment
Skill9 starsChanged 6 months agoApache-2.0View on GitHub
Deploy and verify software in a staging or testing environment. Use when DevOps must promote a build beyond local deployment, run staging smoke checks, coordinate SSH/Docker/Kubernetes staging rollout, preserve rollback evidence, and produce a deploy report without exposing environment credentials or secrets.
- Reads credentials
In this repository61 other files it gives its agents.
- rules/CLAUDE.mdCLAUDE.md
- acceptance-criteria-authorSkill
- adr-authorSkill
- api-contract-authorSkill
- backend-logging-traceabilitySkill
- ba-design-completenessSkill
- ba-ingestion-pipelineSkill
- ba-iteration-planningSkill
- ba-mode-augmentSkill
- ba-mode-external-sourceSkill
- ba-mode-multi-docSkill
- ba-mode-requirements-folderSkill
- ba-mode-reverse-engineerSkill
- ba-mode-single-docSkill
- ba-post-implementationSkill
- be-framework-coding-standardSkill
- c4-authorSkill
- codebase-inventorySkill
- data-lifecycle-contractsSkill
- design-system-authorSkill
- docker-deploymentSkill
- external-integration-adequacySkill
- fe-framework-coding-standardSkill
- figma-canvas-layoutSkill
- figma-design-handoffSkill
- figma-requirements-extractionSkill
- figma-srs-mappingSkill
- flutter-implementationSkill
- flutter-performanceSkill
- flutter-platform-integrationSkill
- format-boundary-contractsSkill
- git-commitSkill
- incident-debuggingSkill
- intent-archaeologySkill
- kubernetes-deploymentSkill
- local-deploymentSkill
- migration-safetySkill
- observability-readinessSkill
- playwright-authorSkill
- qa-author-by-taskSkill
- qa-author-by-usSkill
- qa-execution-runnerSkill
- react-native-implementationSkill
- react-native-performanceSkill
- react-native-platform-integrationSkill
- release-readinessSkill
- rollback-readinessSkill
- sa-architecture-designSkill
- sa-brownfield-extractSkill
- secrets-config-auditSkill
- security-compliance-checklistSkill
- solution-defaultsSkill
- ssh-remote-operationsSkill
- task-sizingSkill
- <kebab-case-name-matching-folder>Skill
- test-case-authorSkill
- third-party-dependency-evaluationSkill
- ui-test-executionSkill
- ui-ux-page-scopingSkill
- user-story-authorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
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
- Very specific: line 14
Use this skill when a DevOps task targets staging, testing, UAT, pre-prod, or any shared non-local environment.
- Very specific: line 23
Confirm target and approval: Verify the task explicitly names the staging environment and version/build to deploy.
- Very specific: line 25
Select execution path: Use ssh-remote-operations, docker-deployment, or kubernetes-deployment depending on the target.
- Distinctive: line 28
Run staging smoke checks: Verify health endpoints, required background workers, migrations, critical user flows, and external dependency …
- Distinctive: line 34
Never deploy to staging without an explicit target environment and build/version.
- Distinctive: line 35
Never bypass release-readiness, rollback-readiness, migration-safety, secrets-config-audit, or observability-readiness gates when they …
- Very specific: line 36
Never read or print environment secrets, SSH config contents, kubeconfigs, .env* values, registry tokens, or cloud credentials.
- Distinctive: line 37
Never mark staging deployment successful until smoke checks pass against the deployed environment.
- Distinctive: line 38
Never proceed to production from this skill.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Staging Deployment
When to use
Use this skill when a DevOps task targets staging, testing, UAT, pre-prod, or any shared non-local environment. Local QA deploys still use local-deployment; this skill governs promotion into an environment other people depend on.
Inputs and outputs
- Inputs: task ID, target environment, approved build/image/version, deployment mechanism, release-readiness evidence, rollback plan, environment config contract, and access method.
- Outputs: staging deploy report, smoke-test evidence, target URLs, rollout/rollback command references, and follow-up issues for failed gates.
Procedure
- Confirm target and approval. Verify the task explicitly names the staging environment and version/build to deploy. If the target is ambiguous, halt with
NEEDS_CONTEXT. - Run release gates first. Consult
release-readiness; do not deploy if release readiness, migration safety, rollback readiness, secrets/config audit, or observability readiness is incomplete. - Select execution path. Use
ssh-remote-operations,docker-deployment, orkubernetes-deploymentdepending on the target. Reference credential files only as command inputs. - Freeze the deploy input. Record commit SHA, image tag/digest, migration version, config version, and artifact checksum where available. Do not deploy mutable
latestunless the task has an approved exception. - Deploy in a bounded scope. Touch only the named environment, namespace, host alias, compose project, or service set. Avoid broad cluster/host operations.
- Run staging smoke checks. Verify health endpoints, required background workers, migrations, critical user flows, and external dependency connectivity using non-production fixtures.
- Capture rollback evidence. Record previous version, rollback command, rollback owner, expected data constraints, and whether rollback was tested or only prepared.
- Write the deploy report. Include environment, version, deploy mechanism, validation results, smoke checks, URLs, known limitations, and redacted config status.
Hard rules
- Never deploy to staging without an explicit target environment and build/version.
- Never bypass release-readiness, rollback-readiness, migration-safety, secrets-config-audit, or observability-readiness gates when they apply.
- Never read or print environment secrets, SSH config contents, kubeconfigs,
.env*values, registry tokens, or cloud credentials. - Never mark staging deployment successful until smoke checks pass against the deployed environment.
- Never proceed to production from this skill; production promotion requires a separate approved task/change record.
References
../release-readiness/SKILL.md- pre-deploy gate checklist.../rollback-readiness/SKILL.md- rollback gate.../migration-safety/SKILL.md- migration gate.../secrets-config-audit/SKILL.md- secret/config handling.../observability-readiness/SKILL.md- monitoring/alerting readiness.
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.

