/acc:create-github-actionsfrom acc
Generates GitHub Actions workflows for PHP projects with CI/CD pipelines including PHPStan, PHPUnit, code coverage, Docker builds, and deployment stages.
Ships in acc. 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.
Generates optimized GitHub Actions workflows for PHP projects.
.github/
└── workflows/
├── ci.yml # Main CI pipeline
├── security.yml # Security scanning
└── deploy.yml # Deployment workflow
ci.yml)4-stage pipeline with dependency caching and parallel execution:
| Stage | Jobs | Purpose |
|---|---|---|
| 1. Install | install | Composer install, upload vendor artifact |
| 2. Analysis | phpstan, psalm, cs-fixer, deptrac | Static analysis (parallel) |
| 3. Tests | test-unit, test-integration | PHPUnit with coverage upload |
| 4. Build | build | Docker image build and push (main/tags only) |
Key features:
actions/cache@v4actions/upload-artifact@v4security.yml)Triggers: push to main, PRs, weekly schedule (Monday).
| Job | Tool | Purpose |
|---|---|---|
dependency-audit | composer audit | Known vulnerability check |
psalm-security | Psalm taint analysis | Data flow security |
trivy | Trivy + SARIF | Container image scanning |
deploy.yml)Triggers: version tags (v*), manual workflow_dispatch.
| Job | Condition | Environment |
|---|---|---|
deploy-staging | Push or manual staging | staging |
deploy-production | Tags or manual production | production |
Features: environment protection rules, health checks, sequential staging-then-production.
Cross-version testing pattern for libraries:
| Dimension | Values |
|---|---|
| PHP versions | 8.2, 8.3, 8.4 |
| Dependencies | lowest, highest |
| Coverage | Only on PHP 8.4 + highest |
Uses fail-fast: false to run all combinations.
Analyze project:
composer.json for tools (phpstan, psalm, php-cs-fixer, deptrac).github/workflows/ directoryGenerate appropriate workflows:
Customize based on:
composer.json require.phpAll workflows go in .github/workflows/:
| File | When Generated |
|---|---|
ci.yml | Always |
security.yml | When security tools detected or requested |
deploy.yml | When deployment infrastructure detected |
ci.yml, security.yml)test-unit, deploy-staging)Run PHPStan, Upload coverage)PHP_VERSION, COMPOSER_ARGS)| Template | Lines | Key Actions Used |
|---|---|---|
| CI Pipeline | ~270 | checkout@v4, setup-php@v2, cache@v4, upload-artifact@v4, codecov-action@v4, build-push-action@v5 |
| Security | ~70 | checkout@v4, setup-php@v2, trivy-action, upload-sarif |
| Deploy | ~70 | checkout@v4, environments, health checks |
| Matrix | ~30 | setup-php@v2, strategy matrix |
Provide:
composer.jsonThe generator will:
references/templates.md — Full YAML workflow templates (CI, Security, Deploy, Matrix)references/examples.md — Concrete usage examples (minimal CI, multi-service, caching, artifacts, deployment)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
283 skills in this plugin
/access-control-knowledgeAccess Control knowledge base. Provides ACL, RBAC, ABAC, ReBAC models, multi-tenancy patterns, and PHP implementations (Symfony Voters, Laravel Gates) for security audits and generation./adr-knowledgeAction-Domain-Responder pattern knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for ADR (web-specific MVC alternative) audits./adr-templateGenerates Architecture Decision Records (ADR) for PHP projects. Creates structured decision documentation with context, decision, and consequences.npx claudepluginhub dykyi-roman/awesome-claude-code --plugin accOther plugins' skills for the same job