doc-query
Installation
SKILL.md
doc-query: Codebase Documentation Query System
Description
The Skill(sdd-toolkit:doc-query) skill provides targeted query capabilities for machine-readable codebase documentation generated by the sdd doc generate command. It enables fast, structured lookups of classes, functions, modules, dependencies, and complexity metrics without parsing source code directly, plus advanced cross-reference tracking and call graph analysis.
Key Features
- Entity Lookup: Find classes, functions, and modules by exact name or regex pattern
- Cross-Reference Tracking: Find callers/callees, build call graphs, track class instantiations and imports
- Call Graph Analysis: Visualize function call relationships with configurable depth and direction
- Module Summaries:
describe-modulesurfaces docstrings, hot spots, dependencies, and key entities in one call - Structured Output: Commands return structured output ready for scripts or downstream tools
- Complexity Analysis: Identify refactoring candidates with configurable complexity thresholds
- Dependency Mapping: Understand module relationships and perform impact analysis
- Context Gathering: Smart context collection for specific tasks or feature areas
- Workflow Automation: High-level commands that combine multiple queries into single operations