Source profileQuality 91/100

event4u-app/agent-config/src/skills/github-ci/SKILL.md

github-ci

Use 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'.

Source repository stars
7
Declared platforms
0
Static risk flags
0
Last source update
2026-07-28
Source checked
2026-07-28

Decision brief

What it does—and where it fits

Use 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'.

Best for

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

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/github-ci"
Safe inspection promptEditorial

Inspect the Agent Skill "github-ci" from https://github.com/event4u-app/agent-config/blob/0adf49a8ae84b0ff6e2de8759eea43257e020eff/src/skills/github-ci/SKILL.md at commit 0adf49a8ae84b0ff6e2de8759eea43257e020eff. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    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.

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

    Workflow overview

    Triggered on: pullrequest to main, workflowdispatch

    PHP version is extracted from Dockerfile (ARG PHPVERSION), not hardcoded.Static analysis may run on larger runners for memory.Tests run in parallel with a matrix strategy per test suite.
  3. 03

    Workflow structure

    Use pinned action versions with SHA hashes (not tags): actions/checkout@ v6.0.2

    Use pinned action versions with SHA hashes (not tags): actions/checkout@ v6.0.2Use concurrency groups to prevent duplicate runs: group: ${{ github.workflow }}-${{ github.ref }}Use fail-fast: false in matrix strategies for independent job execution.
  4. 04

    When to use

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

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

    Quality pipeline (quality-tests.yml)

    Triggered on: pullrequest to main, workflowdispatch

    PHP version is extracted from Dockerfile (ARG PHPVERSION), not hardcoded.Static analysis may run on larger runners for memory.Tests run in parallel with a matrix strategy per test suite.

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score91/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars7SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
event4u-app/agent-config
Skill path
src/skills/github-ci/SKILL.md
Commit
0adf49a8ae84b0ff6e2de8759eea43257e020eff
License
MIT
Collected
2026-07-28
Default branch
main
View the original 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).

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).

Alternatives

Compare before choosing