본문으로 건너뛰기
cccskills
무료GitHub에 공개

github-ci

When working with GitHub Actions — workflow YAML, quality gates, test matrices, deployment triggers, reusable workflows — even when the user just says 'my CI is failing' or 'add a check'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHub
설치 방법 보기

포함된 파일(2)

  • SKILL.md4.7 KB
  • evals/evals.json1.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

github-ci

When to use

Use this skill when working with GitHub Actions workflows, CI pipeline configuration, or understanding the automated quality and deployment process.

Procedure: Modify CI workflows

  1. Read .github/workflows/ to understand the full pipeline.
  2. Check AGENTS.md for quality tool commands and testing setup.
  3. Read commands/fix/ci.md for CI failure debugging workflow.

Workflow overview

Quality pipeline (quality-tests.yml)

Triggered on: pull_request to main, workflow_dispatch

Read .github/workflows/ to discover the actual job matrix. Common patterns:

  • PHP version is extracted from Dockerfile (ARG PHP_VERSION), not hardcoded.
  • Static analysis may run on larger runners for memory.
  • Tests run in parallel with a matrix strategy per test suite.
  • Branch comparison for dead code and API docs.

Deployment workflows

WorkflowTriggerEnvironment
deploy-review.yamlPR with review-env labelReview (ephemeral)
deploy-sta.yamlPush to mainStage
deploy-pro.yamlTag release-X.Y.Z or schedule (Mon 8AM)Production
deploy.ymlAfter "Static Code Analysis" succeeds on mainEnvoyer trigger
module-deploy.yamlReusable workflow (called by others)Parameterized

Other workflows

WorkflowPurpose
pr-review-gate.yamlPoints-based review system (see code-review skill)
destroy-review.yamlCleanup ephemeral review environments
add-labels.ymlAuto-label PRs
apply-pr-template.yamlApply PR description template
validate-deployment-files.yamlValidate AWS deployment configs
template-db-dump.yamlDatabase dump utility

Conventions

Workflow structure

  • Use pinned action versions with SHA hashes (not tags): actions/checkout@<sha> # v6.0.2
  • Use concurrency groups to prevent duplicate runs: group: ${{ github.workflow }}-${{ github.ref }}
  • Use fail-fast: false in matrix strategies for independent job execution.
  • Extract shared logic into reusable workflows (module-deploy.yaml pattern).
  • A job with container: MUST run git config --global --add safe.directory "$GITHUB_WORKSPACE" immediately after actions/checkout — the checkout is owned by a different UID than the container user, so without it every git-backed step dies with fatal: detected dubious ownership.

Composer auth

Every workflow that installs dependencies needs:

  1. COMPOSER_AUTH secret validation (check if set, validate JSON).
  2. Fallback handling if auth is missing or masked.

PHP version

  • Never hardcode the PHP version in workflows.
  • Always extract from Dockerfile: awk -F= '/^ARG PHP_VERSION/ {print $2}' .docker/Dockerfile
  • Pass via job outputs to dependent jobs.

Runners

Check .github/workflows/ for the runner types used. Common patterns:

  • Standard runners (ubuntu-latest) for light jobs.
  • Larger or custom runners for heavy jobs (static analysis, tests).
  • ARM runners if the project deploys to ARM-based infrastructure.

Environment variables

  • Use env: at job level for shared secrets.
  • Use $GITHUB_OUTPUT for passing data between steps.
  • Use $GITHUB_ENV for variables needed across multiple steps.

Debugging CI failures

  1. Get the failing run: GET /repos/{owner}/{repo}/actions/runs?branch={branch}
  2. Get failed jobs: GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs
  3. Get logs: GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs
  4. Fix locally, verify in container, then push.

See commands/fix/ci.md for the full debugging workflow.

Output format

  1. Modified workflow YAML file(s) in .github/workflows/
  2. Summary of pipeline changes and affected triggers

Auto-trigger keywords

  • GitHub Actions
  • CI/CD
  • workflow
  • pipeline
  • quality checks

Gotcha

  • CI workflows run on Ubuntu, not macOS — don't assume macOS-specific tools are available.
  • The model forgets to add --env=testing to artisan commands in CI — tests will hit the wrong database.
  • Secret names are case-sensitive in GitHub Actions — double-check the casing.
  • Don't add continue-on-error: true to hide failures — fix the actual error.

Do NOT

  • Do NOT use unpinned action versions (e.g., actions/checkout@v4).
  • Do NOT hardcode PHP versions — always extract from Dockerfile.
  • Do NOT add new secrets without documenting them.
  • Do NOT change runner types without considering cost and architecture (ARM vs x86).

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 21일 업데이트

Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 21일 업데이트

Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 21일 업데이트

Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 21일 업데이트

Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 21일 업데이트

Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 21일 업데이트

event4u-app의 스킬 모두 보기

이 스킬의 문제 신고