Quality checks

From jpcaparas/superpowers-laravel · View interactive version

Quality checks is an AI agent skill from the GitHub repository jpcaparas/superpowers-laravel. Unified quality gates for Laravel projects; Pint, static analysis (PHPStan/Psalm), Insights (optional), and JS linters; Sail and non-Sail pairs provided

How to use this skill

Skill file

Quality 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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.