generate-sitemap
Installation
SKILL.md
Generate Sitemap Skill
Generate a hierarchical representation of the site structure and navigation maps. This skill visualizes the information architecture to support user experience design and content organization.
Inputs
PATH- The root directory of the project or site (e.g., "/project")HIERARCHICAL- (Optional) Boolean, whether to strictly follow directory hierarchy (default: true)CROSS_REFERENCES- (Optional) Boolean, whether to include cross-links between pages (default: false)EXPORT_FORMAT- (Optional) Output format: "markdown", "xml", "svg", "mermaid" (default: "mermaid")
Workflow
Step 1: Structure Traversal
Traverse the PATH to understand the directory and file structure.
- Build a tree representation of folders and files.
- Identify "index" or "home" pages for each section.