policyengine-parameter-patterns

Standardize PolicyEngine YAML parameter files with naming and metadata conventions.

31|6|Updated Oct 19, 2025
One-click install
npx skills add https://github.com/PolicyEngine/policyengine-claude --skill policyengine-parameter-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: policyengine-parameter-patterns
Source: https://github.com/PolicyEngine/policyengine-claude/tree/main/skills/technical-patterns/policyengine-parameter-patterns-skill
Command: npx skills add https://github.com/PolicyEngine/policyengine-claude --skill policyengine-parameter-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill codifies YAML parameter patterns with metadata standards to ensure consistent, well-documented parameter files.

Core Features & Use Cases

  • Metadata schema: Enforce unit, period, label, and reference fields.
  • Naming conventions: Clear file naming for amounts, rates, and thresholds.
  • Use Case: Create a standardized parameter file for a new state program.

Quick Start

Use the provided templates to add a new parameter with proper metadata and values.

Frequently Asked Questions about policyengine-parameter-patterns

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

FAQPage Schema
How do I standardize YAML parameter files with metadata requirements?

YAML parameter standardization enforces consistent structure across parameter files by requiring specific metadata fields (unit, period, label, reference), precise naming conventions (amount.yaml, rate.yaml, threshold.yaml), and strict formatting. This ensures parameter files remain valid, documented, and deployable across multi-state social assistance programs like TANF.

What metadata fields are required in PolicyEngine parameter files?

Required metadata includes unit (measurement type), period (time span), label (human-readable name), and reference (source documentation). Each field must follow strict formatting rules, including date validation and source verification, to maintain compliance with social assistance parameterization standards.

Can I use parameter patterns for dollar-amount values and rate-based calculations?

Yes, parameter patterns support both dollar-amount values and rate-based patterns through dedicated file naming conventions. Amount.yaml handles dollar thresholds, rate.yaml manages percentage or per-unit calculations, and threshold.yaml defines cutoff values, enabling flexible parameterization for different calculation types.

How do I validate parameter files during creation and deployment?

Validation checks that parameter files match required YAML structure, naming conventions, and complete metadata fields with correct date formatting and source validation. Enforcing these rules at creation prevents deployment failures and ensures consistent parameter application across state programs.

What's the proper file naming convention for parameter files?

Parameter files follow precise naming: amount.yaml for dollar-amount values, rate.yaml for rate-based patterns, and threshold.yaml for threshold values. This convention standardizes file discovery, deployment routing, and parameter interpretation across multi-state workflows.

When should I apply parameter pattern standards to policy documentation?

Apply parameter pattern standards when creating or updating social assistance program parameters, particularly in TANF workflows. Standards ensure parameters are discoverable, validated, properly documented with metadata, and ready for deployment without manual correction or revalidation.