/tdd-php:php-qualityfrom tdd-php
Runs PHP quality checks using PHPStan for static analysis, Pint for code formatting, and PHPUnit/Pest for testing. Activated by 'PHP quality check' or 'static analysis' phrases.
Ships in tdd-php. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
PHP プロジェクトの品質チェックツール。
| ツール | コマンド | 用途 |
|---|---|---|
| PHPStan | ./vendor/bin/phpstan analyse --level=8 | 静的解析 |
| Pint | ./vendor/bin/pint | コードフォーマット |
| PHPUnit | ./vendor/bin/phpunit | テスト実行 |
| Pest | ./vendor/bin/pest | テスト実行(Pest) |
| Laravel | php artisan test | Laravelテスト |
# 基本
./vendor/bin/phpstan analyse
# レベル指定(推奨: 8)
./vendor/bin/phpstan analyse --level=8
# 特定ディレクトリ
./vendor/bin/phpstan analyse src/ tests/
# 自動修正
./vendor/bin/pint
# チェックのみ
./vendor/bin/pint --test
# 全テスト
./vendor/bin/phpunit
# フィルタ
./vendor/bin/phpunit --filter=TestName
# カバレッジ
./vendor/bin/phpunit --coverage-html=coverage/
| 項目 | 目標 |
|---|---|
| PHPStan Level | 8(最高) |
| カバレッジ | 90%+ |
| Pint | エラー0 |
reference.mdWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub morodomi/tdd-skills --plugin tdd-php