ci-cd
Skill1 starsChanged 5 months agoMITView on GitHub
Integração e entrega contínuas production-grade: pipelines rápidos e confiáveis, trunk-based development, feature flags, e estratégias de deploy (blue-green, canary, rolling) com rollback. Use quando o usuário mencionar: "CI/CD", "pipeline", "GitHub Actions", "deploy", "trunk-based", "feature flag", "canary", "blue-green", "rollback", "release", "build automatizado", "esteira".
25 other projects use a version of this.
Adopted by
Most recently taken up by
- AsiaOstrich/universal-dev-standardstheir own version, first seen Sep 30, 2026
- iuliandita/skillstheir own version, first seen Sep 24, 2026
- nahid-sparktales/agent-dispatchertheir own version, first seen Sep 21, 2026
- KalarisLabs/Skill-Doctortheir own version, first seen Sep 13, 2026
- nafeeur/MaskShifttheir own version, first seen Sep 12, 2026
- celestialdust/achilles-skillstheir own version, first seen Sep 10, 2026
Used with
Projects with it also use caching, shell-scripting and 4 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.
zebbernSkillcaching
Caching strategies — invalidation, TTL guidelines, cache keys, cache layers, and when not to cache. Use when implementing or reviewing caching logic.
Also in 3 projects that use this
mylee04Skillshell-scripting
Shell scripting best practices for cross-platform CLI tools
Also in 3 projects that use this
MicrosoftSkillerror-handling
统一错误处理系统。在添加 API 端点、修改错误处理、添加前端 API 调用、编写错误相关测试时使用。
Also in 5 projects that use this
diego-tobalinaSkilllogging
Logging best practices for Java (SLF4J/Logback) and Node.js (Winston/Pino). Use for structured logging, log levels, and avoiding sensitive data exposure.
Also in 3 projects that use this
xiaobei930Skilldatabase
Database design, query optimization, migrations, and indexing. Use when designing schemas, writing queries, or managing migrations.
Also in 3 projects that use this
akornmeierSkilldocker
Guide for using Docker - a containerization platform for building, running, and deploying applications in isolated containers. Use when containerizing applications, creating Dockerfiles, working with Docker Compose, managing images/containers, configuring networking and storage, optimizing builds, deploying to production, or implementing CI/CD pipelines with Docker.
Also in 4 projects that use this
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- codewithmukesh/dotnet-claude-kit★ 750same name
- irahardianto/awesome-agv★ 157same name
- AsiaOstrich/universal-dev-standards★ 76same name
- nahid-sparktales/agent-dispatcher★ 59same name
- mgifford/accessibility-skills★ 50same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- KalarisLabs/Skill-Doctor★ 13same name
- iuliandita/skills★ 7same name
- kevinaimonster/skill-hub★ 4same name
- int2t05/engineering-skills★ 3same name
15 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 repository70 other files it gives its agents.
- agent-creationSkill
- handoffSkill
- task-distributorSkill
- task-plannerSkill
- accessibilitySkill
- airbnb-designSkill
- airtable-designSkill
- atlassian-designSkill
- carbon-designSkill
- cloudscape-designSkill
- coinbase-designSkill
- discord-designSkill
- duolingo-designSkill
- figma-designSkill
- fluent-designSkill
- linear-designSkill
- material-designSkill
- meta-designSkill
- netflix-designSkill
- notion-designSkill
- nubank-designSkill
- one-ui-designSkill
- pinterest-designSkill
- polaris-designSkill
- premium-web-designSkill
- primer-designSkill
- reddit-designSkill
- revolut-designSkill
- robinhood-designSkill
- salesforce-lightning-designSkill
- slack-designSkill
- spectrum-designSkill
- spotify-designSkill
- stripe-designSkill
- tiktok-designSkill
- twitch-designSkill
- uber-base-designSkill
- vercel-geist-designSkill
- visionos-designSkill
- whatsapp-designSkill
- economicsSkill
- legal-basicsSkill
- negotiationSkill
- politicalSkill
- api-designSkill
- architectureSkill
- caching-strategiesSkill
- database-designSkill
- event-drivenSkill
- observabilitySkill
- payment-systemsSkill
- performanceSkill
- qaSkill
- refactoringSkill
- securitySkill
- system-designSkill
- testingSkill
- clone-websiteSkill
- graphifySkill
- remotionSkill
- The first 60 shown.
The file
Files
CI/CD
Você atua como engenheiro de plataforma/DevEx. Objetivo: transformar "commit" em "em produção com segurança" de forma rápida, automática e reversível. Feedback veloz e deploys pequenos e frequentes reduzem risco — o contrário do que a intuição diz.
Princípios
- Build once, deploy many — gere o artefato uma vez; promova o mesmo binário/imagem por dev→staging→prod. Nunca rebuilde por ambiente (config vem de fora).
- Feedback rápido — pipeline em minutos, não horas. Etapas rápidas primeiro (lint/unit) para falhar cedo; caras depois (e2e).
- Deploys pequenos e frequentes — lote pequeno = risco pequeno e diagnóstico fácil. Big bang mensal é o antipadrão.
- Tudo reversível — todo deploy tem rollback testado (ou feature flag para desligar). Nunca vá para prod sem saída.
- Pipeline como código — versionado no repo, revisável, reproduzível.
CI — o pipeline
# Ordem por custo (rápido/barato → lento/caro): falhe cedo
stages:
- lint + format # segundos
- typecheck # segundos
- unit tests # segundos-minutos
- build (artefato único)
- integration tests # minutos
- security scan (SCA/SAST) # ver [[security]]
- e2e (só fluxos críticos) # mais lentoRegras: pipeline verde é obrigatório para merge; flaky test é bloqueador (conserte ou quarentena, ver [[testing]]); cache de dependências para velocidade; roda em todo PR.
Trunk-based development
- Todos integram numa
mainsempre deployável, várias vezes ao dia. - Branches curtas (horas/1-2 dias), PRs pequenos.
- Trabalho incompleto fica escondido atrás de feature flag, não numa branch longa.
- Evita "merge hell" e integra cedo (onde bugs são baratos).
Feature flags (desacopla deploy de release)
Deploy (código em prod, desligado) ≠ Release (ligado para usuários)- Solte código escondido; ligue por %/segmento quando pronto.
- Kill switch: desligue um recurso problemático sem redeploy.
- Testes em produção (canary por flag), rollout gradual.
- Higiene: remova flags mortas (dívida técnica se acumulam).
Estratégias de deploy
| Estratégia | Como | Quando |
| Rolling | Substitui instâncias aos poucos | Default, simples |
| Blue-green | Sobe ambiente novo (green) completo, troca o tráfego, mantém o antigo (blue) para rollback instantâneo | Rollback rápido, custo de 2x infra |
| Canary | Manda 1%→10%→100% do tráfego para a versão nova, observando métricas | Alto risco, quer validar em prod com pouca exposição |
Sempre com health checks e rollback automático se erro/latência subir (liga com [[observability]] — deploy observa SLO).
Fluxo ideal
commit → CI (verde) → merge na main → build artefato → deploy staging (auto)
→ smoke tests → deploy prod (canary) → observa SLO → 100% ou rollbackRecursos externos
| Recurso | O que pegar |
| Continuous Delivery (Jez Humble/Farley) | Fundamentos: build once, pipeline, deploy pequeno. |
| Trunk Based Development | Como integrar continuamente sem branches longas. |
| GitHub Actions Docs | Escrever workflows de CI/CD. |
| DORA Metrics (Google) | Deploy frequency, lead time, MTTR, change fail rate. |
| Martin Fowler — Feature Flags | Tipos de flag e higiene. |
| Argo Rollouts / Flagger | Canary/blue-green automatizado (k8s). |
Do / Don't
| Do | Don't |
| Build once, promova o artefato | Rebuild por ambiente |
| Deploys pequenos e frequentes | Big bang mensal |
| Feature flag para esconder incompleto | Branch de vida longa |
| Rollback/kill switch testado | Deploy sem saída |
| Falhar cedo (rápido antes de caro) | e2e antes de unit |
Checklist
- Pipeline como código, verde obrigatório para merge
- Etapas ordenadas por custo (falha cedo)
- Artefato único promovido por ambiente (config externa)
- Trunk-based + PRs pequenos + feature flags
- Estratégia de deploy escolhida (rolling/blue-green/canary) com health check
- Rollback/kill switch testado; deploy observa SLO
- Métricas DORA acompanhadas
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.

