laravel-api-tool-kit — Claude Code plugin: Laravel API rules
Gives Claude rules and step-by-step workflows for Laravel REST APIs built with essa/api-tool-kit. Generated controllers, resources and tests match your architecture from the first draft.
/plugin marketplace add anthropics/claude-plugins-community
/plugin install laravel-api-tool-kit@claude-communityWhat laravel-api-tool-kit does
The plugin ships 21 rule files into Claude: models, controllers, requests, resources, actions, DTOs, filters, enums, repositories, events, authorization, testing, database transactions, DDD structure and anti-patterns. Alongside them are 8 guided workflows — build a full CRUD endpoint step by step, add filtering to an existing model, run a defense-oriented code review, debug issues with data before code, test endpoints with curl and cross-reference against the DB, and keep a per-project knowledge base.
Both standard Laravel structure and Domain-Driven Design are supported. Install runs in one command: php artisan api-skill:install. The package is MIT licensed.
The rules encode the patterns of essa/api-tool-kit specifically. On a project built on something else, the generated controllers and resources will need rewriting by hand — worth checking your stack before you install.
What it helps with
- build a CRUD endpoint step by step without skipping a layer
- add filtering to an existing model
- run a code review focused on defense
- debug an issue from the data before touching code
- cross-reference endpoint responses against the database
Example prompts for the agent
- build a CRUD endpoint for the Order model following the plugin rules
- add filtering to the existing Product model
- test the /api/orders endpoint with curl and cross-reference against the DB
How to install laravel-api-tool-kit
Plugin marketplace
/plugin marketplace add anthropics/claude-plugins-community/plugin install laravel-api-tool-kit@claude-communityStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about laravel-api-tool-kit
How do I install laravel-api-tool-kit in Claude?
Add the marketplace first: /plugin marketplace add anthropics/claude-plugins-community, then install the plugin: /plugin install laravel-api-tool-kit@claude-community.
What does laravel-api-tool-kit do?
It gives Claude 21 rule files and 8 workflows for Laravel REST APIs built with essa/api-tool-kit, so the controllers, resources, filters and tests it generates match your project architecture.
Which project structures does it support?
It supports both standard Laravel structure and Domain-Driven Design. The rules follow the patterns of the essa/api-tool-kit package.
Source text
SKILL.md · MIT
Production-grade rules and workflows for Laravel REST APIs built with essa/api-tool-kit. Teaches your AI assistant the exact patterns used in the package — so every controller, resource, action, filter, enum, and test it generates matches your architecture from the first draft. Includes 21 rule files covering models, controllers, requests, resources, actions, DTOs, filters, enums, repositories, events, authorization, testing, database transactions, DDD structure, and anti-patterns. Includes 8 guided workflows: build a full CRUD endpoint step by step, add filtering to an existing model, run a defense-oriented code review, debug issues with data before code, test endpoints with curl and cross-reference against the DB, and manage a per-project knowledge base. Supports both standard Laravel structure and Domain-Driven Design. Installs in one command: php artisan api-skill:install Production-grade rules and workflows for Laravel REST APIs built with essa/api-tool-kit. Teaches your AI assistant the exact patterns used in the package — so every controller, resource, action, filter, enum, and test it generates matches your architecture from the first draft. Includes 21 rule files covering models, controllers, requests, resources, actions, DTOs, filters, enums, repositories, events, authorization, testing, database transactions, DDD structure, and anti-patterns. Includes 8 guided workflows: build a full CRUD endpoint step by step, add filtering to an existing model, run a defense-oriented code review, debug issues with data before code, test endpoints with curl and cross-reference against the DB, and manage a per-project knowledge base. Supports both standard Laravel structure and Domain-Driven Design. Installs in one command: php artisan api-skill:install
© ahmedesa · MIT · ahmedesa/laravel-api-tool-kit