src/validation/SKILL.md
GNN advanced validation and consistency checking. Use when performing deep validation of GNN models, checking cross-model consistency, verifying structural integrity, or running validation reports.
npx skillsauth add activeinferenceinstitute/generalizednotationnotation gnn-validationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Performs advanced validation beyond basic type checking, including semantic validation, performance profiling, consistency checking, and comprehensive validation reporting.
# Run validation
python src/6_validation.py --target-dir input/gnn_files --output-dir output --verbose
# As part of pipeline
python src/main.py --only-steps 6 --verbose
from validation import (
SemanticValidator, process_semantic_validation,
PerformanceProfiler, profile_performance,
ConsistencyChecker, check_consistency,
process_validation
)
# Run full validation (used by pipeline)
result = process_validation(target_dir, output_dir, verbose=True)
# Semantic validation
validator = SemanticValidator()
result = process_semantic_validation(parsed_model)
# Consistency checking
checker = ConsistencyChecker()
result = check_consistency(parsed_models)
# Performance profiling
profiler = PerformanceProfiler()
result = profile_performance(parsed_model)
SemanticValidator / process_semantic_validation — Active Inference constraint validationPerformanceProfiler / profile_performance — model performance analysisConsistencyChecker / check_consistency — cross-model coherence checksprocess_validation — main pipeline processing functionoutput/6_validation_output/This module registers tools with the GNN MCP server (see mcp.py):
process_validationvalidate_gnn_fileget_validation_reportdevelopment
GNN static HTML website generation from pipeline artifacts. Use when generating browsable documentation websites, creating HTML galleries of model visualizations, or publishing pipeline results as a static site.
data-ai
GNN graph and matrix visualization generation. Use when creating network graph plots, matrix heatmaps, state space diagrams, or other visual representations of GNN models.
tools
GNN shared utility functions and helper modules. Use when working with common pipeline utilities, logging helpers, file I/O wrappers, path management, or pipeline template infrastructure.
testing
GNN syntax validation and resource estimation. Use when checking GNN model types, validating matrix dimensions, verifying state space consistency, or estimating computational resources for model execution.