No slash command · from blueprint-plugin
Detects when conversations should become structured documents (PRD, ADR, PRP) and guides users through the documentation workflow. Activates on feature requirements, architecture decisions, and implementation planning.
Ships in blueprint-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Proactively identify when conversations should become structured documents (PRDs, ADRs, or PRPs) and guide users through the documentation workflow.
| Use this skill when... | Use blueprint-derive-plans instead when... |
|---|---|
| Mid-conversation cues suggest a PRD/ADR/PRP should be captured | You're explicitly deriving plans (PRDs/ADRs/PRPs) from existing README/docs and git history |
| The user says "I want to build...", "users should be able to..." | Use blueprint-derive-plans instead when the cue is a tech-choice decision worth an ADR |
| The user compares trade-offs ("should we use X or Y?") | Use document-linking instead to wire IDs across already-created docs |
| Implementation scope is being discussed and warrants a PRP | Use blueprint-prp-create instead when you've already decided to author a PRP |
This skill is loaded when conversation context suggests documentation opportunities:
Document detection requires:
docs/blueprint/manifest.json exists)has_document_detection: true in manifest structuredocs/ directory structure createdCheck prerequisites before prompting:
# Verify blueprint is initialized with document detection enabled
jq -r '.structure.has_document_detection // false' docs/blueprint/manifest.json 2>/dev/null
Primary triggers (confidence +0.5 each):
Confidence boosters (+0.1-0.2 each):
Example triggers: references/example-triggers.md.
Primary triggers (confidence +0.5 each):
Confidence boosters (+0.1-0.2 each):
Example triggers: references/example-triggers.md.
Primary triggers (confidence +0.5 each):
Confidence boosters (+0.1-0.2 each):
Example triggers: references/example-triggers.md.
Threshold for prompting: >= 0.7
Base confidence: 0.0
+ Primary trigger matched: +0.5
+ Additional primary trigger: +0.3
+ Each booster matched: +0.1 to +0.2
Total >= 0.7 → Prompt user
Total < 0.7 → Continue without prompting
Examples:
When confidence >= 0.7, execute this flow:
Use AskUserQuestion to confirm document creation:
question: "This looks like a [PRD/ADR/PRP] opportunity. Would you like to document it?"
options:
- label: "Yes, create [document type]"
description: "I'll gather context and create the document"
- label: "Add to backlog"
description: "Record this topic for later documentation"
- label: "Not now, remind me later"
description: "Continue conversation, prompt again if topic expands"
- label: "No, just continue"
description: "Skip documentation for this topic"
For ADR opportunities, append the decision topic to the Proposed ADRs section in docs/adrs/README.md:
docs/adrs/README.md exists (create from template if missing)- [ ] {Decision topic} — {brief context from conversation} (identified {YYYY-MM-DD})
_No proposed ADRs at this time._ placeholder if present/blueprint:derive-plans when ready to document it fully."For PRD/PRP opportunities, note the topic in the conversation and suggest revisiting later. No persistent backlog file exists for these types yet.
Ask context-specific questions based on document type:
Use the PRD (primary users), ADR (constraints), or PRP (priority and scope) prompt from references/clarification-prompts.md.
Extract from conversation:
docs/prds/, docs/adrs/, docs/prps/)For ADR: Infer Domain
Map discussion topics to an ADR domain with the keyword table in references/adr-domains.md.
Include inferred domain in context package for /blueprint:derive-plans.
Launch appropriate documentation command:
For PRD:
Run /blueprint:derive-plans with context:
- Feature description from conversation
- User types identified
- Requirements enumerated
- Success criteria discussed
For ADR:
Run /blueprint:derive-plans with context:
- Decision being made
- Options compared
- Constraints identified
- Trade-offs discussed
- Inferred domain (for conflict analysis)
For PRP:
Run /blueprint:prp-create with context:
- Feature scope
- Implementation approach
- Test strategy discussed
- Files/components planned
After document creation:
docs/prds/, docs/adrs/, or docs/prps/)/blueprint:generate-rules to create implementation patterns"/blueprint:prp-execute when ready to implement"To avoid duplicate prompts, track detected topics:
Track declined topics: Don't re-prompt for explicitly declined documentation Track deferred topics: Re-prompt if significant new context is added (new requirements, new trade-offs, etc.) Track created documents: Don't re-prompt for topics with existing documents
Session tracking uses conversation memory - no persistent storage needed.
Document detection integrates with existing commands:
| Detection Type | Command Triggered | Document Location |
|---|---|---|
| PRD | /blueprint:derive-plans | docs/prds/{feature-name}.md |
| ADR | /blueprint:derive-plans | docs/adrs/{number}-{title}.md |
| PRP | /blueprint:prp-create | docs/prps/{feature-name}.md |
Document detection is controlled by manifest flag:
{
"structure": {
"has_document_detection": true
}
}
Enable during /blueprint:init or /blueprint:upgrade.
To minimize interruptions:
| Document | Key Triggers | Confidence Threshold |
|---|---|---|
| PRD | Feature descriptions, user stories, requirements lists | >= 0.7 |
| ADR | Technology comparisons, trade-off discussions, "why" questions | >= 0.7 |
| PRP | Implementation intent, file planning, specific feature scope | >= 0.7 |
| User Response | Action |
|---|---|
| "Yes, create" | Gather clarification, delegate to command |
| "Not now" | Track topic, re-prompt if expanded |
| "No, continue" | Mark declined, never re-prompt |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
35 skills in this plugin
/adr-relationshipsDomain analysis, conflict detection, and relationship validation for Architecture Decision Records. Use when creating or validating ADRs to ensure consistency./blueprint-adr-listList ADRs as a markdown table with title, status, date, domain. Use when generating an ADR index, auditing ADR status, or reviewing all architecture decisions./blueprint-adr-validateValidate ADR relationships, domain consistency, and duplicate ADR numbers. Use when auditing ADRs before release, finding broken supersedes/extends links, cycles, or number collisions./blueprint-autonomy-level3Install blueprint autonomy level 3 (ADR-0020): scheduled-autorun + approved-work-order-execution GitHub workflows. Use when enabling out-of-band blueprint automation in a repo./blueprint-autopilotRun due blueprint maintenance ambiently at autonomy level 2+. Use when a drift nudge reports blueprint tasks due or suggests /blueprint:autopilot./blueprint-claude-mdCLAUDE.md and CLAUDE.local.md from blueprint artifacts. Use when editing CLAUDE.md team instructions, converting inline content to @imports, or setting up CLAUDE.local.md.npx claudepluginhub laurigates/claude-plugins --plugin blueprint-pluginOther plugins' skills for the same job