L
laravel:quality-checks
About laravel:quality-checks
A Laravel quality-check skill that outlines automated checks to run before handoff or completion. It covers PHP formatting, static analysis, tests, and optional frontend checks.
Key features
- 01PHP formatting and linting
- 02Static analysis with PHPStan or Psalm
- 03Parallel Laravel tests
- 04Optional Insights checks
- 05Frontend lint and type checks
Use cases
- 01Check code before handing off changes
- 02Find static analysis issues
- 03Run backend and frontend checks
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ jpcaparas/ superpowers-laravel --skill laravel:quality-checksAfter installing, type/laravel:quality-checksin Claude Code to confirm it loaded.
Details
From the project READMEQuality Checks (Laravel)
Run automated checks before handoff or completion. Keep output clean.
PHP Style & Lint
# Check
sail pint --test # or: vendor/bin/pint --test
# Fix
sail pint # or: vendor/bin/pint
Static Analysis (choose your tool)
# PHPStan example
sail vendor/bin/phpstan analyse --memory-limit=1G # or: vendor/bin/phpstan analyse --memory-limit=1G
# Psalm example
sail vendor/bin/psalm # or: vendor/bin/psalm
Insights (optional, if installed)
sail artisan insights --no-interaction --format=json --flush-cache # or: php artisan insights --no-interaction --format=json --flush-cache
Tests
sail artisan test --parallel # or: php artisan test --parallel
Frontend (if applicable)
sail pnpm run lint # or: pnpm run lint
sail pnpm run types # or: pnpm run types
Checklist
- Pint clean (no errors)
- Static analysis passes
- Tests pass locally (parallel where possible)
- Frontend lint/types clean (if present)
- No noisy logs/errors during runs
Comments
Markdown supported