From blueprint-plugin
Curates optimized ai_docs entries for libraries (e.g., redis, pydantic) or project patterns, extracting use cases, operations, configs, gotchas via web research and codebase grep.
npx claudepluginhub laurigates/claude-plugins --plugin blueprint-pluginThis skill is limited to using the following tools:
Curate library or project documentation into ai_docs entries optimized for AI agents - concise, actionable, gotcha-aware context that fits in PRPs.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
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.