agentleFS
thomashartmthomashartm/dev-claude-skills/skills/github-actions/SKILL.md

github-actions

Skill1 starsChanged 11 months agoMITView on GitHub

Manage GitHub Actions workflows. Use when the user wants to list workflows, view run history, check running workflows, trigger workflow_dispatch, view logs, or cancel runs. Auto-detects repository from git remote. Triggers on phrases like "list workflows", "workflow runs", "trigger workflow", "start deploy", "github actions", "view logs", "cancel run", "running workflows".

37 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use react-native-brownfield-migration, upgrading-react-native and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • maikotrindadeSkill

    react-native-brownfield-migration

    Provides an incremental adoption strategy to migrate native iOS or Android apps to React Native or Expo using @callstack/react-native-brownfield for initial setup. Use when planning migration steps, packaging XCFramework/AAR artifacts, and integrating them into host apps.

    Also in 4 projects that use this

  • maikotrindadeSkill

    upgrading-react-native

    Upgrades React Native apps to newer versions by applying rn-diff-purge template diffs, updating package.json dependencies, migrating native iOS and Android configuration, resolving CocoaPods and Gradle changes, and handling breaking API updates. Use when upgrading React Native, bumping RN version, updating from RN 0.x to 0.y, or migrating Expo SDK alongside a React Native upgrade.

    Also in 3 projects that use this

  • ihiteshguptaSkill

    terraform

    Expert in Infrastructure as Code with Terraform. Use for creating, managing, and versioning infrastructure across cloud providers.

    Also in 4 projects that use this

  • NVIDIASkill

    github

    Interact with GitHub using the gh CLI restricted to REST API only (no GraphQL). Use when the user wants to work with GitHub issues, pull requests, repos, releases, or Actions — especially in sandboxed environments where the GraphQL endpoint may be blocked. Trigger keywords - github, gh, pull request, PR, github issue, github actions, workflow, release, gh api.

    Also in 5 projects that use this

  • akornmeierSkill

    docker

    Guide for using Docker - a containerization platform for building, running, and deploying applications in isolated containers. Use when containerizing applications, creating Dockerfiles, working with Docker Compose, managing images/containers, configuring networking and storage, optimizing builds, deploying to production, or implementing CI/CD pipelines with Docker.

    Also in 3 projects that use this

  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 30 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before running any command, you MUST confirm the repository with the user:

    line 31
  2. Distinctive:

    Before triggering, ask the user their preference:

    line 77
  3. Very specific:

    When viewing logs, first run with --list-jobs to show available jobs, then ask the user if they want all logs or a specific job.

    line 98
  4. Distinctive:

    Always confirm the repository on first use in a session

    line 129
  5. Very specific:

    Use --repo owner/repo to override auto-detected repository

    line 132

“Common” is measured: kept by at least 6 in 10 of the 30 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

GitHub Actions Management

Manage GitHub Actions workflows: list workflows, view runs, trigger dispatches, view logs, and cancel runs.

Prerequisites

Requires authenticated gh CLI and jq. Use the unified gh-actions-tool script for all operations.

Quick Reference

gh-actions-tool auth                         # Verify auth & show detected repo
gh-actions-tool list                         # List all workflows
gh-actions-tool details <workflow>           # Show workflow details & inputs
gh-actions-tool runs [workflow]              # Show recent runs
gh-actions-tool running                      # Show in-progress runs
gh-actions-tool start <workflow> [opts]      # Trigger workflow_dispatch
gh-actions-tool logs <run-id> [--job name]   # View run logs
gh-actions-tool cancel <run-id>              # Cancel a run

Workflow

1. Confirm Repository Context (REQUIRED - First Command)

Before running any command, you MUST confirm the repository with the user:

gh-actions-tool auth

This shows the detected repository. Ask the user to confirm this is the correct repository before proceeding. Example:

"I detected the repository as owner/repo. Is this correct, or would you like me to use a different repository?"

Once confirmed, you do not need to ask again for the session.

If authentication fails, tell user to run:

gh auth login

If targeting a different repository, use --repo owner/repo on all commands.

2. Operations

List workflows:

gh-actions-tool list

View workflow details (shows triggers, inputs, jobs):

gh-actions-tool details "CI Build"
gh-actions-tool details deploy.yml

View run history:

gh-actions-tool runs                    # All runs
gh-actions-tool runs "Deploy"           # Filter by workflow
gh-actions-tool runs --limit 20         # More results

Check running workflows:

gh-actions-tool running

Trigger a workflow:

Before triggering, ask the user their preference:

"Would you like to provide inputs via command-line flags (--input KEY=VALUE) or use interactive mode where I'll prompt you for each input?"

Flag mode:

gh-actions-tool start "Deploy" --ref main
gh-actions-tool start "Deploy" --input environment=prod --input version=1.2.3

Interactive mode:

gh-actions-tool start "Deploy" --interactive

View logs:

gh-actions-tool logs 12345678                    # All logs
gh-actions-tool logs 12345678 --list-jobs        # List available jobs first
gh-actions-tool logs 12345678 --job "build"      # Specific job only

When viewing logs, first run with --list-jobs to show available jobs, then ask the user if they want all logs or a specific job.

Cancel a run:

gh-actions-tool cancel 12345678

Error Handling

ErrorUser Action
Not authenticatedgh auth login
Repository not detectedUse --repo owner/repo or cd to a git repo
Workflow not foundCheck workflow name with gh-actions-tool list
No workflow_dispatchWorkflow doesn't support manual triggers
Permission deniedNeed write access to trigger/cancel

Run Statuses

StatusIconDescription
success✅Completed successfully
failure❌Failed
in_progress🔄Currently running
queued⏳Waiting to run
cancelled🚫Manually cancelled
skipped⏭️Skipped (condition not met)
timed_out⏱️Exceeded time limit

Important Notes

  • Always confirm the repository on first use in a session
  • For start command: Ask user preference for input method (flags vs interactive)
  • For logs command: List jobs first, then ask which job's logs to show
  • Use --repo owner/repo to override auto-detected repository

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.