/engineer:policy-as-code-generatorfrom engineer
Generates draft policy-as-code templates for S3 bucket public access and EC2 encryption requirements. Supports Rego, Sentinel, and AWS Config formats. Output requires independent review and testing before use.
Ships in engineer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This prototype accepts only exact supported phrases, not arbitrary natural-language requirements. Output is a draft, not an enforceable policy. Templates may omit requested checks or add unrelated ones, and do not establish compliance. Independently review, adapt, and test against representative compliant and noncompliant inputs before any use.
Ensure no S3 buckets are public: rego, sentinel, aws-config. Each includes a fixed Department tag check.All EC2 instances must have encryption enabled: rego only; also includes a subnet check.Matching ignores case and surrounding or repeated whitespace; any other wording, extra clauses, or unsupported format combinations fail without generating files. Even semantically equivalent wording is rejected. Terraform and Checkov are not implemented.
For a separately scoped Rego v1 draft, supply a JSON specification with an exact
resource type, tag key and source citation and excerpt. The source is supplied
by the user and is not verified; no control IDs or compliance claims are
inferred. Example spec.json:
{
"format": "rego",
"resource_type": "aws_s3_bucket",
"required_tag": "Owner",
"source": {
"reference": "Internal tagging policy, section 3",
"excerpt": "S3 buckets must have an Owner tag."
}
}
node "${CLAUDE_PLUGIN_ROOT}/scripts/generate-policy.js" --spec spec.json
The CLI also writes a paired .test.rego starter file and prints the exact
opa test command for both files. The three examples cover a missing tag, a
present tag, and an unknown tag; they are not a comprehensive test suite or
proof of compliance. Review and extend them for the actual environment.
All fields are mandatory; extra fields, other resources and other formats fail
without producing files. Input is Terraform show -json plan data. The deny
set identifies managed S3 buckets with a known absent/null tag value; empty strings
pass. The separate warning set identifies indeterminate unknown or malformed
change/tag data, including missing/null tag objects and missing unknown metadata.
Consumers must inspect both sets. Terraform after_unknown marks unknown whole
objects or individual tag values; pure ["delete"] actions are excluded, while
replacement actions are evaluated. Data sources are excluded. Provider default
tags, plan completeness, schema validation, other resources and tag value quality
are not established. Neither empty set is evidence of compliance.
The source and draft must be independently verified and the rule adapted and
tested on representative compliant, noncompliant, unknown and malformed plans
before any enforcement.
node "${CLAUDE_PLUGIN_ROOT}/scripts/generate-policy.js" "Ensure no S3 buckets are public" rego
The optional second argument selects the format; it defaults to rego. The output includes draft code and documentation, not validated test cases.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub grcengclub/claude-grc-engineering --plugin engineer25 skills in this plugin
/access-review-triageHelps you triage a quarterly user access review from an Okta, Entra ID, AWS IAM, GitHub, or generic CSV/JSON export. For each row, recommends certify, revoke, manager confirm, or investigate using rules that catch the usual audit-fail patterns: terminated users still active, dormant admin accounts, separation-of-duty conflicts, service accounts in a human review. Drafts manager confirmation emails and writes an audit evidence packet mapped to SOC 2 CC6.1/CC6.2, PCI 7-8, ISO A.5.15, A.5.16, A.5.18, A.8.2, plus A.5.3 when a separation-of-duty conflict is found, NIST AC-2. Built for small and mid-size orgs running UARs in spreadsheets without an IGA tool. Never auto-revokes. Output is a draft for human review before action./audit-ready-pr-reviewerReviews pull requests for compliance regressions. Scans code diffs for security and compliance violations, flags issues, and suggests fixes aligned with frameworks like SOC 2, ISO 27001, NIST 800-53./code-to-control-mapperMaps infrastructure code (Terraform, Kubernetes, CloudFormation) to compliance controls (ISO 27001, SOC 2, NIST 800-53). Analyzes IaC files and generates compliance evidence mappings showing which controls are satisfied./collect-evidenceGenerate scripts to collect audit evidence/evidence-artifact-collectorGenerates CLI commands and API scripts to collect point-in-time evidence for audit controls. Automates evidence gathering from cloud providers (AWS, Azure, GCP) and outputs formatted reports./find-conflictsIdentify conflicting requirements across frameworksOther plugins' skills for the same job