0069-laravel-quality

Community

Enforce strict Laravel code quality

AuthorMrJmpl3
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents gradually worsening Laravel code quality by standardizing strict typing, code style, static analysis, and automated test enforcement before issues reach production.

Core Features & Use Cases

  • Strict types enforcement: Ensures every PHP file declares declare(strict_types=1) to reduce type-related bugs.
  • Static analysis with PHPStan: Uses PHPStan with strict rules (including Larastan) and a tuned baseline for common Laravel patterns.
  • Code style with Laravel Pint: Applies consistent formatting and import ordering so PRs stay readable and diff-friendly.
  • Architecture and convention tests with Pest: Adds guardrails such as action naming, strict-types usage, and controller/model boundaries.
  • Test coverage and CI gates: Encourages meaningful coverage thresholds (e.g., minimum 80%) and blocks regressions via CI/CD.

Quick Start

Enable strict types, then run Pint, PHPStan, and Pest in CI using the provided configuration as your baseline.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: 0069-laravel-quality
Download link: https://github.com/MrJmpl3/codex_____data_____configuration/archive/main.zip#0069-laravel-quality

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.