一键导入
design-index
Generate table of contents for design documentation. Use when creating navigation, documentation overview, or module index pages.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate table of contents for design documentation. Use when creating navigation, documentation overview, or module index pages.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate cross-reference graph showing relationships between design documents. Use when visualizing doc dependencies, finding related docs, or understanding documentation structure.
Validate design doc structure and frontmatter. Use when checking design docs for compliance, ensuring proper formatting, or verifying metadata before commits.
Comprehensive quality audit for CLAUDE.md context files. Use when performing thorough quality checks, preparing for releases, ensuring context efficiency, or verifying token optimization.
Style rules for LLM context files (CLAUDE.md, AGENTS.md and their .local variants). Fires automatically when these files are opened. Enforces on-demand loading patterns, proper @-reference syntax and lean context structure.
Split large CLAUDE.md into child files. Use when context files exceed word limits, are too verbose, or cover multiple distinct topics that should be separate.
Validate CLAUDE.md structure, formatting, and quality. Use when checking context files for compliance, ensuring proper structure, or verifying before commits.
| name | design-index |
| description | Generate table of contents for design documentation. Use when creating navigation, documentation overview, or module index pages. |
| allowed-tools | Read, Glob, Bash(grep *), Bash(wc *), Bash(awk *) |
| context | fork |
| agent | design-doc-agent |
Generates comprehensive table of contents and index pages for design documentation.
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.
Generate module index:
/design-docs:design-index effect-type-registry
HTML navigation:
/design-docs:design-index all --format=html
Organize by status:
/design-docs:design-index module --organize-by=status
module: Module name to index (or "all" for all modules)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)High-level index generation process:
For detailed implementation steps, see supporting documentation below.
When you need detailed information, load the appropriate supporting file:
See instructions.md for:
Load when: Generating indexes or need implementation details
See templates.md for:
Load when: Need output format specifications or template structure
See examples.md for:
Load when: User needs examples or clarification
INFO: No design documents found in {module}
This module has no design documentation yet.
Run /design-docs:design-init to create your first design doc.
ERROR: Invalid organization method: {method}
Valid options: category, status, alphabetical, date
Works well with:
/design-docs:design-review - Review docs before indexing/design-docs:design-validate - Ensure docs are valid/design-docs:design-export - Export index with docs/design-docs:design-update - Update docs then regenerate indexA successful index: