nia-docs
Search library documentation and code examples via Nia
- License 许可
- MIT
- 最近更新
- 2026-06-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- nia-docs
- description
- Search library documentation and code examples via Nia
- allowed-tools
- [ "Bash", "Read" ]
03 SKILL.md 正文
Nia Documentation Search
Search across 3000+ packages (npm, PyPI, Crates, Go) and indexed sources for documentation and code examples.
Usage
Semantic search in a package
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
--package fastapi --query "dependency injection"
Search with specific registry
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
--package react --registry npm --query "hooks patterns"
Grep search for specific patterns
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
--package sqlalchemy --grep "session.execute"
Universal search across indexed sources
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
--search "error handling middleware"
Options
| Option | Description |
|---|---|
--package |
Package name to search in |
--registry |
Registry: npm, py_pi, crates, go_modules (default: npm) |
--query |
Semantic search query |
--grep |
Regex pattern to search |
--search |
Universal search across all indexed sources |
--limit |
Max results (default: 5) |
Examples
# Python library usage
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
--package pydantic --registry py_pi --query "validators"
# React patterns
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
--package react --query "useEffect cleanup"
# Find specific function usage
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
--package express --grep "app.use"
Requires NIA_API_KEY in environment or nia server in mcp_config.json.
04 同仓库更多 Skills
workflow-router
Goal-based workflow orchestration - routes tasks to specialist agents based on user goals
wiring
Wiring Verification
websocket-patterns
Connection management, room patterns, reconnection strategies, message buffering, and binary protocol design.
visual-verdict
Screenshot comparison QA for frontend development. Takes a screenshot of the current implementation, scores it across multiple visual dimensions, and returns a structured PASS/REVISE/FAIL verdict with concrete fixes. Use when implementing UI from a design reference or verifying visual correctness.
verification-loop
Comprehensive verification system covering build, types, lint, tests, security, and diff review before a PR.
vector-db-patterns
Embedding strategies, ANN algorithms, hybrid search, RAG chunking strategies, and reranking for semantic search and retrieval.