blueprint-plugin/skills/blueprint-curate-docs/SKILL.md
Curate docs into ai_docs entries for AI context. Use when documenting library gotchas for PRP reuse or building a knowledge base under docs/blueprint/ai_docs/.
npx skillsauth add laurigates/claude-plugins blueprint-curate-docsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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" \|\| echo "NO" |
| List library docs | ls docs/blueprint/ai_docs/libraries/ 2>/dev/null |
| Check library version | grep "{library}" package.json pyproject.toml 2>/dev/null \| head -1 |
| 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.
testing
Verify accumulated bug claims at upstream HEAD and dedup against trackers before filing issues. Use when filing upstream reports from backlogs, audit docs, or git-history findings.
documentation
Gate outward-bound text (upstream issues, docs, PR bodies) through isolated haiku fresh-reader critique before publishing. Use when an artifact must survive a reader with zero project context.
tools
Suggest improvements to SKILL.md content, descriptions, or tool config from eval results. Use when raising pass rates, fixing triggering, or iterating on a skill after evaluation.
tools
deadbranch CLI for stale-branch cleanup — dry-run preview, TUI or non-interactive delete, protects main/develop/WIP. Use when asked to clean up branches, prune branches, or remove stale branches.