By api-platform
Design, secure, and test REST/GraphQL APIs with API Platform, covering DTOs, filters, pagination, validation, serialization, error handling, OpenAPI customization, real-time Mercure updates, and MCP AI agent integration.
Customizes OpenAPI documentation for API Platform resources. Use whenever the user mentions OpenAPI/Swagger output, API docs, descriptions or examples on endpoints or properties, custom response documentation, hiding operations or resources from docs, or decorating the OpenAPI factory — even for small requests like 'document this field'.
Adds filters to API Platform collections using the canonical QueryParameter approach. Use whenever the user wants search, sorting, date ranges, boolean/enum/numeric filtering, IRI lookups, free-text search, or any 'let users filter/search/sort the list by X' request on a collection — even if they never say 'filter'. Also use when migrating legacy #[ApiFilter]/SearchFilter code.
Exposes API Platform resources to AI agents (LLMs) via the Model Context Protocol — declaring MCP tools with `#[McpTool]` / `McpToolCollection`, read-only `#[McpResource]`, the `mcp:` array on `#[ApiResource]`, input/output DTOs, structured vs custom (CallToolResult) responses, JSON-Schema overrides via `#[ApiProperty]`, and MCP-specific validation. Use whenever the user wants an LLM/AI agent to discover or call their API, mentions MCP, Model Context Protocol, tools/resources for an agent, `tools/call`, `tools/list`, or asks to make a resource 'callable by an AI' — even if they don't name MCP explicitly.
Creates or modifies API Platform resources with DTOs and Object Mapper. Use whenever the user wants to add an API endpoint, expose an entity or any data over HTTP, create or reshape a resource, define input/output DTOs, configure nested sub-resources with uriVariables, or map entities/documents to API representations — even if they just say 'add an endpoint for X' or 'expose X in the API'.
Writes functional tests for API Platform endpoints with ApiTestCase. Use whenever the user asks to test an API resource, write or fix a functional test, verify validation, security or multi-tenant isolation, set up authentication or database fixtures for tests, or reproduce an endpoint bug with a test — including plain 'add tests for X' requests.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Claude Code plugin providing 15 skills for API Platform development. Each skill teaches Claude the current, canonical way to do something in API Platform 4.x — verified against the core source, covering both the Symfony and Laravel integrations.
/plugin marketplace add api-platform/skillset
/plugin install api-platform@api-platform-skillset
Skills load automatically when relevant; they appear namespaced as api-platform:<skill>.
| Skill | Covers |
|---|---|
api-resource | Resources, DTOs, Object Mapper, nested sub-resources, custom operations |
api-filter | Collection filters with QueryParameter — the canonical post-4.4 filter set, legacy #[ApiFilter] migration |
state-provider | Custom read logic, decorating Doctrine providers, computed fields |
state-processor | Custom write logic, soft-delete, file downloads, side effects |
operations | Operation security expressions, validation groups, parameter validation, deprecation |
securing-collections | Multi-tenant isolation with Doctrine extensions and link handlers |
custom-validator | Custom validation constraints for business rules |
serialization-groups | Serialization contexts and #[Groups] — with guidance on when DTOs are the better choice |
pagination | Page-based, partial, and cursor pagination |
errors | RFC 7807 Problem Details, #[ErrorResource], exception-to-status mapping |
graphql | GraphQL operations, resolvers, Relay pagination |
mercure | Real-time updates over Mercure (Symfony) |
api-platform-mcp | Exposing resources to AI agents via the Model Context Protocol — #[McpTool], McpToolCollection, #[McpResource] |
api-docs | OpenAPI customization, hiding operations, factory decoration |
api-test | Functional tests with ApiTestCase (Symfony) and HTTP tests (Laravel) |
The plugin format is specific to Claude Code. For any other agent, copy this repo's AGENTS.md into the root of your API Platform project — it is the de-facto file Cursor, GitHub Copilot, OpenAI Codex and Gemini read when a session starts. It points the agent at the canonical documentation instead of stale training data.
AGENTS.md is intentionally lean: instructions plus a topic index. The 15 skills above go deeper, with verified code for each topic — that depth is currently Claude-only. A thin CLAUDE.md (@AGENTS.md) keeps Claude users on the same baseline before the plugin's skills layer on top.
Skills are framework-aware: shared API Platform concepts are presented once, and where the integrations differ (Eloquent filters, Laravel validation rules, policies, config/api-platform.php), skills carry dedicated Laravel sections. Mercure is currently Symfony-only.
Bump happens through the marketplace:
/plugin marketplace update api-platform-skillset
Skills live in skills/<name>/SKILL.md. Conventions: imperative voice, verified APIs only (checked against api-platform/core), imports at the top of every code block, no bare references to core test paths — inline the relevant extract instead.
npx claudepluginhub api-platform/skillset --plugin api-platformA Symfony-focused toolkit for Claude Code providing TDD (Pest/PHPUnit), Doctrine ORM, API Platform, Messenger, Voters, quality checks (PHP-CS-Fixer/PHPStan), and pragmatic architecture patterns - Docker Compose and Symfony Docker (FrankenPHP) compatible
Production-grade rules and workflows for Laravel REST APIs built with essa/api-tool-kit. 21 rule files and 8 guided workflows covering every layer of a Laravel API including DDD support.
Commands for designing and documenting REST and GraphQL APIs
DevsForge Enterprise API Design Architect delivering comprehensive API architecture methodologies, RESTful design excellence, GraphQL schema optimization, and microservice integration frameworks that transform API design from technical specification into strategic business asset and developer experience catalyst
Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.
API design, documentation, and testing with OpenAPI spec generation