create-tests

Automate creation and updating of test cases for Catala modules.

1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/navapbc/lockpicks-xlator-plugin --skill create-tests-navapbc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-tests
Source: https://github.com/navapbc/lockpicks-xlator-plugin/tree/main/xl-plugin/skills/create-tests
Command: npx skills add https://github.com/navapbc/lockpicks-xlator-plugin --skill create-tests-navapbc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of test cases for Catala modules, streamlining the process of testing and ensuring code quality.

Core Features & Use Cases

  • Test Case Generation: Automatically generates test cases based on the specifications and naming manifest of a Catala module.
  • Mode Detection: Identifies whether to create new test cases or update existing ones based on the current state of the module.
  • Integration with Rule Extraction: Integrates with the rule extraction process to ensure test cases are up-to-date with the latest rulesets.

Quick Start

Run the 'create-tests' skill with the domain and program name to generate or update test cases. For example: create-tests <domain> <program>

Frequently Asked Questions about create-tests

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

FAQPage Schema
How do I automate test case generation for Catala modules?

Automating test case generation for Catala modules involves running a script that reads the module's specifications and naming manifest to automatically create the necessary test cases. This process detects whether to generate new tests or update existing ones to ensure code quality.

What is rules-as-code testing and how does it work with Catala?

Rules-as-code testing with Catala involves automatically generating test cases from legislative specifications and naming manifests. The system identifies whether to create new tests or update existing ones, integrating directly with rule extraction processes to maintain synchronization with the latest rulesets.

Can I automatically update existing test cases when my Catala rulesets change?

Yes, you can update existing test cases when Catala rulesets change by running an automated test creation script. It detects the current state of the module and integrates with the rule extraction process to ensure all test cases remain up-to-date with the latest rules.

Do I need a naming manifest to generate automated tests for Catala programs?

Yes, a naming manifest is required to generate automated tests for Catala programs. The test case generation process relies on the module's specifications and naming manifest to accurately detect whether to create new test cases or update existing ones based on the current state.

What is the best way to maintain software quality in Catala rules-as-code projects?

The best way to maintain software quality in Catala rules-as-code projects is to automate test case creation and updates. By integrating test generation with the rule extraction process, you ensure test cases consistently reflect the latest rulesets and module specifications without manual overhead.