validating-knowledge-structure

Validate knowledge graph constraints and schema conformance with PASS/WARN/FAIL reports.

13|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/vanderbilt-data-science/knowledge-spaces --skill validating-knowledge-structure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validating-knowledge-structure
Source: https://github.com/vanderbilt-data-science/knowledge-spaces/tree/main/.claude/skills/validating-knowledge-structure
Command: npx skills add https://github.com/vanderbilt-data-science/knowledge-spaces --skill validating-knowledge-structure

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validating Knowledge Structure identifies and enforces mathematical accuracy, educational plausibility, CbKST alignment, and schema conformance in knowledge graphs, ensuring readiness for downstream phases.

Core Features & Use Cases

  • Automated Validation: Runs systematic checks (transitivity, acyclicity, referential integrity) on knowledge graphs.
  • CbKST & Educational Checks: Verifies learning-space constraints, Bloom's level consistency, and orphan/structure balance.
  • Schema Compliance: Validates graphs against schemas/knowledge-graph.schema.json and related references.
  • Graph I/O: Reads and writes graphs located in graphs/*.json for integration with the KST pipeline.

Quick Start

Run the automated validation workflow on your graph with a path to the graph file, e.g., python3 scripts/kst_utils.py validate <graph-path>.

Frequently Asked Questions about validating-knowledge-structure

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

FAQPage Schema
How do I validate a knowledge graph for mathematical soundness and schema compliance?

You can validate a knowledge graph by running automated checks against schemas/knowledge-graph.schema.json to verify transitivity, acyclicity, and referential integrity, generating a PASS/WARN/FAIL report for structural soundness.

What is CbKST validation and how does it check learning paths?

CbKST validation checks learning-space constraints, Bloom's level consistency, and orphan structure balance across items, surmise relations, competences, and knowledge states to ensure educational plausibility.

Can I automatically fix errors found during knowledge graph validation?

Yes, you can resolve validation errors automatically using the integrated closure tool, which supports iterative refinement of your knowledge graph model directly within the validation workflow.

How do I check surmise relations and competences for acyclicity and transitivity?

Check surmise relations and competences by applying automated reasoning-based rules that test for mathematical constraints, reading your graph from graphs/*.json and validating against the JSON schema.

What file format and directory structure does knowledge space validation require?

Knowledge space validation requires JSON files located in the graphs/*.json directory structure, validating them against schemas/knowledge-graph.schema.json and related references for downstream pipeline readiness.

Why does my knowledge graph validation fail on schema conformance?

Knowledge graph validation fails on schema conformance when structural constraints like referential integrity or Bloom's level consistency are violated, producing a FAIL report that can be resolved using the closure tool.