Automated summary
Reviews Pull Requests that add or modify Prowler compliance frameworks (CIS, NIST, PCI-DSS) by validating JSON syntax, referenced checks, requirement IDs, and the matching dashboard files.
Strengths
- Explicit critical checklist with pass criteria and ready-to-run validation commands
- Clear decision tree that ends in FAIL, REQUEST CHANGES, or APPROVE
- Ships a validation script to catch missing checks and duplicate requirement IDs
- Complete JSON structure reference plus a common-issues table with resolutions
Limitations
- Tightly coupled to the Prowler repository: project-specific paths, validation script, and dashboards
- CHANGELOG presence and metadata completeness are left to manual judgment
- Does not assess the quality or correctness of the underlying checks, only their existence
Use it when a PR adds or changes a compliance framework file in Prowler and needs validation before merge.
Do not use it for reviewing Prowler detection code or checks that do not touch compliance framework files.
Security analysis
CautionThe skill is a legitimate PR-review checklist for Prowler compliance JSON files. It uses Bash only for local validation, diffing, and Prowler CLI test scans, with no destructive, exfiltration, obfuscated, or safety-disabling instructions. Because test scans may invoke cloud APIs and the tool list includes network/task tools, it warrants caution rather than safe.
- •Bash is used to execute local validation scripts and Prowler CLI compliance scans; the test scans can query configured cloud providers if credentials are present.
- •WebFetch, WebSearch, and Task are declared as allowed tools though not used by the provided instructions.
Examples
Review PR #4821 which adds prowler/compliance/aws/cis_aws_3.0.json — validate the JSON, confirm every check exists, check for duplicate requirement IDs, and tell me whether to approve.Run the compliance validation script against prowler/compliance/azure/cis_azure_2.0.json and report any missing checks or duplicate IDs.Compare dashboard/compliance/cis_gcp_3.0.py with the existing CIS AWS dashboard and flag any deviations from the established pattern.name: prowler-compliance-review description: > Reviews Pull Requests that add or modify compliance frameworks. Trigger: When reviewing PRs with compliance framework changes, CIS/NIST/PCI-DSS additions, or compliance JSON files. license: Apache-2.0 metadata: author: prowler-cloud version: "1.0" scope: [root, sdk] auto_invoke: "Reviewing compliance framework PRs" allowed-tools: Read, Edit, Write, Glob, Grep, Bash, WebFetch, WebSearch, Task
When to Use
- Reviewing PRs that add new compliance frameworks
- Reviewing PRs that modify existing compliance frameworks
- Validating compliance framework JSON structure before merge
Review Checklist (Critical)
| Check | Command/Method | Pass Criteria |
|-------|----------------|---------------|
| JSON Valid | python3 -m json.tool file.json | No syntax errors |
| All Checks Exist | Run validation script | 0 missing checks |
| No Duplicate IDs | Run validation script | 0 duplicate requirement IDs |
| CHANGELOG Entry | Manual review | Present under correct version |
| Dashboard File | Compare with existing | Follows established pattern |
| Framework Metadata | Manual review | All required fields populated |
Commands
# 1. Validate JSON syntax
python3 -m json.tool prowler/compliance/{provider}/{framework}.json > /dev/null \
&& echo "Valid JSON" || echo "INVALID JSON"
# 2. Run full validation script
python3 skills/prowler-compliance-review/assets/validate_compliance.py \
prowler/compliance/{provider}/{framework}.json
# 3. Compare dashboard with existing (find similar framework)
diff dashboard/compliance/{new_framework}.py \
dashboard/compliance/{existing_framework}.py
Decision Tree
JSON Valid?
├── No → FAIL: Fix JSON syntax errors
└── Yes ↓
All Checks Exist in Codebase?
├── Missing checks → FAIL: Add missing checks or remove from framework
└── All exist ↓
Duplicate Requirement IDs?
├── Yes → FAIL: Fix duplicate IDs
└── No ↓
CHANGELOG Entry Present?
├── No → REQUEST CHANGES: Add CHANGELOG entry
└── Yes ↓
Dashboard File Follows Pattern?
├── No → REQUEST CHANGES: Fix dashboard pattern
└── Yes ↓
Framework Metadata Complete?
├── No → REQUEST CHANGES: Add missing metadata
└── Yes → APPROVE
Framework Structure Reference
Compliance frameworks are JSON files in: prowler/compliance/{provider}/{framework}.json
{
"Framework": "CIS",
"Name": "CIS Provider Benchmark vX.Y.Z",
"Version": "X.Y",
"Provider": "AWS|Azure|GCP|...",
"Description": "Framework description...",
"Requirements": [
{
"Id": "1.1",
"Description": "Requirement description",
"Checks": ["check_name_1", "check_name_2"],
"Attributes": [
{
"Section": "1 Section Name",
"SubSection": "1.1 Subsection (optional)",
"Profile": "Level 1|Level 2",
"AssessmentStatus": "Automated|Manual",
"Description": "...",
"RationaleStatement": "...",
"ImpactStatement": "...",
"RemediationProcedure": "...",
"AuditProcedure": "...",
"AdditionalInformation": "...",
"References": "...",
"DefaultValue": "..."
}
]
}
]
}
Common Issues
| Issue | How to Detect | Resolution |
|-------|---------------|------------|
| Missing checks | Validation script reports missing | Add check implementation or remove from Checks array |
| Duplicate IDs | Validation script reports duplicates | Ensure each requirement has unique ID |
| Empty Checks for Automated | AssessmentStatus is Automated but Checks is empty | Add checks or change to Manual |
| Wrong file location | Framework not in prowler/compliance/{provider}/ | Move to correct directory |
| Missing dashboard file | No corresponding dashboard/compliance/{framework}.py | Create dashboard file following pattern |
| CHANGELOG missing | Not under correct version section | Add entry to prowler/CHANGELOG.md |
Dashboard File Pattern
Dashboard files must be in dashboard/compliance/ and follow this exact pattern:
import warnings
from dashboard.common_methods import get_section_containers_cis
warnings.filterwarnings("ignore")
def get_table(data):
aux = data[
[
"REQUIREMENTS_ID",
"REQUIREMENTS_DESCRIPTION",
"REQUIREMENTS_ATTRIBUTES_SECTION",
"CHECKID",
"STATUS",
"REGION",
"ACCOUNTID",
"RESOURCEID",
]
].copy()
return get_section_containers_cis(
aux, "REQUIREMENTS_ID", "REQUIREMENTS_ATTRIBUTES_SECTION"
)
Testing the Compliance Framework
After validation passes, test the framework with Prowler:
# Verify framework is detected
poetry run python prowler-cli.py {provider} --list-compliance | grep {framework}
# Run a quick test with a single check from the framework
poetry run python prowler-cli.py {provider} --compliance {framework} --check {check_name}
# Run full compliance scan (dry-run with limited checks)
poetry run python prowler-cli.py {provider} --compliance {framework} --checks-limit 5
# Generate compliance report in multiple formats
poetry run python prowler-cli.py {provider} --compliance {framework} -M csv json html
Resources
- Validation Script: See assets/validate_compliance.py
- Related Skills: See prowler-compliance for creating frameworks
- Documentation: See references/review-checklist.md
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/prowler-compliance-pr-review-mrwakbld/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/prowler-compliance-pr-review-mrwakbld' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/prowler-compliance-pr-review-mrwakbld/download' --output '.skill-downloads/prowler-compliance-pr-review-mrwakbld/SKILL.md.part' && mv '.skill-downloads/prowler-compliance-pr-review-mrwakbld/SKILL.md.part' '.skill-downloads/prowler-compliance-pr-review-mrwakbld/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Read, Edit, Write, Glob, Grep, Bash, WebFetch, WebSearch, Task
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/prowler-compliance-pr-review-mrwakbld/SKILL.md' && test -s '.skill-downloads/prowler-compliance-pr-review-mrwakbld/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/prowler-compliance-review' && cp -R '.skill-downloads/prowler-compliance-pr-review-mrwakbld' '.claude/skills/prowler-compliance-review'Cursor
test -f '.skill-downloads/prowler-compliance-pr-review-mrwakbld/SKILL.md' && test -s '.skill-downloads/prowler-compliance-pr-review-mrwakbld/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/prowler-compliance-review' && cp -R '.skill-downloads/prowler-compliance-pr-review-mrwakbld' '.cursor/skills/prowler-compliance-review'Codex
test -f '.skill-downloads/prowler-compliance-pr-review-mrwakbld/SKILL.md' && test -s '.skill-downloads/prowler-compliance-pr-review-mrwakbld/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/prowler-compliance-review' && cp -R '.skill-downloads/prowler-compliance-pr-review-mrwakbld' '.agents/skills/prowler-compliance-review'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/prowler-compliance-pr-review-mrwakbld'openskills read 'prowler-compliance-pr-review-mrwakbld'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/prowler-compliance-pr-review-mrwakbld/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
DeFi AMM Security
Security
Security checklist for Solidity AMM contracts, liquidity pools, and swap flows. Covers reentrancy, donation attacks, oracle manipulation, slippage, and integer math.
Semgrep Rule Creator
Security
Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Includes test-first methodology, taint mode support, and validation steps. Helps when building targeted static analysis detections.
Dev Toolbar Review Guide
Security
Safety rules for the dev toolbar, PostHog client, and feature flags. Use when reviewing changes to dev-tools and related files, covering environment guards, override cookies, and SSE stream safety.