Test-driven development for Laravel with PHPUnit and Pest, factories, database testing, fakes, and coverage targets.
69
69%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Quality
Discovery
82%Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.
The description is strong in specificity and trigger terms, listing concrete Laravel testing tools and concepts that developers would naturally reference. Its main weakness is the absence of an explicit 'Use when...' clause, which would help Claude know exactly when to select this skill. The domain-specific terminology makes it highly distinctive among potential skills.
Suggestions
Add a 'Use when...' clause such as 'Use when writing tests for Laravel applications, setting up PHPUnit or Pest test suites, creating model factories, or configuring code coverage.'
| Dimension | Reasoning | Score |
|---|---|---|
Specificity | Lists multiple specific concrete actions and tools: test-driven development, PHPUnit, Pest, factories, database testing, fakes, and coverage targets. These are all concrete, identifiable capabilities. | 3 / 3 |
Completeness | Clearly answers 'what does this do' with specific testing capabilities, but lacks an explicit 'Use when...' clause or equivalent trigger guidance, which caps this dimension at 2 per the rubric. | 2 / 3 |
Trigger Term Quality | Includes strong natural keywords users would say: 'PHPUnit', 'Pest', 'factories', 'database testing', 'fakes', 'coverage targets', 'TDD', 'Laravel'. These are terms developers naturally use when requesting testing help. | 3 / 3 |
Distinctiveness Conflict Risk | Highly distinctive due to the specific combination of Laravel + PHPUnit + Pest + TDD. The mention of Laravel-specific concepts like factories and fakes creates a clear niche unlikely to conflict with general testing or other framework skills. | 3 / 3 |
Total | 11 / 12 Passed |
Implementation
42%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
The skill provides excellent, executable code examples covering a wide range of Laravel testing scenarios, which is its primary strength. However, it suffers from significant verbosity—duplicate examples across PHPUnit and Pest, redundant explanations of database traits, and restating concepts Claude already knows. The monolithic structure with no external references and weak workflow validation steps limit its effectiveness as a concise, navigable skill document.
Suggestions
Remove duplicate examples: show one scenario (e.g., project creation) in Pest only (the preferred framework), and note the PHPUnit equivalent pattern briefly or link to a separate PHPUNIT_EXAMPLES.md file.
Eliminate the redundant second paragraph in the Database Strategy section that re-explains RefreshDatabase, and remove bullet-point summaries that merely restate what code examples already show (e.g., 'Factories and States', 'Database Testing' sections).
Split detailed examples (Inertia tests, fakes, auth testing) into a separate EXAMPLES.md or PATTERNS.md file, keeping only the most essential example inline.
Add explicit validation checkpoints to the TDD workflow: e.g., 'Run full suite after refactor step', 'Check coverage meets 80% threshold before marking complete', 'If coverage drops, identify untested paths before proceeding'.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | Significant redundancy throughout: the Database Strategy section explains RefreshDatabase twice with overlapping content, PHPUnit and Pest examples are near-duplicates of each other (ProjectController create test appears in both frameworks), and sections like 'Factories and States' and 'Database Testing' restate what the examples already demonstrate. The 'Test Layers' section lists layers then immediately re-explains them with bullet points. Much of this content (what fakes do, what RefreshDatabase does) is knowledge Claude already has. | 1 / 3 |
Actionability | The skill provides fully executable, copy-paste-ready code examples across multiple testing scenarios: feature tests, unit tests, Pest tests, fakes, Sanctum auth, Gate authorization, and Inertia assertions. Commands for running tests and configuration details are concrete and specific. | 3 / 3 |
Workflow Clarity | The Red-Green-Refactor cycle is mentioned but only as a brief numbered list without validation checkpoints or feedback loops. There's no explicit guidance on what to do when tests fail unexpectedly, no verification steps after refactoring, and no checklist for ensuring coverage targets are met before committing. The workflow is present but lacks the validation rigor expected for a TDD skill. | 2 / 3 |
Progressive Disclosure | The content is a monolithic wall of text with no references to external files. At ~200 lines, the extensive examples for PHPUnit, Pest, fakes, auth, Inertia, etc. could be split into separate reference files. Everything is inline with no navigation structure beyond flat headings, making it hard to scan. | 1 / 3 |
Total | 7 / 12 Passed |
Validation
90%Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.
Validation — 10 / 11 Passed
Validation for skill structure
| Criteria | Description | Result |
|---|---|---|
frontmatter_unknown_keys | Unknown frontmatter key(s) found; consider removing or moving to metadata | Warning |
Total | 10 / 11 Passed | |
Reviewed
Table of Contents