docs: add agent skill for running workflows locally with act - #6155
Open
gdevenyi wants to merge 3 commits into
Open
docs: add agent skill for running workflows locally with act#6155gdevenyi wants to merge 3 commits into
gdevenyi wants to merge 3 commits into
Conversation
Adds a Claude Code / agent skill at .claude/skills/act/SKILL.md, alongside the existing CLAUDE.md, so coding agents working in any checkout that installs it know how to scout, run, and debug workflows with act - and the gotchas that act --help does not cover (runner image gaps, first-run image prompt, .actrc, ACT=true detection, artifact server). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Dye4h9PhFEjURQvp6CyQXy
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Dye4h9PhFEjURQvp6CyQXy
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Dye4h9PhFEjURQvp6CyQXy
There was a problem hiding this comment.
Pull request overview
This PR adds a new Claude/agent skill document to help coding agents use act to run and debug GitHub Actions workflows locally, capturing common workflow steps and local-run “gotchas” that aren’t obvious from act --help.
Changes:
- Add
.claude/skills/act/SKILL.mdwith a concise “how to run” workflow foract(scouting, narrowing, secrets/inputs, verbosity). - Document common local pitfalls (runner image differences, first-run image prompt,
.actrc,ACT=true, artifact/cache servers, and--bindbehavior).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an agent skill at
skills/act/SKILL.mdso coding agents (Claude Code and compatible tools) know how to useactto run and debug GitHub Actions workflows locally. Theskills/location lets users install it into any project with the skills CLI:npx skills add nektos/act.The skill deliberately stays small:
act --helpremains the authoritative flag reference, and the file only carries the run workflow (scout with-l/-n, narrow with-j/-W/--matrix, supply secrets/inputs/event payloads) plus the gotchas--helpdoes not cover — runner image gaps vs GitHub's hosted images, the first-run image prompt in non-interactive sessions,.actrc,ACT=truedetection, the artifact server, and--bindwriting into the host checkout.Motivation
Agents asked to "reproduce this CI failure locally" routinely stumble on the same act-specific traps (missing tools in the medium image, no artifact server, the interactive first-run prompt). Shipping the skill in-repo gives every act user's agent the same tribal knowledge.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Dye4h9PhFEjURQvp6CyQXy