src/template/SKILL.md
GNN pipeline template and initialization system. Use when creating new pipeline steps, bootstrapping project structure, or understanding the thin orchestrator pattern for GNN module development.
npx skillsauth add activeinferenceinstitute/generalizednotationnotation gnn-template-initInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Initializes the pipeline environment and provides the canonical template for creating new pipeline steps. This is the entry point for the 25-step GNN pipeline.
# Run template initialization
python src/0_template.py --target-dir input/gnn_files --output-dir output --verbose
# Use as part of full pipeline
python src/main.py --only-steps 0 --verbose
from template import (
process_template_standardized, process_single_file,
validate_file, generate_correlation_id,
safe_template_execution, demonstrate_utility_patterns,
get_version_info
)
# Process template step (used by pipeline)
result = process_template_standardized(target_dir, output_dir, logger)
# Process a single file
result = process_single_file(file_path, output_dir, logger)
# Validate a file
is_valid = validate_file(file_path)
# Generate correlation ID for tracing
corr_id = generate_correlation_id()
process_template_standardized — main pipeline processing functionprocess_single_file — process individual filevalidate_file — file validationgenerate_correlation_id — unique ID for pipeline tracingsafe_template_execution — execution with error handlingget_version_info — module version metadata# N_module.py — Thin orchestrator (<150 lines)
from utils.pipeline_template import create_standardized_pipeline_script
run_script = create_standardized_pipeline_script("N_module.py", process_func, "Description")
src/module/processor.pyThis module registers tools with the GNN MCP server (see mcp.py):
template.process_filetemplate.process_directorytemplate.get_infodevelopment
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.
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.