Strengthen Symfony authorization and validation boundaries with explicit, test-backed enforcement. Use for symfony voters tasks.
Resources
1Install
npx skillscat add makfly/superpowers-symfony/symfony-symfony-voters Install via the SkillsCat registry.
About this skill
We need to produce a 2-3 sentence plain-text summary, objective, factual, no marketing language, no superlatives, no calls to action. No bullet points, no headings, no markdown. At most 60 words. Must be plain text. We need to summarize the skill: Strengthen Symfony authorization and validation boundaries with explicit, test-backed enforcement. Use for symfony voters tasks. It helps hardening access-control or validation boundaries, aligning voters/security expressions with domain rules. Workflow: map decision matrix, implement voter/constraint logic, wire checks, test paths.
SKILL.md
Symfony Voters (Symfony)
Use when
- Hardening access-control or validation boundaries.
- Aligning voters/security expressions with domain rules.
Default workflow
- Map actor/resource/action decision matrix.
- Implement voter/constraint logic at the right boundary.
- Wire checks at controllers and API operations.
- Test allowed/forbidden/invalid paths comprehensively.
Guardrails
- Avoid policy logic duplication across layers.
- Do not leak privileged state via error detail.
- Preserve explicit deny behavior for sensitive actions.
Progressive disclosure
- Use this file for execution posture and risk controls.
- Open references when deep implementation details are needed.
Output contract
- Security boundary updates.
- Integration points enforcing decisions.
- Negative-path test results.
References
reference.mddocs/complexity-tiers.md