generate-sitemap

Generate hierarchical sitemaps from a site path in Mermaid, XML, SVG, or Markdown formats.

120|34|Updated May 9, 2025
One-click install
npx skills add https://github.com/dandye/ai-runbooks --skill generate-sitemap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-sitemap
Source: https://github.com/dandye/ai-runbooks/tree/main/skills/generate-sitemap
Command: npx skills add https://github.com/dandye/ai-runbooks --skill generate-sitemap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate a hierarchical sitemap from a site path to visualize information architecture.

Core Features & Use Cases

  • Build a hierarchical tree of folders and pages from PATH.
  • Identify index or home pages for sections to anchor navigation.
  • Generate visual representations in Mermaid graphs, XML sitemaps, SVG diagrams, or Markdown-based formats for documentation.
  • Support optional cross-references to reveal non-hierarchical relationships between pages.

Quick Start

Traverse the PATH directory and generate a hierarchical sitemap in Mermaid format.

Frequently Asked Questions about generate-sitemap

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

FAQPage Schema
How do I generate a visual sitemap from a directory path?

To generate a visual sitemap from a directory path, traverse the site structure to build a hierarchical tree of folders and pages, identifying index pages to anchor navigation and outputting diagrams in formats like Mermaid or SVG.

What is the best way to visualize website information architecture for planning?

Visualizing website information architecture is best achieved by mapping site paths into hierarchical trees and generating Mermaid graphs or SVG diagrams, which clearly reveal content relationships and navigation anchors for planning and audits.

Can I output an XML sitemap from my site's directory structure?

Yes, you can output an XML sitemap from your site's directory structure by traversing the path to map page hierarchies and selecting XML as the output format during generation.

Does this sitemap generator support cross-references for non-hierarchical page relationships?

Yes, this sitemap generator supports optional cross-references, allowing you to reveal non-hierarchical relationships and complex content dependencies between pages alongside the primary navigation tree.

What formats are available for documenting website navigation maps?

Available formats for documenting website navigation maps include Mermaid graphs for visual diagrams, XML for search engines, SVG for scalable graphics, and Markdown for text-based documentation.