AgentSkillsCN

mags-docs-search

对项目文档进行校验。

SKILL.md
--- frontmatter
name: mags-docs-search
description: Search across all project documents
argument-hint: "<query>"
version: 1.0.0
user-invocable: true
allowed-tools:
  - mcp__mags_mags__mags_search_docs

MAGS Docs Search

Search across all project documents using full-text search.

Usage

code
/mags-docs-search <query>

Steps

  1. Parse the query from the argument.
  2. Call mags_search_docs with the query string.
  3. Display results ranked by relevance:
    code
    == Search: "<query>" ==
    
    1. docs/architecture/overview.md
       ...matching excerpt with context...
    
    2. docs/rules/backend.md
       ...matching excerpt with context...
    
    Found <N> results.
    
  4. If no results, suggest: "No matches. Try broader terms or run /mags-docs to browse."