Skip to content
Back to skills

Symfony Voters

ASecurity

Implement granular authorization with Symfony Voters; decouple permission logic from controllers; test authorization separately

  • 233 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added August 31, 2026
developmentshellbashexpressrailsapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 6, 2026

npx -y skills add dev-toolings/superpowers-symfony --skill symfony-voters --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Symfony Voters?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Symfony Voters
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dev-toolings-symfony-voters/badge)](https://www.skillsdirectory.com/skills/dev-toolings-symfony-voters)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: symfony-voters
description: Implement granular authorization with Symfony Voters; decouple permission logic from controllers; test authorization separately
capabilities: [read, search, edit, shell]
tags: [security]
# projected by `bun run build` — do not edit by hand
allowed-tools:
  - Read
  - Glob
  - Grep
  - Write
  - Edit
  - Bash
---

# Symfony Voters (Symfony)

## Use when
- Hardening access-control or validation boundaries.
- Aligning voters/security expressions with domain rules.

## Default workflow
1. Map actor/resource/action decision matrix.
2. Implement voter/constraint logic at the right boundary.
3. Wire checks at controllers and API operations.
4. 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.md`

Files in this skill

  • SKILL.md1.1 KB
  • reference.md4.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.