deployment-patterns
Skill2 starsChanged 22 days agoMITView on GitHub
Design or review artefact deployment, blue/green, rolling and canary cutover, health gates and rollback state, and rehearse them in an authorised local synthetic environment. Use for explicit deployment strategy or script changes; does not obtain production execution rights and does not expand into unrelated cluster building.
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 29 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Use Strategy selection to compare the smallest feasible options under the current topology.
- Distinctive: line 27
Use the release runbook template to write exact targets, stop conditions and manual execution items.
- Distinctive: line 40
When it cannot be determined whether the switch happened, probe the actual entry point/version first and keep UNKNOWN.
- Very specific: line 47
Follow the local resource cleanup rules of task-implementation: register identities on creation, clean up only objects registered this time …
“Common” is measured: kept by at least 6 in 10 of the 29 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
Deployment strategy and local rehearsal
Distinguish artefact deployed, instances ready, traffic routed, users accepted and actual release complete; each conclusion has its own evidence.
Pre-release acceptance order and human decisions are consumed from release-readiness or existing project records.
This skill designs strategy and execution state; it does not sign approvals on anyone's behalf.
Inputs and missing items
Take the approved candidate and the artefact's immutable identity/checksum, current topology, allowed impact scope, sessions/queues/long-lived connections, schema compatibility, recovery objectives RTO/RPO, observation and rollback thresholds, executor and local simulation boundary. Missing candidate -> compare strategies only; do not deploy an arbitrary tag. Missing compatibility evidence -> do not promise rollback is possible. Missing traffic observation -> do not write deployment complete as traffic routed successfully.
Workflow
- Use Strategy selection to compare the smallest feasible options under the current topology; do not equate blue/green or rolling with zero downtime or instant rollback.
- Per State and rollback, define each step's preconditions, action identity, evidence, final state and failure recovery. Record an operation identity before initiating any step with side effects; query unknown responses first instead of re-sending directly.
- Per Health and draining, design warm-up, readiness, entry-point switch, stopping new traffic and draining old connections. A failed candidate must not proceed to receive traffic.
- Use the release runbook template to write exact targets, stop conditions and manual execution items; local rehearsal can use the synthetic blue/green scenario. Without a real local environment deliver model evidence only; do not claim containers/network passed.
- For this change, cover readiness failure, partial success, disconnection, drain timeout, mixed versions, rollback and repeated execution. Deliver actual state, evidence, limits and follow-up responsibility; do not execute unauthorised releases, pushes or real traffic switches.
Resources and recovery
Parallel preparation is allowed only when targets/ports/data and state writers are independent; the same entry point/switch state is exclusive. The budget includes old and new instances coexisting, build/warm-up, connections and the observation window; the number of AI agents is not deployment concurrency.
Resource suggestion: low/low for an established rehearsal; normal/high for state races, data compatibility and failure recovery. Grade words map to actual execution configuration through the project resource mapping.
On interruption, recover the candidate, operation identity, target state, cancel intent and in-flight work; take over only after confirming the old execution has ended. When it cannot be determined whether the switch happened, probe the actual entry point/version first and keep UNKNOWN; do not switch once more "to try". A failure neither auto-deletes the new environment nor keeps unknown resources indefinitely: state the preserved evidence and cleanup responsibility.
Positive example: the new version fails readiness, the old entry point keeps serving, and "no traffic routed" is recorded. Counter-example: writing "live" because a command returned 0, or rolling back the image while ignoring an irreversible schema change.
Wrap-up cleanup: old and new version instances, proxy configuration, ports and test data in the local synthetic rehearsal environment are cleaned up after the rehearsal.
Follow the local resource cleanup rules of task-implementation: register identities on creation, clean up only objects registered this time at wrap-up, record evidence to keep and failed cleanups in the receipt, and use no global cleanup commands.
Sources
- Pinned sources: EC10 deployment-patterns, WS02 deployment-pipeline-design (WS02 entry file only; its references were not read).
- From EC10 adopted the strategy comparison, health and recovery checklists; from WS02 adopted inputs/outputs, stage gates, and health and data-compatibility questions. State handling and the local synthetic scenario are own-authored for this package and not attributed to JJB or any specific plugin implementation. Dropped default rolling, zero-downtime/instant-rollback guarantees and production commands. Re-verify affected paths after strategy, topology or schema contract changes.
- License: shipped with the package as LICENSE-EC.txt (EC, MIT), LICENSE-WS.txt (WS, MIT); library-wide third-party summary in the root THIRD_PARTY_NOTICES.md. Copy the license files along when copying this package alone.
Other versions31 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 31
- loulanyue/awesome-claude-notes★ 272same name
- Fmarzochi/EGC★ 61same name
- skateddu/claude-code-python-setup★ 28same name
- woxiangyangzhimao/skills★ 14same name
- gongyijie85/dsh-ecc★ 8same name
- zero-click/zero-ratchet★ 8same name
- chadixearth/graphyloop★ 3same name
- ronmkr/PromptBook★ 2same name
- TsinHzl/claude-code-config★ 2same name
- get-proofpilot/claude-skills-catalog★ 1same name
21 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.
Used alongsideProjects with it also use ralphinho-rfc-pipeline, nuxt4-patterns 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.
junimnjwSkillralphinho-rfc-pipeline
RFC-driven multi-agent DAG execution pattern with quality gates, merge queues, and work unit orchestration.
Also in 11 projects that use this
loulanyueSkillnuxt4-patterns
Nuxt 4 app patterns for hydration safety, performance, route rules, lazy loading, and SSR-safe data fetching with useFetch and useAsyncData.
Also in 9 projects that use this
ronmkrSkilldart-flutter-patterns
Production-ready Dart and Flutter patterns covering null safety, immutable state, async composition, widget architecture, popular state management frameworks (BLoC, Riverpod, Provider), GoRouter navigation, Dio networking, Freezed code generation, and clean architecture.
Also in 6 projects that use this
TironFoxSkillagent-payment-x402
Add x402 payment execution to AI agents — per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents need to pay for APIs, services, or other agents.
Also in 5 projects that use this
ronmkrSkillvite-patterns
Vite build tool patterns including config, plugins, HMR, env variables, proxy setup, SSR, library mode, dependency pre-bundling, and build optimization. Activate when working with vite.config.ts, Vite plugins, or Vite-based projects.
Also in 7 projects that use this
Yog-SothoSkillpytorch-patterns
PyTorch deep learning patterns and best practices for building robust, efficient, and reproducible training pipelines, model architectures, and data loading. Always activate when the user is writing PyTorch models or training scripts, reviewing deep learning code, debugging training loops or data pipelines, optimizing GPU memory or training speed, setting up reproducible experiments, implementing transfer learning or fine-tuning, or asks anything about nn.Module, DataLoader, autograd, AMP, or torch.compile.
Also in 12 projects that use this
- +2 more from ronmkr
In this repository39 other files it gives its agents.
- ai-trace-auditSkill
- ai-workspace-governanceSkill
- archive-maintenanceSkill
- change-reviewSkill
- cloud-api-integrationSkill
- coding-conventionsSkill
- container-image-managementSkill
- context-handoffSkill
- docker-local-environmentSkill
- documentation-authoringSkill
- estimationSkill
- external-dependency-simulationSkill
- gitlab-webhook-local-gitSkill
- go-patternsSkill
- go-testingSkill
- grpc-proto-contractSkill
- guided-evidence-collectionSkill
- http-api-designSkill
- jenkins-pipeline-jjbSkill
- ldap-rbacSkill
- mysql-migration-safetySkill
- plan-designSkill
- plan-reviewSkill
- playwright-e2eSkill
- project-contextSkill
- pytest-patternsSkill
- readonly-ops-diagnosticsSkill
- redis-patternsSkill
- release-readinessSkill
- role-bootstrapSkill
- security-reviewSkill
- skill-maintenanceSkill
- subtask-dispatchSkill
- systematic-diagnosisSkill
- task-implementationSkill
- test-strategySkill
- verification-gateSkill
- vue3-developmentSkill
- vue-testingSkill
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.

