laravel-quality

Run Pest, Larastan, and Pint quality checks on Laravel projects.

8|2|Updated Oct 28, 2025
One-click install
npx skills add https://github.com/morodomi/tdd-skills --skill laravel-quality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-quality
Source: https://github.com/morodomi/tdd-skills/tree/main/plugins/tdd-laravel/skills/laravel-quality
Command: npx skills add https://github.com/morodomi/tdd-skills --skill laravel-quality

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Laravel projects often suffer from inconsistent quality checks, flaky tests, and drift between tests, static analysis, and formatting. This Skill automates running Pest, Larastan, and Pint to enforce a consistent Laravel quality gate.

Core Features & Use Cases

  • Pest tests: run php artisan test to execute Laravel tests consistently.
  • Static analysis: run Larastan to catch type issues and static problems.
  • Code formatting: run Pint to ensure consistent code style.
  • Use Case: Integrate into CI to automatically fail builds on quality regressions, or run locally to validate a PR before merge.

Quick Start

Run the Laravel quality checks by executing Pest, Larastan, and Pint commands in your project root. Example commands:

  • php artisan test
  • ./vendor/bin/phpstan analyse
  • ./vendor/bin/pint

Frequently Asked Questions about laravel-quality

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Laravel quality checks for tests, static analysis, and formatting?

Run Laravel quality checks by executing Pest, Larastan, and Pint commands in your project root. This automates test execution, static analysis, and code formatting to enforce a consistent quality gate across your project.

What Laravel testing and static analysis tools do I need installed to run automated quality checks?

You need Pest, Larastan, and Pint installed in a PHP environment with vendor dependencies. This setup allows you to run php artisan test, Larastan static analysis, and Pint formatting commands consistently.

Can I use this automated quality gate to fail Laravel CI builds on regressions?

Yes, you can integrate these Laravel quality checks into CI to automatically fail builds on regressions. Running Pest, Larastan, and Pint validates tests, static analysis, and formatting before merging code.

What is the best way to prevent drift between Laravel tests, static analysis, and code formatting?

Automate running Pest, Larastan, and Pint together as a unified quality gate to prevent drift between tests, static analysis, and code formatting. This enforces consistent Laravel project standards.

Why does my Laravel project suffer from flaky tests and inconsistent static analysis results?

Laravel projects suffer from flaky tests and inconsistent static analysis results without automated quality checks. Running Pest, Larastan, and Pint enforces a consistent quality gate to resolve this drift.

Do I need a specific PHP environment to run Larastan and Pint for Laravel quality validation?

Yes, you need a PHP environment with vendor dependencies to run Larastan and Pint. This environment supports executing ./vendor/bin/phpstan analyse and ./vendor/bin/pint commands for Laravel quality validation.