event4u-app/agent-config

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

91Collecting
See how to use itView GitHub source
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/github-ci"

Quick start

Start using it in three steps

Install it or open the source, trigger it with a clear task, then follow the source workflow.

1

Install the Skill

npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/github-ci"
2

Describe the task

Use github-ci to help me with: [describe your task]. Before you begin, tell me what input you need, the steps you will follow, and the expected output.

3

Follow the workflow

No structured workflow was detected; follow the original SKILL.md below.

Continue to the workflow

Direct answers

Answers to review before you install

What is 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'.

Who should use github-ci?

It is relevant to workflows involving Deployment, Testing, Engineering, Operations.

How do you install github-ci?

SkillSignal detected this source-specific command: npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/github-ci". Inspect the repository and command before running it.

Which Agent platforms does it support?

The upstream source does not declare a dedicated Agent platform.

What permissions or risks should you review?

No obvious permission action was detected by the static rules. This is not proof that the Skill is safe.

What are the current evidence limits?

This page combines upstream documentation with deterministic repository, quality, and static-risk signals. It is not described as a manual test or security review.

SkillSignal brief

Decide whether it fits your work first

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

Useful in these contexts

Not yet included in a workflow collection

Core capabilities

DeploymentTestingEngineeringOperations

Distilled from the source

Understand this Skill in one minute

About 3 min · 10 sections

When it is worth using

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

Examples and typical usage

  1. Modified workflow YAML file(s) in .github/workflows/

  2. Summary of pipeline changes and affected triggers

Repository stars
7
Repository forks
1
Quality
91/100
Source repository last pushed

Quality breakdown

Based on traceable docs and repository signals; stars are not treated as quality.

91/100
Documentation24/30
Specificity25/25
Maintenance20/20
Trust signals22/25

Compare before choosing

Related Agent Skills and source variants

These links are selected from shared tasks, functions, stacks, platforms, and same-name variants. Compare the source owner, documentation, permissions, and maintenance signals.

View original Skill.mdThis page is parsed directly from the repository SKILL.md without editorial rewriting. Collected: Jul 28, 2026 · about 3 min

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).
Skill path
src/skills/github-ci/SKILL.md
Commit SHA
0adf49a8ae84
Repository license
MIT
Data collected