Skip to main content
Alison Aquinas logoAlison's LLM Skills Marketplace

github-ci

Included in skill bundleci-cdView on GitHub ↗

Files

SKILL.mdagentsreferences

Install

Install only this skill with npx skills
npx skills add alisonaquinas/llm-ci-dev --skill 'github-ci' -g -y
Install the containing skill bundle
/plugin install ci-cd@llm-skills
Download github-ci-skill.zip
This skill is bundled inside ci-cd. Use npx skills when you only want this skill, or install the bundle once to make every included skill available through the plugin marketplace flow. Browse the full skill bundle repository at github.com/alisonaquinas/llm-ci-dev.

Invoke

Invoke this skill after installation
/ci-cd:github-ci

SKILL.md


name: github-ci description: > Write and maintain GitHub Actions CI workflows. Design, test, and deploy CI pipelines using GitHub's native workflow automation.

GitHub CI

Write and maintain GitHub Actions CI workflows with confidence. This skill covers workflow design, runner configuration, testing patterns, and security best practices for continuous integration pipelines on GitHub.


Intent Router

Load reference files for depth on specific topics:

TopicFileLoad when...
Workflow Basicsreferences/workflow-basics.mdLearning workflow YAML structure, triggers, jobs, and built-in actions
Runners & Cachingreferences/runners-and-caching.mdConfiguring runners, setting up caching, or optimizing build performance
Testing Patternsreferences/testing-patterns.mdImplementing test runs, reporting results, or integrating coverage tools
Security & Secretsreferences/security-and-secrets.mdManaging secrets, permissions, and third-party action safety

Quick Start

Basic GitHub Actions Workflow

  1. Create workflow file — Save as .github/workflows/ci.yml in repository root
  2. Define triggers — Use on: to specify when workflow runs (push, pull_request, schedule)
  3. Configure job — Define jobs with name, runner type, and steps
  4. Add checkout — Use actions/checkout@v4 to access repository code
  5. Run commands — Add steps with run: or use community actions

Minimal Workflow

name: CI

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: echo "Running CI pipeline"

Workflow Anatomy

workflow
├── name: Display name
├── on: Trigger events (push, pull_request, schedule, workflow_dispatch)
├── env: Workflow-level environment variables
└── jobs:
    └── <job-name>:
        ├── runs-on: Runner type (ubuntu-latest, windows-latest, macos-latest)
        ├── env: Job-level environment variables
        ├── strategy: Matrix, fail-fast, max-parallel settings
        └── steps:
            ├── uses: Pre-built action
            └── run: Shell command or script

File Location

All workflows must be in .github/workflows/ directory with .yml or .yaml extension. Use kebab-case for filenames: build-and-test.yml, deploy-production.yml.

Quick Validation

Validate YAML syntax before pushing by using the yaml-linting skill:

docker run --rm -v "$(pwd):/data" pipelinecomponents/yamllint yamllint /data/.github/workflows/

Related Skills

  • yaml-linting — Validate workflow YAML syntax and style
  • yaml-lsp — Enable YAML editor support for workflow files
  • ci-architecture — Plan multi-stage CI/CD pipelines
  • github-docs — Reference official GitHub Actions documentation

← Back to marketplace