본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)18k · #10666

ci-cd

하는 일

이 스킬은 GitHub Actions, GitLab CI, Jenkins로 지속적 통합과 배포 파이프라인을 만드는 방법을 안내합니다. 안정적인 자동 빌드, 테스트, 릴리스를 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓변경될 때마다 자동 테스트와 빌드가 실행되기를 원할 때.
  • ✓GitHub Actions, GitLab, Jenkins를 위한 배포 파이프라인이 필요할 때.
  • ✓파이프라인이 느리거나 불안정해서 캐싱이나 작업 순서를 개선해야 할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/ci-cd/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“먼저 린트와 테스트를 실행하고, 변경 사항이 main에 병합되면 빌드하고 배포하는 GitHub Actions 워크플로를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 반복 가능한 빌드, 저렴한 점검 먼저, CI 비밀 저장소에 보관되는 비밀 정보 같은 원칙을 제시하고, 작업, 매트릭스, 캐싱, 수동 실행 예시를 제공합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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
자주 묻는 질문

왜 빌드 전에 린트를 실행하나요?

저렴한 점검은 빨리 실패하므로, 느린 단계가 돌기 전에 단순한 실수를 찾아낼 수 있습니다.

비밀 정보는 어디에 두나요?

CI 플랫폼의 비밀 저장소에 두어야 하며, 저장소 파일이나 로그에는 절대 두지 않는다고 스킬은 말합니다.

매트릭스 빌드란 무엇인가요?

같은 작업을 여러 버전이나 플랫폼, 예를 들어 다른 Node 버전이나 운영체제에서 실행하는 것입니다.

상세 정보

작성자의 원본 설명

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

repo: RightNow-AI/openfang

인기도

GitHub 스타
18k
순위
#10666
라이선스
Apache-2.0
업데이트
2026. 7. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬