sitemap-graph

Build URL-level link graphs from docs corpora and export JSON and Mermaid visualizations.

8|1|Updated Apr 20, 2018
One-click install
npx skills add https://github.com/Executioner1939/awesome-engineering-research --skill sitemap-graph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sitemap-graph
Source: https://github.com/Executioner1939/awesome-engineering-research/tree/main/.claude/skills/sitemap-graph
Command: npx skills add https://github.com/Executioner1939/awesome-engineering-research --skill sitemap-graph

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill converts a previously scraped docs corpus into a URL-level link graph so you can quickly see hubs, leaves, orphans, redirect behavior, and information flow.

Core Features & Use Cases

  • URL link-graph construction: Builds nodes and edges from each page’s outbound links and canonical URL metadata.
  • Sitemap visualizations: Exports both Mermaid diagrams and JSON graph data for further analysis or tooling.
  • Navigability and quality metrics: Computes hub/leaf/orphan pages, redirect chains, link asymmetry, and cluster structure to diagnose documentation topology.
  • Use case: After scraping a docs site, use this Skill to identify “overview” hub pages, find isolated/orphan pages, and pinpoint where navigation differs from actual hyperlink structure.

Quick Start

Run sitemap-graph for a captured topic corpus to produce sitemap.json and sitemap.mmd under the topic’s 40-graphs directory.

Frequently Asked Questions about sitemap-graph

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

FAQPage Schema
How do I visualize a sitemap link graph from scraped documentation?

You can visualize a sitemap link graph by processing a captured docs corpus to generate Mermaid diagrams and JSON graph data. This maps URL nodes and navigational edges to reveal information flow across pages.

How can I find orphan pages and redirect chains in my docs site architecture?

Finding orphan pages and redirect chains involves analyzing your scraped documentation corpus to compute navigability metrics. The generated graph identifies isolated nodes, redirect behavior, and link asymmetry across topic pages.

What is URL canonicalization for link topology analysis?

URL canonicalization for link topology analysis resolves scraped page targets to distinct graph nodes. It ensures accurate sitemap construction by emitting external nodes when targets fall outside the local corpus.

Does sitemap graph generation require a pre-scraped docs corpus?

Yes, sitemap graph generation requires a pre-scraped docs corpus with a _meta.md file. The Skill processes this captured data to build the URL-level link graph and output derived metrics.

What's the best way to identify hub pages and navigational link asymmetry?

The best way to identify hub pages and navigational link asymmetry is to generate derived metrics from your scraped docs. This computes cluster structures and highlights where navigation differs from actual hyperlink structure.

Can I export Mermaid diagrams and JSON graph data for further analysis?

You can export both Mermaid diagrams and JSON graph data for further analysis. The Skill outputs sitemap.mmd and sitemap.json files under the topic's 40-graphs directory for tooling and visualization.