src/website/SKILL.md
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.
npx skillsauth add activeinferenceinstitute/generalizednotationnotation gnn-website-generationInstall 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.
Generates a static HTML website from pipeline artifacts including model visualizations, export data, analysis reports, and documentation. Creates a browsable, self-contained web experience.
# Generate website
python src/20_website.py --target-dir input/gnn_files --output-dir output --verbose
# As part of pipeline
python src/main.py --only-steps 20 --verbose
from website import (
WebsiteGenerator, WebsiteRenderer,
generate_website, process_website,
generate_html_report, get_module_info,
embed_image, embed_markdown_file, embed_text_file,
get_supported_file_types, validate_website_config
)
# Process website step (used by pipeline)
process_website(target_dir, output_dir, verbose=True)
# Use the WebsiteGenerator class
gen = WebsiteGenerator()
generate_website(artifacts_dir, output_dir)
# Generate individual HTML report
generate_html_report(data, output_path)
# Embed content
embed_image(image_path, html_output)
embed_markdown_file(md_path, html_output)
# Query supported file types
types = get_supported_file_types()
WebsiteGenerator / WebsiteRenderer — website generation classesgenerate_website / process_website — main generation functionsgenerate_html_report — HTML report generationembed_image, embed_markdown_file, embed_text_file, embed_json_file, embed_html_filevalidate_website_config — configuration validationoutput/20_website_output/This module registers tools with the GNN MCP server (see mcp.py):
process_websitebuild_from_pipeline_outputget_website_statusdata-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.
testing
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.
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.