/github-actions:parallel-stepsfrom github-actions
Optimizes GitHub Actions workflows by converting sequential steps into parallel execution using background, wait, wait-all, cancel, and parallel keywords. Useful for faster CI/CD jobs.
Ships in github-actions. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
GitHub Actions runs the steps of a job in sequence. The background keywords
change this. The model is the shell: background: true is &, and wait is
wait.
This document obeys ASD-STE100 Simplified Technical English. Write all prose that you add to it in the same style.
Read the workflow file. For each step, find the steps that must complete before it. A step depends on a different step when it reads that step's files, outputs, or services. Done when each step has a list of the steps it depends on. An empty list is permitted.
Change the steps by their role:
parallel block.id and
set background: true. Add a cancel: <id> step after the last step that
uses the service.background: true. Do not add wait.wait: <id> step before it. To wait for all the background steps that came
before, use wait-all in place of wait.Done when each background step has a wait or cancel reference. A side task
with no reader needs neither.
Run jactionlint on the file if the tool
is installed. It supports these keywords, so treat its messages as real. Do not
use actionlint here: it does not support the keywords yet
(rhysd/actionlint#693) and
reports false errors on them. Read the changed workflow again. Make sure that no step reads data
from a background step without a wait between them. Report the steps that stay
in sequence and the reason for each.
| Keyword | Effect |
|---|---|
background: true | Starts the step and continues to the next step immediately. |
wait: <id> | Stops until the referenced steps complete. Accepts one id or a list of ids. |
wait-all: | Stops until all the background steps before this point complete. |
cancel: <id> | Stops the named background step without an error. |
parallel: | Runs a group of steps as background steps, then waits for all of them. |
For the full behavior of each keyword - concurrency limits, output availability, failure rules, and composite-action restrictions - see references/keywords.md.
steps:
- name: Start test server
id: server
run: npm run start
background: true
- name: Run E2E tests
run: npm run e2e
- name: Stop server
cancel: server
steps:
- parallel:
- name: Build the app
run: npm run build
- name: Build the docs
run: npm run docs
- name: Package
run: npm run package
The workflow syntax reference is the source of truth for these keywords. If a keyword does not agree with this document, obey the reference.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/workflow-namesCheck that every GitHub Actions workflow, job, and step has a name, and write the missing ones in imperative, sentence-case style. Use when the user wants workflow names added, reviewed, or tidied, when a run log shows raw run commands or job ids, or when writing a new workflow./yaml-anchorsReplace repeated configuration in a GitHub Actions workflow with YAML anchors and aliases. Use when the user wants a shorter workflow or mentions YAML anchors, or when one workflow repeats the same `env`, `services`, `permissions`, or path filter in more than one job.Other plugins' skills for the same job
npx claudepluginhub staticaland/skills --plugin github-actions