agent-sql-pro
Expert SQL developer specializing in complex query optimization, database design, and performance tuning across PostgreSQL,…
Single source of truth and librarian for ALL Claude official documentation. Manages local documentation storage, scraping, discovery, and resolution. Use when finding, locating, searching, or resolving Claude documentation; discovering docs by keywords, category, tags, or
$ npx -y skills add xiaoyuge886/aigc --skill docs-management --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/docs-managementContext preview
The summary Claude sees to decide when to auto-load this skill.
Single source of truth and librarian for ALL Claude official documentation. Manages local documentation storage, scraping, discovery, and resolution. Use when finding, locating, searching, or resolving Claude documentation; discovering docs by keywords, category, tags, or
name: docs-management description: Single source of truth and librarian for ALL Claude official documentation. Manages local documentation storage, scraping, discovery, and resolution. Use when finding, locating, searching, or resolving Claude documentation; discovering docs by keywords, category, tags, or natural language queries; scraping from sitemaps or docs maps; managing index metadata (keywords, tags, aliases); or rebuilding index from filesystem. Run scripts to scrape, find, and resolve documentation. Handles doc_id resolution, keyword search, natural language queries, category/tag filtering, alias resolution, sitemap.xml parsing, docs map processing, markdown subsection extraction for internal use, hash-based drift detection, and comprehensive index maintenance. allowed-tools: Read, Glob, Grep, Bash, Skill
> **STOP - Before using this skill for ANY Claude Code documentation query:** > > **IF YOU ARE THE MAIN AGENT**, you MUST invoke BOTH sources **in the same message**: > > 1. **This skill** (`docs-management`) - local cache, token-efficient > 2. **`claude-code-guide` subagent** - live web search > > ```text > [Skill tool: docs-management] > "Find documentation about {topic}" > > [Task tool: claude-code-guide] (SAME MESSAGE - USE THIS EXACT PROMPT) > "First WebFetch https://code.claude.com/docs/en/claude_code_docs_map.md to find > relevant doc pages about {topic}. Then WebFetch those specific pages. Use WebSearch > only if needed for additional context. Do NOT use Skill tool (not available). > Return key findings with source URLs." > ``` > > **⚠️ CRITICAL:** claude-code-guide does NOT have Skill tool access. Always prompt it > to use **WebSearch/WebFetch explicitly**. If you see "No such tool: Skill" error, > you prompted it wrong. > > **This is AUTOMATIC. Do NOT wait for user to ask for it.** > > **IF YOU ARE A SUBAGENT**: Note in your response that main agent should also query `claude-code-guide`.
---
**ABSOLUTE PROHIBITION: NEVER use `cd` with `&&` in PowerShell when running scripts from this skill.**
**The Problem:** If your current working directory is already inside the skill directory, using relative paths causes PowerShell to resolve paths relative to the current directory instead of the repository root, resulting in path doubling.
**REQUIRED Solutions (choose one):**
1. **✅ ALWAYS use helper scripts** (recommended - they handle path resolution automatically) 2. **✅ Use absolute path resolution** (if not using helper script) 3. **✅ Use separate commands** (never `cd` with `&&`)
**NEVER DO THIS:**
**For all scripts:** Always run from repository root using relative paths, OR use helper scripts that handle path resolution automatically.
The file exceeds 25,000 tokens and will ALWAYS fail. You MUST use scripts.
**✅ REQUIRED: ALWAYS use manage_index.py scripts for ANY index.yaml access:**
python scripts/management/manage_index.py count python scripts/management/manage_index.py list python scripts/management/manage_index.py get <doc_id> python scripts/management/manage_index.py verify
All scripts automatically handle large files via `index_manager.py`.
This skill provides three slash commands for common workflows:
This skill provides automation tooling for documentation management. It manages:
**Core value:** Prevents link rot, enables offline access, optimizes token costs, automates maintenance, and provides resilient doc_id-based references.
This skill should be used when:
> **CRITICAL: This section is the authoritative source for Claude Code documentation access patterns.**
**Skills cannot spawn subagents.** Only the main conversation thread can use the Task tool.
This means:
**If you are the main agent:**
Expert SQL developer specializing in complex query optimization, database design, and performance tuning across PostgreSQL,…
Perform data analysis tasks including data cleaning, statistical analysis, visualization, and insight generation. Use when the…
ECharts数据可视化专家,能够根据数据和分析需求生成专业的ECharts图表配置。适用于:数据可视化、图表生成、数据展示、趋势分析图表、对比图表、分布图表、饼图、柱状图、折线图、散点图、雷达图、热力图、仪表盘、漏斗图、树形图、关系图、桑基图、数据报表图表、…
Transform UI style requirements into production-ready frontend code with systematic design tokens, accessibility compliance, and…
综合智能代理系统,整合任务分析、规划和ReAct执行循环能力。当用户需要处理复杂任务、多步骤工作流或需要自主决策和反思的任务时使用。