test-rules

Automate regression testing of rule definitions from tests/rules/*.test.md files.

Updated Jun 1, 2025
One-click install
npx skills add https://github.com/Yokhan/yokhanFitnessDocsWebsite --skill test-rules-yokhan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-rules
Source: https://github.com/Yokhan/yokhanFitnessDocsWebsite/tree/main/.claude/skills/test-rules
Command: npx skills add https://github.com/Yokhan/yokhanFitnessDocsWebsite --skill test-rules-yokhan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Regression testing of rule definitions to ensure domain rules are enforced and anti-patterns are prevented.

Core Features & Use Cases

  • Automates loading and evaluation of test cases from tests/rules/*.test.md
  • Reports PASS/FAIL results with a summarized score
  • Integrates into CI/workflows for /benchmark and weekly checks

Quick Start

Run the regression test suite for rule definitions to verify domain health, science, and software.

Frequently Asked Questions about test-rules

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

FAQPage Schema
What is regression testing for domain rules and why is it needed?

Regression testing for domain rules loads test cases from tests/rules/*.test.md files, evaluates them against expected results, and reports a PASS or FAIL outcome. It ensures domain rules are enforced and anti-patterns are prevented across health, science, and software domains.

How do I automate regression tests for my domain rule definitions?

You automate regression tests for domain rules by loading test cases from tests/rules/*.test.md files, evaluating outcomes against expected results, and generating a summarized PASS or FAIL score. This verifies rule health during weekly retrospectives and benchmarks.

Can I integrate rule regression testing into my CI workflow for benchmarks?

Yes, you can integrate rule regression testing into CI workflows for benchmarks and weekly checks. It automates loading and evaluating test cases from tests/rules/*.test.md, reporting PASS or FAIL results to verify domain health continuously.

What file format is required for domain rule test cases?

Domain rule test cases must be Markdown files using the .test.md extension, located in the tests/rules/ directory. The regression test suite loads these files to evaluate outcomes against expected results and generate a summarized PASS or FAIL score.

Does this regression testing tool require external dependencies?

No, this regression testing tool requires no external dependencies. It independently loads test cases from tests/rules/*.test.md files, evaluates outcomes against expected results, and reports a summarized PASS or FAIL score for domain rule health.