review-laws

Synchronize CHP law package files by checking and fixing inconsistencies.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/code-highway-patrol/chp --skill review-laws
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-laws
Source: https://github.com/code-highway-patrol/chp/tree/main/.claude-plugin/plugins/chp/skills/review-laws
Command: npx skills add https://github.com/code-highway-patrol/chp --skill review-laws

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures that CHP law packages are consistent and synchronized across their files, preventing discrepancies and enforcing accurate enforcement.

Core Features & Use Cases

  • Consistency Check: Reviews and fixes inconsistencies in CHP law packages.
  • Synchronization: Ensures all files (law.json, verify.sh, guidance.md) are in sync.
  • Use Case: Before relying on an existing law for enforcement, use this Skill to verify its integrity.

Quick Start

Run the review-laws skill to check and fix law package inconsistencies.

Frequently Asked Questions about review-laws

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check consistency and synchronization across CHP law package files?

To check law package consistency, compare and synchronize the contents of `law.json`, `verify.sh`, and `guidance.md`. This ensures all files accurately reflect the intended enforcement logic and remain in sync.

Why are there discrepancies in my code enforcement logic between guidance and scripts?

Discrepancies in code enforcement logic occur when `law.json`, `verify.sh`, and `guidance.md` are updated independently. Running a consistency check compares these files to identify and fix misaligned enforcement rules.

What is the best way to synchronize `law.json` with `verify.sh` and `guidance.md`?

The best way to synchronize `law.json` with `verify.sh` and `guidance.md` is to run an automated consistency check that compares the files, identifies inconsistencies, and updates them to reflect the intended law enforcement logic.

Do I need write access to fix inconsistencies in law package files?

Yes, you need both read and write access to the law package files to fix inconsistencies. The synchronization process updates the files directly to ensure `law.json`, `verify.sh`, and `guidance.md` accurately reflect enforcement logic.

When should I run a consistency check on my law package?

You should run a consistency check before relying on an existing law for enforcement. This verifies the integrity of `law.json`, `verify.sh`, and `guidance.md`, preventing discrepancies and ensuring accurate enforcement.

Can I use this consistency check for law packages with missing `guidance.md` files?

This consistency check requires access to `law.json`, `verify.sh`, and `guidance.md` files to properly compare and synchronize enforcement logic. Missing files will prevent a complete synchronization of the law package.