github-actions-templates
GitHub Actions 워크플로를 빠르게 구축
CI/CD 워크플로는 작성에 시간이 많이 들고 잘못 구성되기 쉽습니다. 이 스킬은 테스트, 빌드, 배포, 보안 스캔을 위한 검증된 GitHub Actions 템플릿을 제공합니다.
스킬 ZIP 다운로드
Claude에서 업로드
설정 → 기능 → 스킬 → 스킬 업로드로 이동
토글을 켜고 사용 시작
테스트해 보기
"github-actions-templates" 사용 중입니다. Create a matrix build for Python 3.9 to 3.12 on Linux, macOS, and Windows.
예상 결과:
- ubuntu-latest, macos-latest, windows-latest에서 실행
- Python 3.9, 3.10, 3.11, 3.12 테스트
- pip으로 의존성 설치 후 pytest 실행
- push 및 pull request에서 트리거
"github-actions-templates" 사용 중입니다. Create a Docker workflow that pushes to GHCR on version tags.
예상 결과:
- GitHub_TOKEN으로 GitHub Container Registry에 로그인
- Docker metadata action으로 메타데이터 추출
- GitHub Actions 캐시에서 캐시를 가져와 빌드 및 푸시
- 브랜치와 semver 패턴으로 태깅
보안 감사
안전This skill contains only static documentation with YAML workflow examples. All static findings are false positives: the scanner misinterpreted markdown code fences as backtick execution, GitHub Actions secret injection syntax as credential exposure, and YAML version pinning as weak crypto. The skill does not execute code, access files, or make network requests.
위험 요인
🌐 네트워크 접근 (2)
⚙️ 외부 명령어 (25)
📁 파일 시스템 액세스 (1)
🔑 환경 변수 (3)
품질 점수
만들 수 있는 것
CI 기준선 출시
새 리포지토리에 테스트와 린트 워크플로로 시작해 빌드 신뢰성을 유지합니다.
파이프라인 표준화
팀 전반에서 Docker 빌드, 승인, 재사용 가능한 워크플로 템플릿을 재사용합니다.
보안 스캔 추가
Trivy와 Snyk 워크플로 예시를 채택해 취약점을 조기에 발견합니다.
이 프롬프트를 사용해 보세요
Create a GitHub Actions workflow that runs npm ci, lint, and tests on pushes and pull requests using Node 20.
Provide a workflow to build and push a Docker image to GHCR with tags for branches and semver releases.
Draft a workflow that configures AWS credentials and deploys manifests from k8s/ to production.
Create a reusable workflow that accepts node-version input and uses NPM_TOKEN for private installs.
모범 사례
- latest 대신 액션 버전을 고정
- 토큰과 자격 증명에는 시크릿 사용
- 워크플로 권한을 필요한 최소한으로 제한
피하기
- 출처 불명의 미고정 액션 사용
- 워크플로 파일에 자격 증명을 직접 저장
- 승인 게이트 없이 프로덕션에 배포
자주 묻는 질문
호환되는 플랫폼은 무엇인가요?
주요 제한 사항은 무엇인가요?
내 리포지토리에 어떻게 통합하나요?
내 데이터는 안전한가요?
워크플로가 실패하면 어떻게 하나요?
처음부터 작성하는 것과 비교하면 어떤가요?
개발자 세부 정보
작성자
wshobson라이선스
MIT
리포지토리
https://github.com/wshobson/agents/tree/main/plugins/cicd-automation/skills/github-actions-templates참조
main
파일 구조
📄 SKILL.md