writing-github-actions

Creates GitHub Actions workflows for CI/CD pipelines and reusable components.

9|2|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/hongmaple0820/agent-academy --skill writing-github-actions-hongmaple0820
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-github-actions
Source: https://github.com/hongmaple0820/agent-academy/tree/main/skills/development/writing-github-actions
Command: npx skills add https://github.com/hongmaple0820/agent-academy --skill writing-github-actions-hongmaple0820

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

GitHub Actions workflows often become large and hard to maintain, leading to inconsistent CI/CD practices and security risks. This Skill provides a structured approach to authoring robust workflows, leveraging reusable workflows, composite actions, and best-practice patterns for caching, permissions, and security.

Core Features & Use Cases

  • Workflow syntax mastery: write clear, correct YAML for triggers, jobs, steps, and permissions.
  • Reusable patterns: design reusable workflows and composite actions to standardize across repositories.
  • Security and reliability: apply best practices for caching, OIDC, environment protection, and minimal permissions.
  • Real-world applicability: used for CI/CD pipelines, cross-repo automation, and scalable workflow orchestration.

Quick Start

Create a minimal workflow that checks out the code, sets up Node, and runs tests.

Frequently Asked Questions about writing-github-actions

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

FAQPage Schema
How do I create reusable GitHub Actions workflows to standardize CI/CD pipelines?

Create reusable workflows by defining the `workflow_call` trigger in your YAML file. This standardizes CI/CD pipelines across repositories, allowing you to pass inputs and secrets while maintaining consistent automation practices.

What are the best practices for GitHub Actions security and permissions?

GitHub Actions security best practices involve applying minimal permissions, configuring OIDC for cloud authentication, and utilizing environment protection rules. This limits exposure and secures your CI/CD pipelines against unauthorized access or malicious injection.

How do I configure caching in GitHub Actions workflows?

Configure caching in GitHub Actions workflows by using the built-in cache actions or action syntax within your job steps. Caching dependencies and build outputs speeds up workflow execution and improves CI/CD reliability across runs.

How do I write a composite action for GitHub Actions?

Write a composite action by creating an `action.yml` file that groups multiple workflow steps into a single reusable unit. This simplifies complex YAML job definitions and standardizes automation sequences across different workflows.

Does this Skill help with YAML syntax for GitHub Actions triggers and jobs?

Yes, it handles YAML syntax for GitHub Actions triggers, jobs, steps, and permissions. It ensures your workflow definitions are syntactically correct and properly structured for reliable CI/CD pipeline execution.

When should I use reusable workflows versus composite actions in GitHub Actions?

Use reusable workflows to orchestrate entire CI/CD pipelines across repositories, and use composite actions to bundle multiple steps within a single job. Reusable workflows manage broader scale, while composite actions standardize granular tasks.