business-rule-validator

Extracts business rules from PRDs into a rule catalog with per-rule tests and semantic-gap analysis.

1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/mytechsonamy/VibeFlow --skill business-rule-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: business-rule-validator
Source: https://github.com/mytechsonamy/VibeFlow/tree/main/skills/business-rule-validator
Command: npx skills add https://github.com/mytechsonamy/VibeFlow --skill business-rule-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill extracts business rules from PRDs and turns them into a structured, auditable catalog, ensuring every rule can be tracked and tested.

Core Features & Use Cases

  • Rule extraction from PRD to a business-rules.md catalog
  • Per-rule test generation (br-test-suite.test.ts)
  • Semantic-gap analysis vs existing tests
  • Enforce gate contract: zero uncovered P0 rules

Quick Start

Provide the PRD path and run the skill to generate the rule catalog, test suite, and semantic-gap report.

Frequently Asked Questions about business-rule-validator

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

FAQPage Schema
How do I extract business rules from PRDs for test generation?

To extract business rules from PRDs, you can use this skill to parse the document and automatically generate a structured, auditable rule catalog. It converts PRD requirements into a business-rules.md file for test generation.

What is semantic gap analysis in product requirement documents?

Semantic gap analysis identifies missing test coverage by comparing extracted business rules against existing tests. This skill generates a semantic-gaps.md report to highlight uncovered scenarios and ensure traceability.

How do I automatically generate a test suite from a PRD?

You can automatically generate a test suite from a PRD by providing the file path to this skill. It creates a br-test-suite.test.ts file containing per-rule tests linked to specific scenarios.

Can I enforce zero uncovered P0 rules in my PRD project?

Yes, you can enforce a gate contract for zero uncovered P0 rules. This skill operates on PRD-based projects to extract rules and perform semantic-gap analysis, ensuring all critical rules are tested.

What is the best way to link business rules to test scenarios?

The best way to link business rules to test scenarios is by generating an auditable catalog. This skill outputs a business-rules.md file and a br-test-suite.test.ts file, establishing clear traceability between rules and tests.