github-actions

Create custom GitHub Actions with JavaScript, Docker, or Composite types.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides developers through creating, configuring, and optimizing custom GitHub Actions, enabling them to extend GitHub's automation capabilities. It addresses challenges in action development, security, and publishing to the Marketplace.

Core Features & Use Cases

  • Custom Action Development: Learn to build JavaScript, Docker, and Composite Actions, defining their metadata, inputs, and outputs.
  • GitHub Actions Toolkit: Utilize @actions/core, @actions/github, and @actions/exec for logging, API interaction, and command execution within actions.
  • Security & Publishing: Implement best practices for token permissions, secret handling, dependency security, and publish actions to the GitHub Marketplace with proper versioning.
  • Use Case: When developing a custom JavaScript action to automate issue labeling, activate this skill to ensure correct action.yml metadata, secure handling of the GITHUB_TOKEN, and proper use of @actions/github for API calls.

Quick Start

Create a new JavaScript GitHub Action that takes a 'name' input and outputs a greeting message.

Frequently Asked Questions about github-actions

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

FAQPage Schema
How do I build a custom GitHub Action for CI/CD automation?

Custom GitHub Actions extend CI/CD workflows using JavaScript, Docker, or Composite formats. Define action metadata in action.yml with inputs and outputs, use @actions/core and @actions/github for logging and API calls, then publish to the Marketplace with proper versioning and security practices for reusable automation across repositories.

What's the best way to handle secrets and token permissions in GitHub Actions?

Secure GitHub Actions by restricting GITHUB_TOKEN permissions to minimum required scopes, storing sensitive data as repository secrets rather than hardcoding, and validating inputs. Use @actions/core masking for sensitive logs and follow least-privilege principles to prevent unauthorized access or credential exposure.

Can I publish my GitHub Action to the Marketplace?

Yes, publish custom actions to the GitHub Marketplace by creating a public repository with action.yml metadata, semantic versioning tags, comprehensive documentation, and security best practices. Marketplace distribution enables other developers to discover and reuse your action across their workflows.

Do I need Docker to create a GitHub Action?

No, GitHub Actions support three formats: JavaScript actions run directly on runners with @actions/toolkit, Docker actions package dependencies in containers, and Composite actions combine existing actions into reusable workflows. Choose based on performance needs and dependency complexity.

How do I automate tasks like issue labeling with a GitHub Action?

Build a JavaScript or Composite action that uses @actions/github to interact with the GitHub API, define inputs for filtering criteria, and execute labeling logic on workflow triggers like issue creation. Secure the GITHUB_TOKEN, test metadata in action.yml, and deploy to your repository or Marketplace.

What are common security pitfalls when developing GitHub Actions?

Avoid hardcoding secrets, validate all user inputs to prevent injection, pin dependencies to specific versions, limit token permissions to necessary scopes, and use approved actions from trusted sources. Regular dependency audits and security scanning prevent supply-chain vulnerabilities in workflows.