abac-engineering
Installation
SKILL.md
Attribute-Based Access Control
Use this skill when
- Permissions on resource/context attributes
- Policy rules (time, location, ownership, risk)
- Combining attributes with roles
Do not use this skill when
- Simple static permissions (use rbac-engineering)
- No attribute conditions needed
Instructions
- Define subject, resource, action, and environment attributes.
- Write policies as explicit rules with clear evaluation order.
- Keep policies in a central, decidable mechanism (not scattered ifs).
- Deny by default; evaluate allow rules, then deny rules.
- Test policy evaluation with a decision matrix.
- Nice-to-have: integrate with external PDP (OPA/Cedar) for scale.
- Log policy decisions for audit.