From superpowers-laravel
Create and register small, pure helper functions in Laravel apps to improve code clarity. Covers file setup in app/Support, Composer autoloading, and guidelines for purity, organization, and testing.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-laravel:custom-helpersThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```php
// app/Support/helpers.php
function money(int $cents): string { return number_format($cents / 100, 2); }
Add to composer.json:
{
"autoload": { "files": ["app/Support/helpers.php"] }
}
Run composer dump-autoload.
npx claudepluginhub jpcaparas/superpowers-laravel --plugin superpowers-laravelProvides Laravel patterns for PHP apps including Eloquent ORM, migrations, routing, controllers, queues, jobs, authentication, middleware, and testing. Use for Laravel projects.
Provides production-grade, idiomatic Laravel solutions with clean architecture, security best practices, performance optimizations, and modern standards for Laravel 10/11+. Use for features, refactoring, APIs, auth, services, DB interactions, and code reviews.
Builds production-grade Laravel REST APIs using essa/api-tool-kit patterns (ApiResponse, QueryFilters, dynamicPaginate, EnumHelpers) and best practices for code quality, auth, testing, database.