github-actions-templates

Create GitHub Actions workflows for testing, building, and deploying applications.

1|Updated May 10, 2026
One-click install
npx skills add https://github.com/Tgoldi/claude-skills --skill github-actions-templates-tgoldi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-actions-templates
Source: https://github.com/Tgoldi/claude-skills/tree/main/github-actions-templates
Command: npx skills add https://github.com/Tgoldi/claude-skills --skill github-actions-templates-tgoldi

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Setting up CI/CD pipelines from scratch is error-prone and time-consuming, requiring knowledge of YAML syntax, action versions, caching strategies, and security best practices. This Skill provides ready-to-adapt GitHub Actions workflow patterns so you can automate testing, building, and deployment without starting from a blank file. ## Core Features & Use Cases - Workflow Templates: Pre-built patterns for test automation, Docker image builds, Kubernetes deployments, matrix builds, and security scanning. - Best Practices Built In: Pinned action versions, dependency caching, secrets handling, environment approvals, and reusable workflow composition. - Use Case: You need to set up CI for a Node.js project that runs tests across Node 18 and 20, builds a Docker image, pushes it to GHCR, and deploys to an EKS cluster on merge to main. This Skill gives you each workflow pattern to assemble that pipeline. ## Quick Start Ask the assistant to create a GitHub Actions workflow that runs tests on pull requests and deploys a Docker image to production on tagged releases.

Frequently Asked Questions about github-actions-templates

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

FAQPage Schema
How do I create a GitHub Actions workflow for automated testing?

Define a workflow triggered on push and pull_request events, then use actions/checkout and actions/setup-node with a matrix of Node versions. Run npm ci, lint, and test steps, and optionally upload coverage with codecov/codecov-action.

How to build and push Docker images in GitHub Actions?

Use docker/login-action to authenticate to a registry like GHCR, docker/metadata-action to generate tags from branches and semver tags, and docker/build-push-action with GitHub Actions cache for layer caching.

Can GitHub Actions deploy to a Kubernetes cluster?

Yes. Configure cloud credentials with an action like aws-actions/configure-aws-credentials, update kubeconfig for your cluster, then run kubectl apply and kubectl rollout status to deploy and verify the rollout.

What are reusable workflows in GitHub Actions?

Reusable workflows are workflow files triggered by the workflow_call event that accept inputs and secrets. Other workflows invoke them with the uses keyword, letting you centralize common CI logic like test jobs across repositories.

Why should I pin GitHub Actions to specific versions?

Pinning actions to major versions like @v4 instead of @latest prevents unexpected breaking changes when upstream actions release updates. It makes builds reproducible and reduces supply-chain risk from unreviewed changes.

When should I not use GitHub Actions for CI/CD?

If your organization is standardized on another platform like GitLab CI or Jenkins, or you need self-hosted runners with specialized hardware not supported by GitHub, a different CI system may fit better.