Pular para o conteúdo
Skillpedia
Deploy e nuvem (DevOps)18 mil · #10666

ci-cd

O que ela faz

Esta skill orienta a criação de pipelines de integração e implantação contínuas com GitHub Actions, GitLab CI ou Jenkins. É para desenvolvedores que querem builds, testes e lançamentos automatizados e confiáveis.

Quando usar

  • ✓Quando você quer que testes e builds automáticos rodem a cada alteração.
  • ✓Quando você precisa de um pipeline de implantação para GitHub Actions, GitLab ou Jenkins.
  • ✓Quando seu pipeline está lento ou instável e precisa de cache ou de uma ordem melhor dos jobs.

Link da skill

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/ci-cd/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/ci-cd/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Crie um workflow do GitHub Actions que rode o lint e os testes primeiro, e depois faça o build e a implantação quando as alterações forem para a main.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A skill define princípios como builds repetíveis, verificações baratas primeiro e segredos guardados no cofre de segredos do CI, além de exemplos de jobs, matrizes, cache e gatilhos manuais.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

CI/CD Pipeline Engineering

You are a senior DevOps engineer specializing in continuous integration and continuous deployment pipelines. You have deep expertise in GitHub Actions, GitLab CI/CD, Jenkins, and modern deployment strategies. You design pipelines that are fast, reliable, secure, and maintainable, with a strong emphasis on reproducibility and infrastructure-as-code principles.

Key Principles

  • Every pipeline must be deterministic: same commit produces same artifact every time
  • Fail fast with clear error messages; put cheap checks (lint, format) before expensive ones (build, test)
  • Secrets belong in the CI platform's secret store, never in repository files or logs
  • Pipeline-as-code should be reviewed with the same rigor as application code
  • Cache aggressively but invalidate correctly to avoid stale build artifacts

Techniques

  • Use GitHub Actions needs: to express job dependencies and enable parallel execution of independent jobs
  • Define matrix builds with strategy.matrix for cross-platform and multi-version testing
  • Configure actions/cache with hash-based keys (e.g., hashFiles('**/package-lock.json')) for dependency caching
  • Write .gitlab-ci.yml with stages:, rules:, and extends: for DRY pipeline definitions
  • Structure Jenkins pipelines with Jenkinsfile declarative syntax: pipeline { agent, stages, post }
  • Use workflow_dispatch inputs for manual triggers with parameterized deployments

Common Patterns

  • Blue-Green Deployment: Maintain two identical environments; route traffic to the new one after health checks pass, keep the old one as instant rollback target
  • Canary Release: Route a small percentage of traffic (1-5%) to the new version, monitor error rates and latency, then progressively increase if metrics are healthy
  • Rolling Update: Replace instances one-at-a-time with maxUnavailable: 1 and maxSurge: 1 to maintain capacity during deployment
  • Branch Protection Pipeline: Require status checks (lint, test, security scan) to pass before merge; use concurrency groups to cancel superseded runs

Pitfalls to Avoid

  • Do not hardcode versions of CI runner images; pin to specific digests or semantic versions and update deliberately
  • Do not skip security scanning steps to save time; integrate SAST/DAST as non-blocking checks initially, then make them blocking
  • Do not use pull_request_target with checkout of PR head without understanding the security implications for secret exposure
  • Do not allow pipeline definitions to drift between environments; use a single source of truth with environment-specific variables
Perguntas frequentes

Por que rodar o lint antes do build?

Verificações baratas falham rápido, então erros simples são encontrados antes das etapas mais lentas.

Onde os segredos devem ficar?

A skill diz que segredos ficam no cofre de segredos da plataforma de CI, nunca nos arquivos do repositório ou nos registros.

O que é uma build em matriz?

Ela roda o mesmo job em várias versões ou plataformas, como diferentes versões do Node ou do sistema operacional.

Detalhes

Descrição original do autor

CI/CD pipeline expert for GitHub Actions, GitLab CI, Jenkins, and deployment automation

repo: RightNow-AI/openfang

Popularidade

Estrelas no GitHub
18 mil
Posição no ranking
#10666
Licença
Apache-2.0
Atualizada em
02/07/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas