Chuyển đến nội dung
Skillpedia
Lập trình chung33k · #8521

docs-search

Skill này làm gì

Skill này tìm trong tài liệu được tạo tự động của codebase các chữ ký hàm, lớp, API và chú thích. Skill dành cho lập trình viên muốn trợ lý kiểm tra các mẫu đúng trước khi viết code.

Khi nào nên dùng

  • ✓Khi lập trình viên yêu cầu trợ lý tra cứu một hàm hoặc kiểm tra API trước khi thay đổi code.
  • ✓Khi một thay đổi cần xác nhận trước chữ ký hoặc định nghĩa lớp đúng.
  • ✓Khi ai đó muốn tìm tài liệu cho một phần codebase theo từ khóa.

Liên kết skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-maestro/docs-search/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-maestro/docs-search/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tra cứu chữ ký hàm của API checkout trước khi bạn thay đổi bất cứ thứ gì.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill tìm trong tài liệu đã lập chỉ mục theo ý nghĩa hoặc từ khóa chính xác, và có thể lấy toàn bộ mục cho một kết quả. Tài liệu cần được lập chỉ mục trước.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

AI Maestro Documentation Search

Search your codebase's auto-generated documentation for function signatures, class definitions, API docs, and code comments. Verify correct patterns before writing code. Part of the AI Maestro suite.

Prerequisites

Requires AI Maestro running locally with documentation indexed.

# Install doc tools
git clone https://github.com/23blocks-OS/ai-maestro-plugins.git
cd ai-maestro-plugins && ./install-doc-tools.sh

Core Behavior

Before implementing any code changes, search docs first:

Receive instruction -> Search docs -> Then implement

Commands

Search

Command Description
docs-search.sh <query> Semantic documentation search
docs-search.sh --keyword <term> Exact keyword matching
docs-find-by-type.sh <type> Find by type (function, class, module)
docs-get.sh <doc-id> Get full document content

Index

Command Description
docs-index.sh [path] Full index from project
docs-index-delta.sh [path] Delta index (new/modified files only)
docs-list.sh List all indexed documents
docs-stats.sh Index statistics

Document Types

Type Sources
function JSDoc, RDoc, docstrings
class Class-level comments
module Module/namespace comments
interface TypeScript interfaces
component React/Vue component comments
readme README files
guide docs/ folder content

Usage Examples

# Semantic search
docs-search.sh "authentication flow"

# Keyword search for specific identifier
docs-search.sh --keyword "UserController"

# Find all class documentation
docs-find-by-type.sh class

# Get full document details
docs-get.sh doc-abc123

# Index your codebase (first time)
docs-index.sh /path/to/project

# Update index after changes
docs-index-delta.sh

Full AI Maestro Experience

This skill is part of the AI Maestro platform, which provides 6 skills for AI agent orchestration: messaging, memory, docs, graph, planning, and agent management.

Câu hỏi thường gặp

Nó có thể tìm những loại tài liệu nào?

Nó tìm các hàm, lớp và module, lấy từ chú thích tài liệu như JSDoc và docstring.

Làm sao cập nhật chỉ mục?

Chạy công cụ lập chỉ mục trên dự án, hoặc toàn bộ hoặc chỉ cho các tệp đã thay đổi.

Nó có cần AI Maestro không?

Có. Nó cần AI Maestro chạy cục bộ với tài liệu đã được lập chỉ mục.

Chi tiết

Mô tả gốc của tác giả

Search auto-generated codebase documentation for function signatures, API docs, class definitions, and code comments. Use when the user asks to "search docs", "find documentation", "look up a function", "check the API", or before implementing changes to verify correct signatures and patterns.

repo: davila7/claude-code-templates

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8521
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự