@tank/github-actions-cheatsheet

Summarize GitHub Actions workflow syntax and common YAML patterns.

1|1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/tankpkg/packages --skill tank-github-actions-cheatsheet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: @tank/github-actions-cheatsheet
Source: https://github.com/tankpkg/packages/tree/main/skills/github-actions-cheatsheet
Command: npx skills add https://github.com/tankpkg/packages --skill tank-github-actions-cheatsheet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users quickly recall GitHub Actions workflow syntax when they need to write or fix CI/CD YAML under time pressure.

Core Features & Use Cases

  • Fast reference for workflow structure, triggers, jobs, steps, matrices, expressions, contexts, environment variables, secrets, permissions, and concurrency.
  • Practical guidance for reusable workflows, artifacts, outputs, and common CI/CD patterns.
  • Useful when drafting a new workflow, debugging a broken workflow, or translating official documentation into a compact working example.

Quick Start

Ask for a GitHub Actions cheat sheet focused on the workflow syntax, triggers, jobs, matrices, expressions, reusable workflows, and common snippets you need right now.

Frequently Asked Questions about @tank/github-actions-cheatsheet

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

FAQPage Schema
How do I write a GitHub Actions workflow with matrix builds and reusable workflows?

To write a GitHub Actions workflow with matrix builds and reusable workflows, define matrix strategies under jobs and reference reusable workflows using the workflow_call trigger. This Skill provides concise YAML snippets and syntax references to reconstruct valid CI/CD automation patterns quickly.

What is the correct GitHub Actions workflow syntax for triggers, expressions, and contexts?

GitHub Actions workflow syntax for triggers, expressions, and contexts uses specific YAML keys like 'on' for events and '${{ }}' for evaluating expressions. This Skill summarizes official syntax and practical snippets to help you apply contexts and environment variables correctly.

Does GitHub Actions YAML support concurrency and permissions configuration in CI/CD pipelines?

GitHub Actions YAML supports concurrency and permissions configuration in CI/CD pipelines through dedicated workflow and job-level keys. This Skill offers operational guidance and reference coverage for setting these constraints to manage concurrent runs and secure secrets.

How do I debug a broken GitHub Actions workflow under time pressure?

To debug a broken GitHub Actions workflow under time pressure, compare your YAML against official syntax references for jobs, steps, and artifacts. This Skill translates documentation into compact working examples to help you identify and fix invalid workflow structures fast.

Can I use reusable workflows to pass artifacts and outputs between jobs in GitHub Actions?

Reusable workflows in GitHub Actions can pass artifacts and outputs between jobs by defining outputs in the called workflow and mapping them in the caller. This Skill provides practical snippets for configuring artifacts, outputs, and common CI/CD patterns.

What's the best way to reference GitHub Actions environment variables and secrets across jobs?

The best way to reference GitHub Actions environment variables and secrets across jobs is using the 'env' context and the 'secrets' context within your YAML steps. This Skill supplies a cheat sheet covering syntax for securely injecting environment variables and secrets.