sc-index
Project Documentation
Create and maintain comprehensive project documentation, indexes, and knowledge bases.
When to use
- Creating project documentation
- Generating API documentation
- Mapping project structure
- Creating or updating README files
- Building knowledge bases for codebases
Instructions
Usage
/sc:index [target] [--type docs|api|structure|readme] [--format md|json|yaml]
Arguments
target- Project directory or specific component to document--type- Documentation type (docs, api, structure, readme)--format- Output format (md, json, yaml)--update- Update existing documentation
Execution
- Analyze project structure and identify key components
- Extract documentation from code comments and README files
- Generate comprehensive documentation based on type
- Create navigation structure and cross-references
- Output formatted documentation with proper organization
Claude Code Integration
- Uses Glob for systematic file discovery
- Leverages Grep for extracting documentation patterns
- Applies Write for creating structured documentation
- Maintains consistency with project conventions
More from htlin222/dotfiles
cpp
Write modern C++ with RAII, smart pointers, and STL. Use for C++ development, memory safety, or performance optimization.
130refactor
Refactor code for quality and maintainability. Use for cleanup and tech debt reduction.
74data-science
Data analysis, SQL queries, BigQuery operations, and data insights. Use for data analysis tasks and queries.
52c-lang
Write efficient C code with proper memory management and system calls. Use for C optimization, memory issues, or system programming.
46quarto-book
Generate Quarto Book project structure with chapters, configuration, and output settings. Use when user wants to create a book, multi-chapter document, technical manual, or asks about Quarto book setup.
45scientific-figure-assembly
Assemble multi-panel scientific figures with panel labels (A, B, C) at publication quality (300 DPI) using R. Use when combining individual plots into journal-ready figures.
43