skillmds/skillmd/act
Claude Code and agent skill by skillmds/skillmd
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Test GitHub Actions locally using act. Use when debugging workflows locally, testing workflow changes before pushing, or troubleshooting action failures.
Install
npx vskill@latest install skillmds/skillmd/actSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as skillmds/skillmd/act.
act - Local GitHub Actions Testing
Activate when testing GitHub Actions workflows locally, debugging workflow issues, or developing actions without committing to remote repositories. This skill covers act installation, configuration, and usage patterns.
When to Use This Skill
Activate when:
- Testing workflow changes before committing
- Debugging workflow failures locally
- Developing new workflows iteratively
- Validating workflow syntax and logic
- Testing actions with different events
- Running workflows without GitHub runners
- Troubleshooting act-specific issues
Installation
Using mise (Recommended for this project)
The act tool is configured in the github plugin's mise.toml:
Alternative Installation Methods
macOS (Homebrew):
Linux (via script):
From source:
Windows (Chocolatey):
How act Works
act reads workflow files from .github/workflows/ and:
- Determines which actions and jobs to execute
- Pulls or builds required Docker images
- Creates containers matching GitHub's runner environment
- Executes steps in isolated containers
- Provides output matching GitHub Actions format
Key Concept: act uses Docker to simulate GitHub's runner environment locally.
Prerequisites
- Docker: act requires Docker to run workflows
- Workflow files: Valid
.github/workflows/*.ymlfiles in repository
Verify Docker is running:
Basic Usage
List Available Workflows
Run Default Event (push)
Run Specific Events
Dry Run
Event Payloads
Custom Event Data
Create event JSON file:
Use with act:
workflow_dispatch Inputs
Secrets Management
Via Command Line
Via .secrets File
Create .secrets file (add to .gitignore):
Run with secrets file:
Environment Variables
Configuration
.actrc File
Create .actrc in repository root or home directory:
Custom Runner Images
Recommended Images
act supports different image sizes:
Medium images (recommended):
- Better compatibility with GitHub Actions
- More pre-installed tools
- Slower startup but fewer failures
Micro images:
- Faster startup
- Minimal pre-installed tools
- May require additional setup
Environment Variables
Via .env File
Create .env file:
Use with act:
Via Command Line
Advanced Usage
Bind Workspace
Mount local directory into container:
Reuse Containers
Keep containers between runs for faster execution:
Specific Platforms
Container Architecture
Network Configuration
Artifact Server
Debugging
Verbose Output
Watch Mode
Interactive Shell
Container Inspection
Limitations and Differences
Not Supported by act
- Some GitHub-hosted runner features
- GitHub Apps and installations
- OIDC token generation
- Some GitHub API interactions
- Certain cache implementations
- Job summaries and annotations (limited)
Workarounds
Missing tools:
GitHub API calls:
Common Patterns
Testing Pull Request Workflow
CI/CD Pipeline Testing
Matrix Testing
Workflow Development Cycle
Troubleshooting
Docker Issues
Error: Cannot connect to Docker daemon
Error: Permission denied
Image Pull Issues
Error: Failed to pull image
Workflow Not Found
Error: No workflows found
Secret Issues
Error: Secret not found
Action Failures
Error: Action not found or fails
Platform Differences
Error: Command not found
Best Practices
.actrc Configuration
Create .actrc in repository:
.gitignore Entries
Conditional Logic for Local Testing
Fast Feedback Loop
Integration with Development Workflow
Pre-commit Testing
Quick Validation
CI Parity
Scripts and Automation
Installation Script
The plugin includes an installation script at scripts/install-act.sh:
Run with:
Anti-Fabrication Requirements
- Execute
act --versionbefore documenting version numbers - Use
act -lto verify actual workflows before claiming their presence - Execute
docker psto confirm Docker is running before troubleshooting - Run
act -nto validate workflow syntax before claiming correctness - Execute actual
actcommands to verify behavior before documenting output format - Use
docker imagesto verify available images before recommending specific versions - Never claim success rates or performance metrics without actual measurement
- Execute
act -vto observe actual error messages before documenting troubleshooting steps - Use Read tool to verify workflow files exist before testing them with act
- Run actual event payloads through act before claiming they work correctly
Security
- Security scanPassed, 90 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/testing-quality/skills/act/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/skillmds/skillmd/act)