Spec-driven AI product workflow for Laravel — discovery, backlog, planning, implementation, and review via Laravel Boost.
Larapilot provides 4 tools with complete JSON schemas and descriptions. All tools are properly annotated with #[IsReadOnly] or implicit write semantics. Schemas use Illuminate's JsonSchema builder with type declarations and parameter descriptions. However, descriptions lack LLM-optimized guidance on WHEN to use each tool vs. alternatives, and parameter descriptions are minimal (e.g., 'Spec code, e.g. US-001' lacks format/constraint details). RunArtisanTool has an allowlist but no enum constraint in the schema itself. Output schemas are not documented. Error handling is present but generic ('Command not allowed' lacks recovery guidance). Overall: solid foundation, but descriptions and error messaging need LLM-optimization per pattern:tool-description and pattern:recovery-guide.
List Larapilot backlog specs with optional status filter. Returns spec codes, titles, priorities, and workflow status.
Collect a read-only Larapilot diagnostics snapshot for bug triage: app status, health checks (storage, cache, database, queue, log file), and an optional redacted Laravel log tail. Never exposes secrets; use during /larapilot-bug intake.
Run a Larapilot Artisan command and return its JSON envelope output.
Show a Larapilot spec by code (e.g. US-001) including its implementation plan tasks and working directory.
Parameter descriptions lack actionable constraints. 'Spec code, e.g. US-001' does not specify format (regex), length, or valid patterns. LLMs cannot infer whether 'US-1' or 'us-001' is valid.
RunArtisanTool allowlist is enforced in code but not exposed in schema as an enum. LLMs cannot see valid command options without reading the source. Schema should declare 'command' as enum with all 20 allowed values.
No output schemas documented. Tools return JSON but LLMs do not know the structure of response fields (e.g., what fields does BacklogListTool.list() return? Is it {specs: [{code, title, priority, status}]}?). This forces LLMs to guess field names for downstream operations.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | 2026-07-28+ | v2 |
Error messages are generic and non-actionable. 'Diagnostics are disabled' and 'Command not allowed' do not guide the LLM on recovery steps (e.g., 'Set LARAPILOT_DIAGNOSTICS_ENABLED=true' or 'Use one of: larapilot:config-show, larapilot:spec-list, ...').
Tool descriptions do not explain WHEN to use each tool or how they relate. E.g., BacklogListTool and RunArtisanTool both list specs; SpecShowTool and RunArtisanTool both show specs. LLMs cannot disambiguate without explicit guidance.