thebushidocollective/han/act-local-testing
Claude Code and agent skill by thebushidocollective/han
- community
Checking that the SKILL.md file is still in the repository.
Use when testing GitHub Actions workflows locally with act. Covers act CLI usage, Docker configuration, debugging workflows, and troubleshooting common issues when running workflows on your local machine.
Install
npx vskill@latest install thebushidocollective/han/act-local-testingSKILL.md
Act - Local Workflow Testing
Use this skill when testing GitHub Actions workflows locally with act. This covers act CLI commands, Docker setup, debugging, and best practices for fast local iteration on CI/CD workflows.
Installation
macOS
Linux
Windows
From Source
Basic Usage
Run All Workflows
Run Specific Events
Run Specific Workflows
List Available Workflows
Validation and Dry Runs
Dry Run
Graph Visualization
Docker Configuration
Default Runners
Act uses Docker images to simulate GitHub's runners:
Custom Platform Images
Create .actrc file in project root:
Or use command line:
Reusing Docker Containers
Secrets Management
Using .secrets File
Create .secrets in project root:
Add to .gitignore:
Run with secrets:
Inline Secrets
Environment-Specific Secrets
Environment Variables
Setting Variables
Using .env File
Create .env file:
Run with env file:
GitHub Context Variables
Act automatically sets these:
Debugging
Verbose Output
Step-by-Step Execution
Inspect Containers
Bind Mount Local Files
Common Workflows
Test Before Push
Iterative Development
Matrix Testing
Troubleshooting
Docker Issues
Permission Issues
Missing Tools
Workflow Not Found
Action Compatibility
Some actions don't work with act:
Best Practices
DO
✅ Use act --dryrun before running full workflows ✅ Create .actrc for consistent configuration ✅ Use .secrets file and add it to .gitignore ✅ Use --reuse for faster iteration ✅ Test workflows locally before pushing ✅ Use appropriate image sizes for your needs ✅ Document act usage in README
DON'T
❌ Commit .secrets or .env files ❌ Use latest Docker tags in production ❌ Skip validation with --dryrun ❌ Run act without understanding what it will do ❌ Ignore Docker disk space usage ❌ Assume all actions work perfectly with act
Configuration Files
.actrc
.github/workflows/.actrc
Project-specific overrides in workflows directory.
CI/CD Integration
Pre-Push Hook
.git/hooks/pre-push:
Make Target
Performance Tips
Faster Iteration
Caching
Act respects GitHub Actions caching:
Cache location on host: ~/.cache/act/
Related Skills
- act-workflow-syntax: Creating and structuring workflow files
- act-docker-setup: Configuring Docker for act
- act-advanced-features: Advanced act usage patterns
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/tools/act/skills/act-local-testing/SKILL.md
Popularity
- Repository stars
- 135
- Repository forks
- 15
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 15 Apr 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thebushidocollective/han/act-local-testing)