Saltar al contenido
Skillpedia
Deploy y nube (DevOps)18 mil · #10666

ci-cd

Qué hace

Esta skill guía la creación de pipelines de integración y despliegue continuos con GitHub Actions, GitLab CI o Jenkins. Está pensada para desarrolladores que quieren compilaciones, pruebas y publicaciones automatizadas y fiables.

Cuándo usarla

  • ✓Cuando quieres que las pruebas y las compilaciones automatizadas se ejecuten con cada cambio.
  • ✓Cuando necesitas un pipeline de despliegue para GitHub Actions, GitLab o Jenkins.
  • ✓Cuando tu pipeline va lento o falla de forma intermitente y necesita caché o un mejor orden de trabajos.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/ci-cd/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Crea un flujo de trabajo de GitHub Actions que ejecute primero el linter y las pruebas, y luego compile y despliegue cuando los cambios se fusionen en main.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La skill establece principios como compilaciones repetibles, comprobaciones baratas primero y secretos guardados en el almacén de secretos del CI, además de ejemplos de trabajos, matrices, caché y disparadores manuales.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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
Preguntas frecuentes

¿Por qué ejecutar el linter antes de la compilación?

Las comprobaciones baratas fallan rápido, así que los errores simples se detectan antes de ejecutar los pasos más lentos.

¿Dónde van los secretos?

La skill indica que los secretos deben estar en el almacén de secretos de la plataforma de CI, nunca en los archivos del repositorio ni en los registros.

¿Qué es una compilación en matriz?

Ejecuta el mismo trabajo en varias versiones o plataformas, como distintas versiones de Node o de sistema operativo.

Detalles

Descripción original del autor

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

repo: RightNow-AI/openfang

Popularidad

Estrellas en GitHub
18 mil
Posición en el ranking
#10666
Licencia
Apache-2.0
Actualizada
2/7/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas