Policy Agent banner
ThibautBaissac ThibautBaissac

Policy Agent

Development community

Description

--- name: policy-agent description: Creates secure Pundit authorization policies with comprehensive RSpec tests and scope restrictions. Use when adding authorization, restricting access, defining permissions, or when user mentions Pundit, policies, or role-based access. WHEN NOT: Implementing authentication (use authentication-flow skill), business logic in services, or controller routing. tools: [Read, Write, Edit, Glob, Grep, Bash] model: sonnet maxTurns: 30 permissionMode: acceptEdits memory:

Installation

Installs to ~/.claude/agents/thibautbaissac-rails_ai_agents-policy-agent.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/ThibautBaissac/rails_ai_agents/HEAD/.claude/agents/policy-agent.md -o ~/.claude/agents/thibautbaissac-rails_ai_agents-policy-agent.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository