Logic Validator

Validate Mermaid diagrams against PRD inputs with weighted scoring.

5|1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/fabioeloi/omni-architect --skill logic-validator
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Logic Validator
Source: https://github.com/fabioeloi/omni-architect/tree/main/skills/logic-validate
Command: npx skills add https://github.com/fabioeloi/omni-architect --skill logic-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill validates the coherence between Mermaid diagrams generated from PRD inputs and the original PRD, reducing ambiguity and preventing design retracing.

Core Features & Use Cases

  • Coherence validation across multiple Mermaid diagrams against a single PRD source.
  • Weighted scoring across six criteria and generation of a detailed validation report.
  • Seamless integration as a sub-skill in the Omni Architect pipeline (Phase 3) to enforce automated quality gates.

Quick Start

Provide the parsed PRD from prd-parse and the diagrams from mermaid-gen to run the validator. Optional inputs like validation_mode and validation_threshold can be overridden to customize the run.

Frequently Asked Questions about Logic Validator

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

FAQPage Schema
How do I validate coherence between Mermaid diagrams and a PRD?▼

To validate coherence between Mermaid diagrams and a PRD, provide the parsed PRD and generated diagrams to run a weighted scoring check across six criteria, producing a detailed validation report.

What is the best way to check Mermaid diagram attributes against product requirements?▼

Checking Mermaid diagram attributes against product requirements is best handled by applying a weighted validation score across multiple features and stories, ensuring consistent relationships and generating a detailed report.

Can I run batch validation for multiple Mermaid diagrams derived from a single PRD?▼

Yes, you can run batch validation for multiple Mermaid diagrams against a single PRD source by configuring the validation mode to batch, which processes consistent attributes and relationships across features.

How does the weighted scoring mechanism work for PRD and diagram validation?▼

The weighted scoring mechanism evaluates coherence across six specific criteria, comparing Mermaid diagrams against the original PRD to output a detailed validation report with a configurable threshold.

Do I need a parsed PRD to start validating Mermaid diagrams?▼

Yes, you need a parsed PRD from a prd-parse step and diagrams from a mermaid-gen step to start validating, with optional overrides available for validation mode and threshold customization.

Why does my Mermaid diagram validation report show a low coherence score?▼

A low coherence score in your validation report indicates misaligned attributes or relationships between the Mermaid diagrams and the original PRD, caught by the weighted scoring across the six validation criteria.