重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
blueprint-curate-docs by laurigates/claude-plugins
npx skills add https://github.com/laurigates/claude-plugins --skill blueprint-curate-docs包含 Shell 命令
此技能包含可能执行系统命令的 shell 命令指令(!命令``)。安装前请仔细审查。
将库或项目文档整理成针对 AI 代理优化的 ai_docs 条目——简洁、可操作、了解注意事项,适合放入 PRP 的上下文。
用法 : /blueprint:curate-docs [库名称] 或 /blueprint:curate-docs project:[模式名称]
| 使用此技能当... | 使用替代方案当... |
|---|---|
| 为 PRP 上下文创建 ai_docs 时 | 为临时任务阅读原始文档时 |
| 记录库模式以供重用时 | 一次性使用库时 |
| 为项目构建知识库时 | 进行通用库研究时 |
find docs/blueprint -maxdepth 1 -name 'ai_docs' -type d广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
find docs/blueprint/ai_docs/libraries -name "*.md" -type ffind docs/blueprint/ai_docs/project -name "*.md" -type ffind . -maxdepth 1 \( -name package.json -o -name pyproject.toml -o -name requirements.txt \) -exec grep -m1 "^$1[\":@=]" {} +解析 $ARGUMENTS:
library-name: 要记录的库名称(例如,redis, pydantic)
docs/blueprint/ai_docs/libraries/[library-name].mdproject:[pattern-name] 用于项目模式docs/blueprint/ai_docs/project/[pattern-name].md执行完整的文档整理工作流:
对于库:
对于项目模式:
grep -r "{pattern}" src/注意事项来源:GitHub issues、Stack Overflow、团队经验、官方文档警告。
在适当位置生成文件(参见 REFERENCE.md):
docs/blueprint/ai_docs/libraries/[library-name].md 或docs/blueprint/ai_docs/project/[pattern-name].md包含模板中的所有章节:快速参考、我们使用的模式、配置、注意事项、测试、示例。
总行数保持在 200 行以内。
包含可直接复制粘贴的代码片段,来源:
更新 docs/blueprint/manifest.json 中的任务注册表条目:
jq --arg now "$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
--argjson processed "${ITEMS_PROCESSED:-0}" \
--argjson created "${ITEMS_CREATED:-0}" \
'.task_registry["curate-docs"].last_completed_at = $now |
.task_registry["curate-docs"].last_result = "success" |
.task_registry["curate-docs"].stats.runs_total = ((.task_registry["curate-docs"].stats.runs_total // 0) + 1) |
.task_registry["curate-docs"].stats.items_processed = $processed |
.task_registry["curate-docs"].stats.items_created = $created' \
docs/blueprint/manifest.json > tmp.json && mv tmp.json docs/blueprint/manifest.json
| 上下文 | 命令 |
|---|---|
| 检查 ai_docs 是否存在 | `test -d docs/blueprint/ai_docs && echo "YES" |
| 列出库文档 | ls docs/blueprint/ai_docs/libraries/ 2>/dev/null |
| 检查库版本 | `grep "{library}" package.json pyproject.toml 2>/dev/null |
| 搜索模式 | 对 src/ 使用 grep 搜索项目模式 |
| 快速研究 | 使用 WebSearch 查找常见问题,而不是获取文档 |
有关 ai_docs 模板、章节指南和示例条目,请参阅 REFERENCE.md。
每周安装次数
49
代码仓库
GitHub Stars
23
首次出现
2026年2月9日
安全审计
安装于
opencode49
gemini-cli49
github-copilot49
codex49
amp49
cline49
Contains Shell Commands
This skill contains shell command directives (!command``) that may execute system commands. Review carefully before installing.
Curate library or project documentation into ai_docs entries optimized for AI agents - concise, actionable, gotcha-aware context that fits in PRPs.
Usage : /blueprint:curate-docs [library-name] or /blueprint:curate-docs project:[pattern-name]
| Use this skill when... | Use alternative when... |
|---|---|
| Creating ai_docs for PRP context | Reading raw documentation for ad-hoc tasks |
| Documenting library patterns for reuse | One-time library usage |
| Building knowledge base for project | General library research |
find docs/blueprint -maxdepth 1 -name 'ai_docs' -type dfind docs/blueprint/ai_docs/libraries -name "*.md" -type ffind docs/blueprint/ai_docs/project -name "*.md" -type ffind . -maxdepth 1 \( -name package.json -o -name pyproject.toml -o -name requirements.txt \) -exec grep -m1 "^$1[\":@=]" {} +Parse $ARGUMENTS:
library-name: Name of library to document (e.g., redis, pydantic)
docs/blueprint/ai_docs/libraries/[library-name].mdproject:[pattern-name] for project patternsdocs/blueprint/ai_docs/project/[pattern-name].mdExecute complete documentation curation workflow:
For libraries :
For project patterns :
grep -r "{pattern}" src/Sources for gotchas: GitHub issues, Stack Overflow, team experience, official docs warnings.
Generate file at appropriate location (see REFERENCE.md):
docs/blueprint/ai_docs/libraries/[library-name].md ORdocs/blueprint/ai_docs/project/[pattern-name].mdInclude all sections from template: Quick Reference, Patterns We Use, Configuration, Gotchas, Testing, Examples.
Keep under 200 lines total.
Include copy-paste-ready code snippets from:
Update the task registry entry in docs/blueprint/manifest.json:
jq --arg now "$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
--argjson processed "${ITEMS_PROCESSED:-0}" \
--argjson created "${ITEMS_CREATED:-0}" \
'.task_registry["curate-docs"].last_completed_at = $now |
.task_registry["curate-docs"].last_result = "success" |
.task_registry["curate-docs"].stats.runs_total = ((.task_registry["curate-docs"].stats.runs_total // 0) + 1) |
.task_registry["curate-docs"].stats.items_processed = $processed |
.task_registry["curate-docs"].stats.items_created = $created' \
docs/blueprint/manifest.json > tmp.json && mv tmp.json docs/blueprint/manifest.json
| Context | Command |
|---|---|
| Check ai_docs exists | `test -d docs/blueprint/ai_docs && echo "YES" |
| List library docs | ls docs/blueprint/ai_docs/libraries/ 2>/dev/null |
| Check library version | `grep "{library}" package.json pyproject.toml 2>/dev/null |
| Search for patterns | Use grep on src/ for project patterns |
| Fast research | Use WebSearch for common issues instead of fetching docs |
For ai_docs template, section guidelines, and example entries, see REFERENCE.md.
Weekly Installs
49
Repository
GitHub Stars
23
First Seen
Feb 9, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode49
gemini-cli49
github-copilot49
codex49
amp49
cline49
GitHub Actions 官方文档查询助手 - 精准解答 CI/CD 工作流问题
53,800 周安装