Blueprint archive

From rp1-run/rp1 · View interactive version

Blueprint archive is an AI agent skill from the GitHub repository rp1-run/rp1. Archives a completed PRD to the archives directory with associated features and closure summary.

How to use this skill

Skill file

PRD Archive

Archives completed PRD docs from active -> archives dir with associated features.

Usage

/rp1-dev:blueprint-archive <prd-name>

Behavior

Execution

Step 1: Scan PRD

{% dispatch_agent "rp1-dev:prd-archiver" %}

MODE: scan

PRD_NAME: {PRD_NAME}

KB_ROOT: {kbRoot}

WORK_ROOT: {workRoot}

{% enddispatch_agent %}

Step 2: Handle Scan Response

Parse JSON response from agent.

Error Response (type: "error"):

{"type":"error","message":"...","available_prds":["prd1","prd2"]}

Output error message with available PRDs list, then STOP.

Needs Confirmation (type: "needs_confirmation"):

{
  "type": "needs_confirmation",
  "prd_name": "...",
  "prd_title": "...",
  "associated_features": [...],
  "message": "..."
}

Continue to Step 3.

Step 3: Confirm Closure Status

{% ask_user "Archive PRD '{PRD_NAME}' ({prd_title})? {message}", options: "Yes - Objectives fully met", "Partial - Some objectives met", "No - Cancel" %}

Handle response:

Step 4a: Document Gaps (Partial Only)

{% ask_user "Document the gaps or unmet objectives:" %}

Capture response as GAPS.

Step 4: Execute Archive

{% dispatch_agent "rp1-dev:prd-archiver" %}

MODE: archive

PRD_NAME: {PRD_NAME}

CLOSURE_STATUS: {complete|partial}

GAPS: {user-provided gaps or empty}

KB_ROOT: {kbRoot}

WORK_ROOT: {workRoot}

{% enddispatch_agent %}

Step 5: Report

Display agent success output directly. Include:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.