gnn-website-generation
GNN static HTML website generation from pipeline artifacts. Use when generating browsable documentation websites, creating HTML galleries of model…
от ActiveInferenceInstitute★ 36 звёзд на GitHub
Установить gnn-website-generation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
GNN Website Generation (Step 20)
Purpose
Generates a static HTML website from pipeline artifacts including model visualizations, export data, analysis reports, and documentation. Creates a browsable, self-contained web experience.
Key Commands
# Generate website
python src/gnn/20_website.py --target-dir input/gnn_files --output-dir output --verbose
# As part of pipeline
python src/gnn/main.py --only-steps 20 --verbose
from gnn.website import (
WebsiteGenerator,
WebsiteRenderer,
generate_website,
process_website,
generate_html_report,
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)
# Module-level convenience (generator.py): generate_website(logger, input_dir, output_dir, *, pipeline_output_root=None)
result = generate_website(logger, target_dir, output_dir)
# WebsiteGenerator builds the 7-page site from a website_data dict
gen = WebsiteGenerator()
gen.generate_website({"input_dir": str(target_dir), "output_dir": str(output_dir)})
# Generate an individual HTML report (content: str, output_file: Path) -> bool
generate_html_report(content, output_path)
# Embed content (each returns bool)
embed_image(image_path, output_file)
embed_markdown_file(md_path, output_file)
# Query supported file types
types = get_supported_file_types()
Key Exports
WebsiteGenerator/WebsiteRenderer— website generation classesgenerate_website/process_website— main generation functionsgenerate_html_report— HTML report generation; takes content text and an output file path, returns True on successembed_image,embed_markdown_file,embed_text_file,embed_json_file,embed_html_filevalidate_website_config— configuration validation
Output
- Static HTML site in
output/20_website_output/ - Self-contained (no external dependencies at runtime)
MCP Tools
This module registers tools with the GNN MCP server (see mcp.py):
build_website_from_pipeline_outputget_website_module_infoget_website_pageget_website_statuslist_generated_website_pagesprocess_website
References
Documentation
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- AGENTS.md
- README.md
- SPEC.md
- __init__.py
- asset_transport.py
- collection.py
- evidence.py
- generator.py
- inspection.py
- mcp.py
- model_navigation.py
- pages.py
- processor.py
- renderer.py
- serve.py
- source_collection.py
- steps.py
- templates.py
FAQ
Что делает скилл gnn-website-generation?
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.
Как установить скилл gnn-website-generation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gnn-website-generation запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…