design-search
Full-text search across design documentation. Use when looking for specific topics, decisions, or patterns documented across design docs.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Design Documentation Search
Searches across all design documentation to find relevant content, decisions, and patterns.
Overview
This skill provides full-text search across all design docs with filtering, ranking, and contextual results. Use it to quickly locate specific topics, architectural decisions, implementation patterns, or TODO items across the entire design documentation system.
Quick Start
Simple search:
/design-search "observability"
Filtered search:
/design-search "data flow" --category=architecture
Section-specific:
/design-search "performance" --section=Rationale
Parameters
Required
-
query- Search query (keywords or phrase)
Optional
-
module- Limit to specific module -
category- Filter by category (architecture, performance, etc.) -
status- Filter by status (stub, draft, current, etc.) -
section- Search only in specific sections -
context- Lines of context to show (default: 2)
Workflow
High-level search process:
- Parse query and filters from user request
- Load design.config.json to identify target modules
- Find documents matching filters (module, category, status)
- Execute search using Grep with appropriate context
- Extract metadata from document frontmatter
- Rank results by relevance, status, location, and recency
- Format output with context, metadata, and navigation
- Suggest related docs based on cross-references
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 search workflow
- Frontmatter parsing and metadata extraction
- Result ranking algorithm and scoring
- Navigation path generation
- Edge case handling (no results, too many results)
- Performance optimization strategies
- Output customization options
Load when: Performing search or need implementation details
For Query Syntax
See query-syntax.md for:
- Search strategies (keyword, multi-term, section-specific, metadata)
- Search patterns (find decisions, implementations, TODOs, trade-offs)
- Query operators (grep options, regex patterns)
- Best practices and performance tips
Load when: Performing complex searches or need query syntax reference
For Filter Options
See filter-options.md for:
- All filter parameters and their valid values
- Filtering process and frontmatter extraction
- Result ranking algorithm and factors
- Advanced features (cross-references, highlighting, grouping)
- Performance optimization techniques
Load when: Applying filters, ranking results, or need filtering details
For Usage Examples
See examples.md for:
- Complete search examples (simple, filtered, section-specific)
- Output format examples
- Multi-filter searches
- Special cases (no results, too many results)
- Finding decisions, implementations, and TODOs
Load when: User needs examples or clarification on search usage
Error Handling
No Results Found
INFO: No matches found for "{query}"
Suggestions:
- Try broader search terms
- Remove filters
- Check spelling
- Search for related terms
Too Many Results
WARNING: {count} results found (showing top 20)
Suggestions:
- Add filters (module, category, status)
- Use more specific search terms
- Search in specific section
Invalid Filter
ERROR: Invalid {filter-name}: "{value}"
Valid values: {valid-list}
Integration
Works well with:
-
/design-review- Review docs found in search -
/design-validate- Validate docs found -
/design-link- See relationships between search results -
/design-update- Update docs found in search
Success Criteria
A successful search:
- ✅ Finds all relevant matches
- ✅ Ranks results by relevance
- ✅ Provides sufficient context
- ✅ Shows document metadata
- ✅ Offers clear navigation paths
- ✅ Suggests related documents
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!