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.
- 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
Below shows the startup message rendered when this plugin detects Laravel apps. The assistant now supports monorepos and adapts guidance based on which app is active and whether Sail is available.
Read the introduction to the original Superpowers: Superpowers for Claude Code
# In Claude Code
/plugin marketplace add jpcaparas/superpowers-laravel
/plugin install superpowers-laravel@superpowers-laravel-marketplace# 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-tddCodex support is experimental. Use the skills from this repo directly or copy the skills/ subfolders you want into your project’s .claude/skills.
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
Skills activate automatically when relevant. For example:
test-driven-developmentactivates when implementing featuressystematic-debuggingactivates when debugging issuesverification-before-completionactivates before claiming work is done
- Prefer running commands with Sail when it is available (
vendor/bin/sailor a top‑level./sailhelper); fall back to host tools otherwise. - When Sail is declared but containers are not running, the assistant will ask whether to start Sail (
sail up -d) or proceed with host tools. It will not run hostphp/composer/DB/Node commands until you choose. - When Sail containers are running, use
sailfor all PHP/Composer/Node/DB commands to avoid environment drift; do not mix host and container installs in the same session. - Portable alias:
alias sail='sh $([ -f sail ] && echo sail || echo vendor/bin/sail)'
When multiple Laravel apps exist (for example apps/api, apps/admin), the SessionStart hook:
- Scans the repository recursively (ignores
vendor/,node_modules/,storage/, and VCS/IDE folders) to find everyartisanentrypoint. - Detects Laravel version per app (prefers
composer.lockviajq, falls back tocomposer.jsonconstraint or a portable parser). - Shows a summary list of all detected apps with version and Sail availability; marks the app in your current working directory as the “active” app.
- Emits Sail guidance and interactive safety ONLY for the active app.
Tip: cd into the app you intend to work on before starting your session to make it the active app.
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.
We added a focused set of skills that reflect patterns stable across both 11.x and 12.x:
- Form Requests & Validation (
laravel:form-requests) - Policies & Authorization (
laravel:policies-and-authorization) - Eloquent Relationships & Loading (
laravel:eloquent-relationships) - Transactions & Consistency (
laravel:transactions-and-consistency) - HTTP Client Resilience (
laravel:http-client-resilience) - Task Scheduling (
laravel:task-scheduling) - API Resources & Pagination (
laravel:api-resources-and-pagination) - Blade Components & Layouts (
laravel:blade-components-and-layouts) - Filesystem Uploads & URLs (
laravel:filesystem-uploads) - Rate Limiting & Throttle (
laravel:rate-limiting) - Exception Handling & Logging (
laravel:exception-handling-and-logging)
Commands are thin wrappers that activate skills. Key examples:
brainstorm.md→laravel:brainstormingwrite-plan.md→laravel:writing-plansexecute-plan.md→laravel:executing-planslaravel-check.md→laravel:quality-checkslaravel-tdd.md→laravel:tdd-with-pest
Additional wrappers for the new docs‑intersection skills:
laravel-form-requests.md→laravel:form-requestslaravel-policies.md→laravel:policies-and-authorizationlaravel-eloquent-relationships.md→laravel:eloquent-relationshipslaravel-transactions.md→laravel:transactions-and-consistencylaravel-http-client.md→laravel:http-client-resiliencelaravel-scheduling.md→laravel:task-schedulinglaravel-api-resources.md→laravel:api-resources-and-paginationlaravel-blade-components.md→laravel:blade-components-and-layoutslaravel-filesystem-uploads.md→laravel:filesystem-uploadslaravel-rate-limiting.md→laravel:rate-limitinglaravel-exceptions-logging.md→laravel:exception-handling-and-logging
- Onboarding & Runner
- Planning & Execution
- Data & Schema
- Quality & Ops
- Architecture
- Performance
- Testing
- Utilities
- SessionStart Hook – Adds Laravel onboarding (
laravel:using-laravel-superpowers) when a Laravel repo is detected - Skills System - Uses Claude Code's first-party skills system
- Automatic Discovery - Claude finds and uses relevant skills for your task
- Mandatory Workflows - When a skill exists for your task, using it becomes required
- 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
Skills live directly in this repository. To contribute:
- Fork the repository
- Create a branch for your skill
- Follow existing skill patterns (frontmatter name/description and focused, testable guidance)
- Submit a PR with a short release-notes entry
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 withSKILL.mdSKILL.mdfiles have frontmatter withname(starting withlaravel:) anddescription.claude-plugin/plugin.jsonhas required fieldscommands/*.mdhave frontmatterdescription
Update via the plugin menu or pull the latest changes if you cloned this repo.
- Laravel Boost: a Laravel‑focused MCP server that augments AI‑powered local development (Cursor, Claude Code, etc.). See https://github.com/laravel/boost and https://boost.laravel.com/. This skill catalogue is designed to complement Boost if you install both.
MIT License - see LICENSE file for details



