law-generate

Generate machine-readable law logic from Dutch YAML files with schema validation.

20|4|Updated Nov 10, 2025
One-click install
npx skills add https://github.com/MinBZK/regelrecht --skill law-generate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: law-generate
Source: https://github.com/MinBZK/regelrecht/tree/main/.claude/skills/law-generate
Command: npx skills add https://github.com/MinBZK/regelrecht --skill law-generate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates machine_readable execution logic for Dutch law YAML files through an iterative generate-validate-test loop. Creates machine_readable sections, validates against the schema, runs BDD tests, and iterates until correct (up to 3 iterations). Use this skill proactively when: editing or creating machine_readable sections in law YAML files, working with corpus regulation files, or when user mentions 'generate', 'machine_readable', or wants to make a law executable. Activate automatically when user discusses law YAML files that need executable logic.

Core Features & Use Cases

  • Iterative Generate-Validate-Test loop to create machine_readable sections from law YAMLs.
  • Schema-driven validation and BDD test integration to ensure correct executable logic.
  • Guidance for integrating with corpus regulation files and cross-law references, with auto-activation when users discuss relevant terms.

Quick Start

Provide a Dutch law YAML file and initiate the generate-validate-test workflow to produce executable machine_readable sections.

Frequently Asked Questions about law-generate

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

FAQPage Schema
How do I generate machine-readable logic from Dutch law YAML files?

To generate machine-readable logic from Dutch law YAML files, use an iterative generate-validate-test loop that creates executable sections, enforces schema compliance, and runs BDD tests up to three times until correct.

What is the generate-validate-test cycle for executable law generation?

The generate-validate-test cycle for executable law generation is an iterative workflow that creates machine-readable sections, validates them against the schema, and runs BDD tests to surface errors for repair and refinement.

How do I validate schema compliance and run BDD tests for law YAML files?

Schema validation and BDD testing for law YAML files occur automatically within the generate-validate-test cycle, enforcing schema compliance and running behavioral tests to ensure the machine-readable logic is correct.

Can I use automated law generation for editing existing machine-readable sections?

Automated law generation supports both creating and editing existing machine-readable sections in law YAML files by proactively activating when it detects edits to corpus regulation files or relevant generation terms.

What are the limitations of iterative law generation with YAML processing?

A limitation of iterative law generation is that the generate-validate-test loop runs a maximum of three iterations, after which it surfaces remaining results for manual repair and refinement instead of continuing automatically.

Do I need prior schema definitions to make Dutch law executable?

Schema definitions are required to make Dutch law executable, as the generation process relies on schema-driven validation to ensure the machine-readable output complies with the expected structure before running BDD tests.