Using laravel superpowers

From jpcaparas/superpowers-laravel · View interactive version

Using laravel superpowers is an AI agent skill from the GitHub repository jpcaparas/superpowers-laravel. Read first in Laravel repos; explains runner selection (Sail vs non-Sail), core workflows, and how to apply superpowers skills in Laravel projects without platform lock-in

How to use this skill

Skill file

Using Superpowers in Laravel Projects

This plugin adds Laravel-aware guidance while staying platform-agnostic. It works in any Laravel app with or without Sail.

Runner Selection (Sail or non-Sail)

Use the minimal wrapper below when running commands:

# Prefer Sail if available, else fall back to host
alias sail='sh $([ -f sail ] && echo sail || echo vendor/bin/sail)'

# Example (both work depending on environment)
sail artisan test           # with Sail
php artisan test            # without Sail
sail composer require x/y   # with Sail
composer require x/y        # without Sail

See the laravel:runner-selection skill for detection tips, command pairs, and safety notes.

Core Workflows

Philosophy

Use slash commands as needed:

/superpowers-laravel:brainstorm
/superpowers-laravel:write-plan
/superpowers-laravel:execute-plan

When a Laravel skill exists for your task, use it exactly as written.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.