Skip to content
design-index logo

Design Documentation Index Generator

design-index

Generate table of contents for design documentation. Use when creating navigation, documentation overview, or module index pages.

SKILL.md

Full skill instructions

Design Documentation Index Generator

Generates comprehensive table of contents and index pages for design documentation.

Overview

This skill scans design documentation, extracts metadata and headings, organizes documents by category/​status/​date, and generates indexes in various formats (Markdown, HTML, JSON). Use it to create navigation pages, documentation overviews, or structured indexes for design docs.

Quick Start

Generate module index:

/​design-index effect-type-registry

HTML navigation:

/​design-index all --format=html

Organize by status:

/​design-index module --organize-by=status

Parameters

Required

  • module: Module name to index (or "all" for all modules)

Optional

  • format: Output format (markdown, html, json) (default: markdown)
  • organize-by: Organization method (category, status, alphabetical, date) (default: category)
  • output: Output file path (default: stdout or INDEX.md)
  • include-sections: Include document sections (default: false)
  • depth: Heading depth to include (default: 2)

Workflow

High-level index generation process:

  1. Parse parameters to determine module, format, and organization
  2. Load design.config.json to get module paths
  3. Scan documentation files using Glob
  4. Extract metadata from frontmatter (status, category, completeness, dates)
  5. Parse headings up to specified depth
  6. Calculate statistics (lines, words, sections, code blocks)
  7. Organize documents by category/​status/​date/​alphabetical
  8. Generate index in requested format with statistics
  9. Output to file or stdout

For detailed implementation steps, see supporting documentation below.

Supporting Documentation

When you need detailed information, load the appropriate supporting file:

For Detailed Workflow

See instructions.md for:

  • Complete step-by-step index generation workflow
  • Metadata extraction and frontmatter parsing
  • Heading extraction algorithms
  • Statistics calculation methods
  • Organization strategies (category, status, alphabetical, date)
  • Format generation for Markdown, HTML, JSON
  • Output path resolution
  • Advanced features (cross-module indexes, filtering, auto-regeneration)

Load when: Generating indexes or need implementation details

For Templates

See templates.md for:

  • Markdown templates (minimal, standard, detailed)
  • HTML template with embedded CSS
  • JSON schema and structure
  • Statistics section templates
  • Format selection guidelines

Load when: Need output format specifications or template structure

For Usage Examples

See examples.md for:

  • Generate module index
  • HTML navigation for all modules
  • JSON index by status
  • Index with sections included
  • Alphabetical and date-based organization
  • Error scenarios (no docs, invalid organization)

Load when: User needs examples or clarification

Error Handling

No Documents Found

INFO: No design documents found in {module}

This module has no design documentation yet.
Run /​design-init to create your first design doc.

Invalid Organization Method

ERROR: Invalid organization method: {method}
Valid options: category, status, alphabetical, date

Integration

Works well with:

  • /​design-review - Review docs before indexing
  • /​design-validate - Ensure docs are valid
  • /​design-export - Export index with docs
  • /​design-update - Update docs then regenerate index

Success Criteria

A successful index:

  • ✅ All documents discovered
  • ✅ Metadata extracted correctly
  • ✅ Proper organization applied
  • ✅ Valid output format
  • ✅ Statistics accurate
  • ✅ Links working (for markdown/​HTML)
  • ✅ Output file created (if specified)

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View