/laravel-playbook:craft-cifrom laravel-playbook
Crafting a CI pipeline. Five workflows, zero manual gates.
Ships in laravel-playbook. 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.
"If a human has to approve a style fix, the pipeline has already failed."
run-tests.yml -- Matrix testing across PHP/Laravel versions. Triggered on push to PHP files.phpstan.yml -- Static analysis at level 5 with Larastan. --error-format=github for PR annotations.fix-php-code-style-issues.yml -- Laravel Pint auto-fix + auto-commit. No manual style reviews.update-changelog.yml -- Auto-update CHANGELOG.md on release publish.dependabot-auto-merge.yml -- Auto-merge minor/patch dependency updates.prefer-lowest, prefer-stable). Map Testbench versions via include. fail-fast: false. timeout-minutes: 5.checkOctaneCompatibility: true, checkModelProperties: true. The baseline file means existing codebases can adopt PHPStan without fixing everything first. Level 5 is the sweet spot -- strict enough to catch real bugs, lenient enough not to fight you on every line.cancel-in-progress: true on every workflow. New pushes kill stale CI runs. No wasted compute.main only. No develop, no release branches. Feature branches merge to main. Major version branches only for legacy backports.composer audit in CI. Free security scanning -- exits non-zero when vulnerabilities exist. Use --locked to audit without installing. Add as a standalone step in run-tests.yml or a dedicated workflow.--coverage --min=80 (or your team's threshold). Enforce type coverage with --type-coverage --min=100. CI fails when coverage drops. No regressions.| Don't | Do | Why |
|---|---|---|
No fail-fast: false | fail-fast: false | See all failures, not just the first |
| Manual style fixing | Pint auto-fix + auto-commit | Humans should not review whitespace |
Skip prefer-lowest in matrix | Always include prefer-lowest | Catches minimum-version compatibility issues |
| No concurrency control | cancel-in-progress: true | Stale runs waste compute and delay feedback |
| PHP-CS-Fixer on new packages | Laravel Pint | Pint is the standard. CS-Fixer is legacy |
| PHPStan without baseline | Baseline file from day one | Adopt incrementally, fix progressively |
develop + main branches | main only | One branch. One truth. Less ceremony |
| Missing PR template | Ship .github/PULL_REQUEST_TEMPLATE.md | Structure the conversation around changes |
| No dependency auditing | composer audit in CI | Free vulnerability scanning, zero effort |
| No coverage enforcement | --coverage --min=80 in CI | Coverage only matters if it can't regress |
See examples.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub attac-t/the-foundry --plugin laravel-playbook29 skills in this plugin
/craft-deprecationCrafting deprecations. Sunset gracefully, remove confidently.Other plugins' skills for the same job