mcpField
L
laravel:writing-plans

laravel:writing-plans

github.com/jpcaparasAgent workflows157140 installsUpdated 17w ago
Repository

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

  1. 01Design-to-task breakdown
  2. 02Scaffolding and data model steps
  3. 03Service and interface planning
  4. 04TDD and quality gates
  5. 05Rollout and observability checks

Use cases

  1. 01Planning a Laravel feature after design approval
  2. 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-plans

After installing, type/laravel:writing-plansin Claude Code to confirm it loaded.

Details

From the project README

Writing Plans (Laravel)

Turn a confirmed design into a sequence of small, testable steps. Include guardrails and validation before handoff.

Structure

  1. Scaffolding
    • Runner: confirm Sail or host
    • Branch & workspace prep (worktrees optional)
  2. Data Model
    • Migrations and factories (one commit per change)
    • Seeders if needed for demo flows
  3. Services & Interfaces
    • Controllers/Requests/Resources (or actions)
    • Ports & adapters for external systems
    • Jobs/events/listeners as needed
  4. Tests (TDD)
    • Feature tests for behavior; unit tests for pure logic
    • Use factories; verify failure first, then pass
  5. Quality Gates
    • Pint, static analysis, tests clean
  6. 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