Install
$ agentstack add skill-morodomi-tdd-skills-laravel-quality ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Laravel Quality Check
Laravel プロジェクト固有の品質チェックツール。
汎用PHPツールは tdd-php 参照。
Commands
| ツール | コマンド | 用途 | |--------|---------|------| | Pest | php artisan test | テスト実行 | | PHPStan | ./vendor/bin/phpstan analyse | 静的解析(Larastan) | | Pint | ./vendor/bin/pint | コードフォーマット |
Pest Laravel Helpers
| ヘルパー | 用途 | |---------|------| | actingAs($user) | 認証ユーザーとして実行 | | assertDatabaseHas() | DB レコード存在確認 | | assertDatabaseMissing() | DB レコード不在確認 | | assertRedirect() | リダイレクト確認 | | assertStatus() | HTTPステータス確認 |
Test Categories
Feature vs Unit
| カテゴリ | 対象 | 例 | |---------|------|-----| | Feature | HTTPリクエスト、統合 | Controller, API | | Unit | 単一クラス | Model, Service |
テスト配置
tests/
├── Feature/ # HTTP, 統合テスト
│ ├── Auth/
│ └── Api/
└── Unit/ # 単体テスト
├── Models/
└── Services/
HTTP Tests
it('can list users', function () {
$user = User::factory()->create();
$this->actingAs($user)
->get('/api/users')
->assertStatus(200)
->assertJsonStructure(['data' => [['id', 'name']]]);
});
Database Tests
it('can create user', function () {
$this->post('/api/users', [
'name' => 'Test',
'email' => 'test@example.com',
])->assertStatus(201);
$this->assertDatabaseHas('users', [
'email' => 'test@example.com',
]);
});
Quality Standards
| 項目 | 目標 | |------|------| | PHPStan Level | 8(Larastan) | | カバレッジ | 90%+ | | Pint | エラー0 |
Reference
- 詳細: [reference.md](reference.md)
- 汎用PHP: tdd-php プラグイン
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: morodomi
- Source: morodomi/tdd-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.