Skip to content

jpcaparas/superpowers-laravel

Repository files navigation

Laravel Superpowers

Laravel Superpowers Logo

Laravel-focused skills for Claude Code and AI coding assistants. Brings proven workflows (TDD, debugging, planning) plus Laravel‑specific guidance that works with or without Sail.

What You Get

  • Laravel Skills – Runner selection (Sail/non‑Sail), TDD with Pest/PHPUnit, migrations + factories, queues + Horizon, quality gates (Pint/Insights/PHPStan), pragmatic architecture (Ports & Adapters, Template Method), and complexity guardrails.
  • Can be used on its own; also compatible with the base Superpowers plugin. Overlapping generic skills are removed here to avoid conflicts.

Plus:

  • Slash Commands - /superpowers-laravel:brainstorm, /superpowers-laravel:write-plan, /superpowers-laravel:execute-plan
  • Automatic Integration - Skills activate automatically when relevant
  • Consistent Workflows - Systematic approaches to common engineering tasks

Learn More

Read the introduction to the original Superpowers: Superpowers for Claude Code

Installation

Claude Code (via Plugin Marketplace)

# In Claude Code
/plugin marketplace add jpcaparas/superpowers-laravel
/plugin install superpowers-laravel@superpowers-laravel-marketplace

Verify Installation

# Check that commands appear
/help

# Should see Laravel commands, e.g.:
# /superpowers-laravel:brainstorm
# /superpowers-laravel:write-plan
# /superpowers-laravel:execute-plan
# /superpowers-laravel:laravel-check
# /superpowers-laravel:laravel-tdd

Codex (Experimental)

Codex support is experimental. Use the skills from this repo directly or copy the skills/ subfolders you want into your project’s .claude/skills.

Quick Start

Using Slash Commands

Brainstorm a design (Laravel-specific):

/superpowers-laravel:brainstorm

Create an implementation plan (Laravel-specific):

/superpowers-laravel:write-plan

Execute the plan (Laravel-specific):

/superpowers-laravel:execute-plan

Automatic Skill Activation

Skills activate automatically when relevant. For example:

  • test-driven-development activates when implementing features
  • systematic-debugging activates when debugging issues
  • verification-before-completion activates before claiming work is done

What's Inside

Skills Library

Skills live in skills/ and are designed for everyday Laravel work. Core examples include runner-selection, tdd-with-pest, migrations-and-factories, quality-checks, queues-and-horizon, and ports-and-adapters — with many more patterns ready for larger teams.

This fork focuses on Laravel skills and removes overlapping generic skills so it can be used independently without conflicts. It is also compatible with the base Superpowers plugin if you choose to install both. Use the Laravel‑specific commands here, or continue using the base plugin’s generic workflows.

Commands

Commands are thin wrappers that activate skills. Key examples:

  • brainstorm.mdlaravel:brainstorming
  • write-plan.mdlaravel:writing-plans
  • execute-plan.mdlaravel:executing-plans
  • laravel-check.mdlaravel:quality-checks
  • laravel-tdd.mdlaravel:tdd-with-pest

Skills Overview

  • Onboarding & Runner
  • Planning & Execution
  • Data & Schema
  • Quality & Ops
  • Architecture
  • Performance
  • Testing
  • Utilities

How It Works

  1. SessionStart Hook – Adds Laravel onboarding (laravel:using-laravel-superpowers) when a Laravel repo is detected
  2. Skills System - Uses Claude Code's first-party skills system
  3. Automatic Discovery - Claude finds and uses relevant skills for your task
  4. Mandatory Workflows - When a skill exists for your task, using it becomes required

Philosophy

  • Test-Driven Development - Write tests first, always
  • Systematic over ad-hoc - Process over guessing
  • Complexity reduction - Simplicity as primary goal
  • Evidence over claims - Verify before declaring success
  • Domain over implementation - Work at problem level, not solution level

Contributing

Skills live directly in this repository. To contribute:

  1. Fork the repository
  2. Create a branch for your skill
  3. Follow existing skill patterns (frontmatter name/description and focused, testable guidance)
  4. Submit a PR with a short release-notes entry

Run checks locally

Validate structure and conventions before pushing:

# Requires Node.js 18+ (20 recommended)
npx tsx scripts/validate_skills.ts

This verifies that:

  • skills/ contains only one-level directories, each with SKILL.md
  • SKILL.md files have frontmatter with name (starting with laravel:) and description
  • .claude-plugin/plugin.json has required fields
  • commands/*.md have frontmatter description

Updating

Update via the plugin menu or pull the latest changes if you cloned this repo.

Related Tools

License

MIT License - see LICENSE file for details

Support

About

Laravel Superpowers plugin for Claude Code: core skills library + more

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 74.4%
  • TypeScript 25.6%