quality-gate

Validate knowledge candidates against schema and anti-pattern checks before vault insertion.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/ether-moon/knowledge-distillery --skill quality-gate-ether-moon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quality-gate
Source: https://github.com/ether-moon/knowledge-distillery/tree/main/plugins/knowledge-distillery/skills/quality-gate
Command: npx skills add https://github.com/ether-moon/knowledge-distillery --skill quality-gate-ether-moon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validates knowledge candidates against a defined quality protocol before vault insertion, ensuring only well-structured, evidence-backed rules enter the vault.

Core Features & Use Cases

  • Deterministic schema and anti-pattern checks: Verifies required fields, ensures alternative presence for anti-patterns, and enforces meaningful considerations.
  • Two-layer verification: Applies rule-based checks followed by LLM-based semantic judgments to assess evidence sufficiency and potential duplicates or conflicts.
  • Operational use case: Used in the Knowledge Distillery pipeline after candidate extraction to surface passes, failures, or conflicts for human review.

Quick Start

Invoke the quality-gate stage after knowledge-distillery:extract-candidates completes to validate candidates and determine if they will be inserted into the vault or queued for review.

Frequently Asked Questions about quality-gate

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

FAQPage Schema
How do I validate extracted knowledge candidates before inserting them into a vault?

You can validate knowledge candidates by applying deterministic schema checks and LLM-based judgments to ensure only well-structured, evidence-backed rules enter the vault. This process verifies required fields, enforces anti-pattern requirements, and assesses evidence framing.

What is a two-layer verification process for knowledge distillery pipelines?

A two-layer verification process applies rule-based deterministic checks for schema conformance and anti-patterns, followed by LLM-based semantic judgments to evaluate evidence sufficiency and identify potential duplicates or conflicts before vault insertion.

Can I use deterministic quality checks to enforce schema conformance and alternative presence for anti-patterns?

Yes, deterministic quality checks can verify required fields, ensure alternative presence for anti-patterns, and enforce meaningful considerations. These checks produce structured verdicts to determine if candidates pass or require human review.

What is the best way to surface knowledge extraction conflicts for human review?

The best way to surface conflicts is to use a quality gate that applies LLM-based semantic judgments to assess duplicates and produce structured verdicts with optional conflict curation, queueing failed candidates for human review.

Why does my knowledge candidate fail vault insertion despite passing schema validation?

A knowledge candidate may fail vault insertion if it does not meet LLM-based semantic judgments for evidence sufficiency, violates anti-pattern requirements, or triggers conflict detection, resulting in a structured verdict that queues it for review.