writing-rego-policies
CommunityWrite secure and efficient OPA Rego policies.
AuthorChogos
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you write, validate, and format Open Policy Agent (OPA) Rego policies, ensuring they are secure, efficient, and adhere to best practices.
Core Features & Use Cases
- Policy Development: Guides you through writing clear, maintainable Rego code with conventions for naming, rule design, and variable usage.
- Validation & Linting: Integrates with
opa checkandregal lintto catch errors and style violations early. - Use Case: You need to create a new OPA policy to enforce that all Kubernetes deployments in your cluster must have resource limits defined. This Skill provides the structure and validation steps to ensure your policy is correct and effective.
Quick Start
Use the writing-rego-policies skill to validate and format the Rego code in the file 'policy.rego'.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: writing-rego-policies Download link: https://github.com/Chogos/claude-skills/archive/main.zip#writing-rego-policies Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.