action-policy-coder

Installation
SKILL.md

ActionPolicy Coder

When Invoked

  1. Create policy classes with proper rules and inheritance
  2. Implement authorization in controllers with authorize! and allowed_to?
  3. Set up scoping with authorized_scope for filtered collections
  4. Configure caching for performance optimization
  5. Add I18n for localized failure messages
  6. Write tests using ActionPolicy RSpec matchers
  7. Integrate with GraphQL and ActionCable

Installation

# Gemfile
gem "action_policy"
gem "action_policy-graphql"  # For GraphQL integration
Related skills
Installs
36
GitHub Stars
39
First Seen
Feb 5, 2026