policy-as-code-generator

Installation
SKILL.md

Policy-as-Code Generator

Converts natural language compliance requirements into executable policy code. Generates OPA Rego, AWS Config Rules, Sentinel policies, or Terraform modules.

Quick Commands

Generate OPA Rego policy:

node plugins/grc-engineer/scripts/generate-policy.js "Ensure no S3 buckets are public and all must have a 'Department' tag" rego

Generate AWS Config Rule:

node plugins/grc-engineer/scripts/generate-policy.js "All EC2 instances must have encryption enabled" aws-config

Generate Sentinel policy:

Installs
4
GitHub Stars
430
First Seen
Jul 27, 2026