github-workflows

Create GitHub Actions workflows with triggers, jobs, and caching strategies.

24|6|Updated Nov 15, 2025
One-click install
npx skills add https://github.com/vinnie357/claude-skills --skill github-workflows-vinnie357
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-workflows
Source: https://github.com/vinnie357/claude-skills/tree/main/github/skills/workflows
Command: npx skills add https://github.com/vinnie357/claude-skills --skill github-workflows-vinnie357

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers efficiently write, configure, and optimize GitHub Actions workflows, eliminating common syntax errors and ensuring robust CI/CD pipelines. It simplifies complex automation tasks and reduces the time spent debugging workflow failures.

Core Features & Use Cases

  • Comprehensive Workflow Authoring: Guide through workflow syntax, triggers (push, pull_request, schedule, workflow_dispatch), jobs, steps, and expressions.
  • Advanced CI/CD Patterns: Implement complex pipelines including matrix strategies, job dependencies, artifact management, caching, and monorepo path filtering.
  • Debugging & Optimization: Learn techniques for debugging workflow failures, enabling verbose logging, and optimizing performance for faster, more reliable builds.
  • Use Case: When setting up a new CI/CD pipeline for a monorepo, activate this skill to configure path filtering, matrix testing across multiple OS/Node versions, and artifact caching for efficient builds.

Quick Start

Create a GitHub Actions workflow that runs on every push to the 'main' branch, checks out the code, and runs 'npm test'.

Frequently Asked Questions about github-workflows

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a CI/CD pipeline with GitHub Actions?

GitHub Actions CI/CD pipelines automate testing and deployment by defining workflows in YAML files that trigger on events like pushes or pull requests. Start by creating a .github/workflows directory, add a workflow file, specify triggers and jobs, then commit to activate the pipeline.

What are GitHub Actions triggers and when do I use each one?

GitHub Actions triggers are events that start workflows: push runs on code commits, pull_request on PR creation, schedule runs on a cron timer, and workflow_dispatch enables manual activation. Choose triggers based on when you need automation—push for every commit, schedule for recurring tasks, workflow_dispatch for on-demand runs.

How do I debug GitHub Actions workflow failures?

Debug workflow failures by enabling verbose logging in your runner, reviewing the workflow logs in the Actions tab, and checking job step outputs for error details. Add debugging steps to inspect environment variables and file states before failures occur.

Can I run tests across multiple operating systems and Node versions in GitHub Actions?

Yes, use matrix strategies in GitHub Actions to test across multiple OS and runtime versions simultaneously. Define a matrix object with os and node-version arrays, and Actions generates parallel jobs for each combination, reducing total run time.

How do I optimize GitHub Actions workflows for faster builds?

Optimize workflows by caching dependencies to avoid re-downloading, using artifact management to pass data between jobs, and configuring path filtering in monorepos to run jobs only when relevant files change. These techniques reduce build time and runner costs.

What's the best way to manage artifacts and caching in GitHub Actions?

Use the actions/cache action to cache dependencies like npm packages between runs, and actions/upload-artifact to store build outputs for download or passing to downstream jobs. Both reduce redundant work and speed up pipelines.