Use when running Laravel Pint to fix styling drift, verifying import sorting, or configuring custom rules inside pint.json.
php artisan boost:add-skill alizharb/agent-skills
Save this content to: .claude/skills/format-codebase-pint/SKILL.md
# Format Codebase with Pint
## When To Use
Use this skill when staging commits, fixing PSR/formatting rule violations, or updating linting rules.
## Workflow
1. **Verify setup**: Ensure Pint is installed via composer (`composer require laravel/pint --dev`).
2. **Run linting fixer**: Run `./vendor/bin/pint` from the root of the repository to fix code styling automatically.
3. **Verify files**: Run `git diff` to ensure changes align with formatting expectations.
4. **Dry run audits**: In CI pipelines, run `./vendor/bin/pint --test` to audit without writing files.
## Examples
### Good Example
```bash
# ✅ Format only the dirty staged files before committing
./vendor/bin/pint --dirty
```
### Bad Example
```bash
# ❌ Skipping styling fixes entirely, resulting in styling conflicts and rejected PRs in CI.
```
---
Use this skill when staging commits, fixing PSR/formatting rule violations, or updating linting rules.
composer require laravel/pint --dev)../vendor/bin/pint from the root of the repository to fix code styling automatically.git diff to ensure changes align with formatting expectations../vendor/bin/pint --test to audit without writing files.# ✅ Format only the dirty staged files before committing
./vendor/bin/pint --dirty
# ❌ Skipping styling fixes entirely, resulting in styling conflicts and rejected PRs in CI.
How can I help you explore Laravel packages today?