JustSteveKing

Laravel API Skill — Development skill for Claude Code

Development community

A comprehensive Claude skill for building production-grade Laravel REST APIs with clean architecture, type safety, and Laravel best practices.

How to install Laravel API Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open JustSteveKing/laravel-api-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Laravel API Skill does

A comprehensive Claude skill for building production-grade Laravel REST APIs with clean architecture, type safety, and Laravel best practices.

Alternatives in Development

README

Laravel API Skill for Claude

A comprehensive Claude skill for building production-grade Laravel REST APIs with clean architecture, type safety, and Laravel best practices.

🎯 What This Skill Does

This skill guides Claude in building Laravel REST APIs using opinionated architecture patterns combined with Laravel's official code quality standards. It implements:

  • Stateless Design - No hidden dependencies, explicit data flow
  • Boundary-First Architecture - Clear separation of HTTP, business logic, and data layers
  • Resource-Scoped Organization - Routes and controllers organized by resource
  • Version Discipline - Namespace-based versioning with HTTP Sunset headers
  • Type Safety - Strict types, return type declarations, PSR-12 compliance
  • Code Quality - Laravel simplifier patterns for maintainable code

📦 Installation

Option 1: Claude.ai / Claude App

  1. Download laravel-api.skill
  2. Open Claude.ai or Claude app → Settings → Skills
  3. Click "Add Skill" or "Import Skill"
  4. Upload the laravel-api.skill file
  5. Start building Laravel APIs!

Option 2: Claude Code Plugin

If you're using Claude Code, you can install via the marketplace:

/plugin marketplace add juststeveking/laravel-api-skill
/plugin install laravel-api@juststeveking

🚀 Quick Start

Once installed, simply tell Claude what you want to build:

Build a Laravel API for managing tasks with CRUD operations
Create a Laravel API endpoint for user authentication with JWT
Review and refactor this Laravel controller to follow best practices

The skill automatically triggers when you mention Laravel API development.

🏗️ Architecture Patterns

Core Components

**Models** - Simple data access with ULIDs

final class Task extends Model
{
    use HasFactory;
    use HasUlids;
}

**Controllers** - Invokable, single respon