List Rules
Browse and filter available compliance rules.
Usage
/list-rules [--framework <name>] [--severity <level>] [--tag <tag>] [--search <query>]
Examples:
/list-rules
/list-rules --framework ftc
/list-rules --severity critical
/list-rules --tag disclosure
/list-rules --framework gdpr --severity critical
/list-rules --search "opt-out"
Instructions
When invoked, follow these steps:
Parse arguments: Extract any filters from the arguments:
--framework: filter by framework (ftc, hipaa, gdpr, sec-482, sec-marketing, ccpa, coppa, can-spam)
--severity: filter by severity (critical, warning, info)
--tag: filter by metadata tag (e.g., disclosure, consent, endorsement, dark-pattern)
--search: free-text search across rule titles, summaries, and keywords
- No arguments: show a summary of all frameworks, then ask what to explore
Load rules: Read dist/index.json from this repo.
Apply filters: Filter the rules array based on provided arguments. Multiple filters are combined with AND logic (e.g., --framework ftc --severity critical shows only critical FTC rules).
Display results:
If no filters (summary mode):
## Available Compliance Rules
| Framework | Rules | Critical | Warning | Info |
|-----------|-------|----------|---------|------|
| FTC | 95 | X | Y | Z |
| HIPAA | 17 | X | Y | Z |
| ... | ... | ... | ... | ... |
| **Total** | **208** | **X** | **Y** | **Z** |
Use `--framework`, `--severity`, `--tag`, or `--search` to filter.
If filters applied:
## Rules: [filter description]
**Showing**: [count] rules
| ID | Title | Severity | Framework | Tags |
|----|-------|----------|-----------|------|
| FTC-255-5-material-connection | Material Connection Disclosure | critical | ftc | endorsement, disclosure |
| ... | ... | ... | ... | ... |
Use `/explain-rule <id>` to learn more about a specific rule.
If no results match: Report that no rules matched the filters and suggest broadening the search.
Notes
- This is a discovery/reference skill — it helps users understand what rules are available.
- For validating content against rules, use
/validate-copy, /check-email, or /check-privacy-policy.
- For detailed explanation of a specific rule, use
/explain-rule <id>.
1---2name: list-rules3description: List Rules4---5# List Rules67Browse and filter available compliance rules.89## Usage1011```12/list-rules [--framework <name>] [--severity <level>] [--tag <tag>] [--search <query>]13```1415Examples:16```17/list-rules18/list-rules --framework ftc19/list-rules --severity critical20/list-rules --tag disclosure21/list-rules --framework gdpr --severity critical22/list-rules --search "opt-out"23```2425## Instructions2627When invoked, follow these steps:28291. **Parse arguments**: Extract any filters from the arguments:30 - `--framework`: filter by framework (ftc, hipaa, gdpr, sec-482, sec-marketing, ccpa, coppa, can-spam)31 - `--severity`: filter by severity (critical, warning, info)32 - `--tag`: filter by metadata tag (e.g., disclosure, consent, endorsement, dark-pattern)33 - `--search`: free-text search across rule titles, summaries, and keywords34 - No arguments: show a summary of all frameworks, then ask what to explore35362. **Load rules**: Read `dist/index.json` from this repo.37383. **Apply filters**: Filter the `rules` array based on provided arguments. Multiple filters are combined with AND logic (e.g., `--framework ftc --severity critical` shows only critical FTC rules).39404. **Display results**:4142 **If no filters (summary mode)**:43 ```44 ## Available Compliance Rules4546 | Framework | Rules | Critical | Warning | Info |47 |-----------|-------|----------|---------|------|48 | FTC | 95 | X | Y | Z |49 | HIPAA | 17 | X | Y | Z |50 | ... | ... | ... | ... | ... |51 | **Total** | **208** | **X** | **Y** | **Z** |5253 Use `--framework`, `--severity`, `--tag`, or `--search` to filter.54 ```5556 **If filters applied**:57 ```58 ## Rules: [filter description]5960 **Showing**: [count] rules6162 | ID | Title | Severity | Framework | Tags |63 |----|-------|----------|-----------|------|64 | FTC-255-5-material-connection | Material Connection Disclosure | critical | ftc | endorsement, disclosure |65 | ... | ... | ... | ... | ... |6667 Use `/explain-rule <id>` to learn more about a specific rule.68 ```69705. **If no results match**: Report that no rules matched the filters and suggest broadening the search.7172## Notes7374- This is a discovery/reference skill — it helps users understand what rules are available.75- For validating content against rules, use `/validate-copy`, `/check-email`, or `/check-privacy-policy`.76- For detailed explanation of a specific rule, use `/explain-rule <id>`.