/grc-engineer:generate-policyfrom grc-engineer
Generate policy-as-code from natural language requirements
Ships in grc-engineer. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Converts natural language compliance requirements into executable policy code.
$1 - Requirement description (required, in quotes)$2 - Output format (optional, defaults to rego)Run the generate-policy script:
node scripts/generate-policy.js "$ARGUMENTS"
The script generates policy code in the specified format.
Review and integrate the policy into your CI/CD pipeline.
# Generate OPA policy for S3 bucket security
/grc:generate-policy "Ensure no S3 buckets are public and all must have a 'Department' tag" rego
# Generate PCI-DSS Requirement 3 policy (protect stored data)
/grc:generate-policy "All databases storing cardholder data must use encryption at rest" aws-config
# Generate network segmentation policy for PCI-DSS Requirement 1
/grc:generate-policy "Cardholder data environment must be isolated via network segmentation" sentinel
# Generate HIPAA encryption policy
/grc:generate-policy "All PHI storage must use AES-256 encryption" terraform
7-day visitors to each command page
17 commands in this plugin
/collect-evidenceCollect EvidenceGenerate scripts to collect audit evidence/find-conflictsFind ConflictsIdentify conflicting requirements across frameworks/frameworksFrameworks DiscoveryList every SCF-mapped framework (249) and show which have a dedicated plugin/gap-assessmentGap AssessmentAggregate connector findings, map to requested frameworks via SCF crosswalk, and produce a prioritized gap report with remediation links./generate-implementationGenerate ImplementationGenerate implementation code for a security control/map-controlMap ControlMap infrastructure code to compliance framework controlsnpx claudepluginhub rifh2000/claude-grc-engineering. --plugin grc-engineer2 plugins ship this exact command · first indexed Apr 26, 2026