mcpField
S
symfony:api-platform-state-providers

symfony:api-platform-state-providers

github.com/dev-toolingsDevelopment227525 installsUpdated 4w ago
Repository

About symfony:api-platform-state-providers

A Symfony development skill for designing and evolving API Platform operations and contracts. It guides resource, DTO, provider, and processor changes while keeping serialization, validation, security, and documentation aligned.

Key features

  1. 01Operation contract definition
  2. 02Resource and DTO mapping
  3. 03Validation and security rules
  4. 04Happy and negative path checks
  5. 05Serialization and documentation alignment

Use cases

  1. 01Designing API Platform operations
  2. 02Changing API payload contracts
  3. 03Verifying API security and validation

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/dev-toolings/superpowers-symfony --skill symfony:api-platform-state-providers

After installing, type/symfony:api-platform-state-providersin Claude Code to confirm it loaded.

Bundled filesreference.md

Details

From the project README

Api Platform State Providers (Symfony)

Use when

  • Designing or evolving API Platform contracts and operations.
  • Aligning serialization, validation, and security behavior.

Default workflow

  1. Define operation-level contract and payload boundaries.
  2. Implement resource/DTO/provider/processor changes with explicit mapping.
  3. Apply operation-specific validation and security constraints.
  4. Validate functional behavior across happy and negative paths.

Guardrails

  • Keep API contract explicit and version-aware.
  • Avoid exposing internal entity fields implicitly.
  • Prevent drift between docs and actual serialization.

Progressive disclosure

  • Use this file for execution posture and risk controls.
  • Open references when deep implementation details are needed.

Output contract

  • API artifacts changed (resource/DTO/provider/processor).
  • Contract/security decisions and rationale.
  • Functional verification results.

References

  • reference.md
  • docs/complexity-tiers.md

Comments

Markdown supported