| description | Curate library gotchas and project patterns into .claude/rules/ entries for AI context. Use when documenting library knowledge for PRP reuse. |
| args | [library-name|project:pattern-name] |
| argument-hint | Library name (e.g., redis, pydantic) or project:pattern-name |
| allowed-tools | Read, Write, Glob, Bash, WebFetch, WebSearch, AskUserQuestion |
| model | opus |
| created | "2025-12-16T00:00:00.000Z" |
| modified | "2026-07-03T00:00:00.000Z" |
| reviewed | "2026-02-14T00:00:00.000Z" |
| name | blueprint-curate-docs |
/blueprint:curate-docs
Curate library or project documentation into .claude/rules/ entries optimized for AI agents — concise, actionable, gotcha-aware context that is auto-loaded into sessions and referenceable from PRPs.
Note: earlier blueprint versions wrote these entries to docs/blueprint/ai_docs/. That location is deprecated — .claude/rules/ is the canonical home for curated AI context, since rules are loaded by Claude Code natively and shared with every contributor.
Usage: /blueprint:curate-docs [library-name] or /blueprint:curate-docs project:[pattern-name]
When to Use This Skill
| Use this skill when... | Use alternative when... |
|---|
| Documenting library gotchas for PRP/context reuse | Reading raw documentation for ad-hoc tasks |
| Codifying project patterns as rules | One-time library usage |
Building a knowledge base under .claude/rules/ | General library research |
Context
- Rules directory: !
find . -maxdepth 2 -type d -name rules -path '*/.claude/*'
- Existing rules: !
find . -maxdepth 3 -path '*/.claude/rules/*' -name "*.md" -type f
- Rules path override: !
find . -maxdepth 3 -path '*/docs/blueprint/manifest.json' -exec jq -r '.structure.generated_rules_path // ".claude/rules/"' {} +
- Library in dependencies: !
find . -maxdepth 1 \( -name package.json -o -name pyproject.toml -o -name requirements.txt \) -exec grep -m1 "^$1[\":@=]" {} +
Parameters
Parse $ARGUMENTS:
library-name: Name of library to document (e.g., redis, pydantic)
- Location:
$RULES_DIR/lib-[library-name].md
- OR
project:[pattern-name] for project patterns
- Location:
$RULES_DIR/[pattern-name].md
$RULES_DIR is structure.generated_rules_path from docs/blueprint/manifest.json when set, otherwise .claude/rules/.
Execution