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

ci-cd-pipeline-builder

하는 일

저장소 파일을 살펴 언어와 도구를 감지한 다음, GitHub Actions나 GitLab CI용 기본 파이프라인을 만듭니다. 자동 점검을 설정하거나 바꾸는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓새 저장소에 자동 테스트와 빌드를 설정할 때.
  • ✓현재 파이프라인 파일이 깨지기 쉽거나 다른 프로젝트에서 복사한 것일 때.
  • ✓파이프라인을 GitHub Actions와 GitLab CI 사이에서 옮기고 싶을 때.

스킬 링크

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/ci-cd-pipeline-builder/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“이 저장소를 위해 린트, 테스트, 빌드를 실행하는 GitHub Actions 파이프라인이 필요해요.”

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

작동 방식

에이전트는 잠금 파일과 빌드 설정 같은 파일로 프로젝트 스택을 감지한 뒤, 린트, 테스트, 빌드, 배포 단계를 생성하고 스택에 맞는 캐싱을 적용합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

CI/CD Pipeline Builder

Tier: POWERFUL
Category: Engineering
Domain: DevOps / Automation

Overview

Use this skill to generate pragmatic CI/CD pipelines from detected project stack signals, not guesswork. It focuses on fast baseline generation, repeatable checks, and environment-aware deployment stages.

Core Capabilities

  • Detect language/runtime/tooling from repository files
  • Recommend CI stages (lint, test, build, deploy)
  • Generate GitHub Actions or GitLab CI starter pipelines
  • Include caching and matrix strategy based on detected stack
  • Emit machine-readable detection output for automation
  • Keep pipeline logic aligned with project lockfiles and build commands

When to Use

  • Bootstrapping CI for a new repository
  • Replacing brittle copied pipeline files
  • Migrating between GitHub Actions and GitLab CI
  • Auditing whether pipeline steps match actual stack
  • Creating a reproducible baseline before custom hardening

Key Workflows

1. Detect Stack

python3 scripts/stack_detector.py --repo . --format text
python3 scripts/stack_detector.py --repo . --format json > detected-stack.json

Supports input via stdin or --input file for offline analysis payloads.

2. Generate Pipeline From Detection

python3 scripts/pipeline_generator.py \
  --input detected-stack.json \
  --platform github \
  --output .github/workflows/ci.yml \
  --format text

Or end-to-end from repo directly:

python3 scripts/pipeline_generator.py --repo . --platform gitlab --output .gitlab-ci.yml

3. Validate Before Merge

  1. Confirm commands exist in project (test, lint, build).
  2. Run generated pipeline locally where possible.
  3. Ensure required secrets/env vars are documented.
  4. Keep deploy jobs gated by protected branches/environments.

4. Add Deployment Stages Safely

  • Start with CI-only (lint/test/build).
  • Add staging deploy with explicit environment context.
  • Add production deploy with manual gate/approval.
  • Keep rollout/rollback commands explicit and auditable.

Script Interfaces

  • python3 scripts/stack_detector.py --help
    • Detects stack signals from repository files
    • Reads optional JSON input from stdin/--input
  • python3 scripts/pipeline_generator.py --help
    • Generates GitHub/GitLab YAML from detection payload
    • Writes to stdout or --output

References

자주 묻는 질문

어떤 플랫폼을 지원하나요?

GitHub Actions와 GitLab CI를 지원합니다.

내 프로젝트가 무엇을 쓰는지 어떻게 아나요?

감지 스크립트가 잠금 파일과 빌드 설정 같은 저장소 파일을 읽습니다.

파이프라인이 운영에 바로 쓸 수 있나요?

기본 골격이므로, 나중에 필요하면 맞춤 보강을 추가할 수 있습니다.

상세 정보

작성자의 원본 설명

Use when setting up or refactoring CI/CD for a repo, before writing workflow YAML. Detects the stack with stack_detector.py and generates the pipeline with pipeline_generator.py.

repo: alirezarezvani/claude-skills

인기도

GitHub 스타
29k
순위
#9579
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬