extract-test-cases

Extract numerical examples from policy documents into structured YAML test cases.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Extracts concrete numerical examples from policy documents, streamlining the creation of test cases for compliance and policy analysis.

Core Features & Use Cases

  • Test Case Extraction: Identifies and extracts numerical examples from policy documents.
  • Domain Selection: Allows selection of specific domains or all available domains for test case extraction.
  • Input Validation: Ensures input documents and necessary manifests are present before extracting test cases.
  • Output Formatting: Outputs extracted test cases in a structured YAML format for use with testing frameworks.
  • Use Case: Automate the creation of test cases for compliance testing of government policy documents, saving time and reducing manual effort.

Quick Start

Run the skill by providing the domain, for example: /extract-test-cases finance

Frequently Asked Questions about extract-test-cases

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

FAQPage Schema
How do I extract numerical examples from policy documents for compliance testing?

To extract numerical examples from policy documents for compliance testing, use a skill that identifies relevant files based on program vocabulary, maps values to input fact field names, and outputs a structured YAML file of test cases. It requires access to domain-specific specs and input documents.

What is the best way to automate test case extraction from government policy documents?

Automating test case extraction from government policy documents involves identifying numerical examples and mapping values to input fact field names. This process outputs a structured YAML file, streamlining compliance testing and reducing manual effort.

Do I need domain-specific specs to extract test cases from policy documents?

Yes, you need domain-specific specs and input documents to extract test cases from policy documents. The skill validates that necessary manifests and input documents are present before extracting numerical examples and mapping them to structured YAML.

How do I map extracted values to input fact field names when parsing policy documents?

Mapping extracted values to input fact field names when parsing policy documents is handled by identifying relevant files based on source citations and program vocabulary. The skill automatically maps these values and outputs the results in structured YAML format.

What format does the policy document test case extraction output produce?

The policy document test case extraction produces a structured YAML file. This output format contains the extracted numerical examples mapped to input fact field names, designed for direct use with testing frameworks.

Can I select specific domains when extracting numerical examples from policy documents?

Yes, you can select specific domains or process all available domains when extracting numerical examples from policy documents. The skill allows domain selection, such as specifying finance, to target the test case extraction process.