About laravel:writing-plans
A Laravel agent skill for turning an approved design into small, testable implementation steps, with validation and safeguards before handoff.
Key features
- 01Design-to-task breakdown
- 02Scaffolding and data model steps
- 03Service and interface planning
- 04TDD and quality gates
- 05Rollout and observability checks
Use cases
- 01Planning a Laravel feature after design approval
- 02Preparing implementation work for batch execution
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ jpcaparas/ superpowers-laravel --skill laravel:writing-plansAfter installing, type/laravel:writing-plansin Claude Code to confirm it loaded.
Details
From the project READMEWriting Plans (Laravel)
Turn a confirmed design into a sequence of small, testable steps. Include guardrails and validation before handoff.
Structure
- Scaffolding
- Runner: confirm Sail or host
- Branch & workspace prep (worktrees optional)
- Data Model
- Migrations and factories (one commit per change)
- Seeders if needed for demo flows
- Services & Interfaces
- Controllers/Requests/Resources (or actions)
- Ports & adapters for external systems
- Jobs/events/listeners as needed
- Tests (TDD)
- Feature tests for behavior; unit tests for pure logic
- Use factories; verify failure first, then pass
- Quality Gates
- Pint, static analysis, tests clean
- Rollout & Observability
- Logs/metrics; Horizon queues; toggles/migrations safety
Example Task Format
- Add migration + model + factory for X
- Write failing feature test for route Y
- Implement controller + request + policy for Y
- Add service with port+adapter for Z
- Dispatch job; add listener + events as needed
- Verify queues; add tags and Horizon metrics
- Run quality checks; update docs
After writing the plan, use laravel:executing-plans to execute in batches.
Comments
Markdown supported