Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
makfly avatar

Symfony:api Platform Security Skill

  • 439 installs
  • 190 repo stars
  • Updated August 6, 2026
  • makfly/superpowers-symfony

symfony:api-platform-security is a Claude Code agent skill that secures Symfony API Platform resources with security expressions, voters, securityPostValidation, and operation-level access control for developers shipping

About

symfony:api-platform-security is a Claude Code skill from makfly/superpowers-symfony for securing API Platform contracts in Symfony projects. It guides operation-level payload boundaries, resource and DTO provider/processor changes, operation-specific validation, and security constraints across happy and negative paths. The default workflow defines the operation contract, implements explicit mapping without exposing internal entity fields, applies securityPostValidation and voters, and validates functional behavior. Guardrails keep API contracts version-aware and prevent drift between OpenAPI docs and actual serialization. Developers invoke it when designing or evolving API Platform operations that need authentication, authorization, and resource-level access rules before production exposure. Reference files include `reference.md` and `docs/complexity-tiers.md` for deeper implementation tiers.

  • Configure API Platform operation security expressions
  • Apply Symfony voters and role hierarchies to resources
  • Integrate JWT, OAuth, or session auth with API routes
  • Enforce field- and collection-level access policies
  • Align OpenAPI docs with real auth requirements

Symfony:Api Platform Security by the numbers

  • 439 all-time installs (skills.sh)
  • Ranked #539 of 2,222 Security skills by installs in the Skillselion catalog
  • Data as of Aug 11, 2026 (Skillselion catalog sync)
npx skills add https://github.com/makfly/superpowers-symfony --skill symfonyapi-platform-security

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs439
repo stars190
Last updatedAugust 6, 2026
Repositorymakfly/superpowers-symfony

How do you secure Symfony API Platform endpoints?

Harden Symfony API Platform endpoints with authentication, authorization, voters, and resource-level access rules before exposing production APIs.

Who is it for?

Symfony API Platform developers hardening JSON APIs with operation-level security expressions, voters, and securityPostValidation before production launch.

Skip if: Non-Symfony stacks, frontend-only apps without API Platform, or teams that only need generic OWASP checklists without PHP resource wiring.

When should I use this skill?

User asks to add authentication, authorization, voters, or resource-level access control to API Platform operations in a Symfony project.

What you get

Secured API Platform resources/DTOs, operation-level access rules, voter implementations, and verified negative-path authorization tests.

  • Secured API operations
  • Voter and expression configuration
  • Authorization test results

By the numbers

  • Default workflow has 4 steps: contract, implement, secure, validate
  • References 2 deep-dive files: reference.md and docs/complexity-tiers.md

Files

SKILL.mdMarkdownGitHub ↗

Api Platform Security (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. 2. Apply operation-specific validation and security constraints. 2. 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

Related skills

How it compares

Pick symfony:api-platform-security over generic Symfony security skills when you need API Platform operation contracts, securityPostValidation, and serialization boundary guardrails together.

FAQ

What does symfony:api-platform-security configure?

symfony:api-platform-security configures operation-level security on API Platform resources using security expressions, voters, and securityPostValidation. It keeps serialization boundaries explicit so internal entity fields are not exposed.

What workflow does symfony:api-platform-security follow?

symfony:api-platform-security first defines operation contracts and payload boundaries, then implements resource or DTO changes with explicit mapping, applies validation and security constraints, and verifies both authorized and denied requests.

Where are deeper security patterns documented?

symfony:api-platform-security points to `reference.md` and `docs/complexity-tiers.md` inside the skill for progressive disclosure when operation security needs advanced voter or tiered complexity guidance.

Securityappseccompliance

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.