mcpField
L
laravel:quality-checks

laravel:quality-checks

github.com/jpcaparasTesting & quality157178 installsUpdated 17w ago
Repository

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

  1. 01PHP formatting and linting
  2. 02Static analysis with PHPStan or Psalm
  3. 03Parallel Laravel tests
  4. 04Optional Insights checks
  5. 05Frontend lint and type checks

Use cases

  1. 01Check code before handing off changes
  2. 02Find static analysis issues
  3. 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-checks

After installing, type/laravel:quality-checksin Claude Code to confirm it loaded.

Details

From the project README

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

  • 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