Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

blueprint-derive-plans蓝图导出计划

Agent Skill

blueprint-derive-plans 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,322

周安装

54

GitHub Stars

28

下载量

428
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:blueprint-derive-plans(蓝图导出计划)
来源仓库:https://github.com/laurigates/claude-plugins
仓库路径:skills/blueprint-derive-plans
安装命令:
npx skills add https://github.com/laurigates/claude-plugins --skill blueprint-derive-plans
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/laurigates/claude-plugins --skill blueprint-derive-plans

简介

blueprint-derive-plans 用于从现有项目的 git 历史和实现中逆向生成蓝图文档。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。
  • 分析代码结构、依赖关系和文档,生成 PRD、ADR 和 PRP 等标准化文档。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

/blueprint:derive-plans

Retroactively generate Blueprint documentation (PRDs, ADRs, PRPs) from an existing established project by analyzing git history, codebase structure, and existing documentation.

Use case: Onboarding established projects into the Blueprint Development system when PRD/ADR/PRP documents don't exist but the project has implementation history.

When to Use This Skill

Use this skill when...Use alternative when...
Project has git history but no PRDs/ADRs/PRPsStarting a brand new project with no history
Onboarding an established project to BlueprintCreating a fresh PRD from scratch with user guidance
Need to extract features from commit historyProject lacks conventional commits and clear history
Want to document architecture decisions retroactivelyDecisions are already fully documented

Context

  • Git repository:!git rev-parse --git-dir
  • Blueprint initialized:!find docs/blueprint -maxdepth 1 -name 'manifest.json' -type f
  • Total commits:!git rev-list --count HEAD
  • First commit:!git log --reverse --format=%ai --max-count=1
  • Latest commit:!git log --max-count=1 --format=%ai
  • Project type:!find. -maxdepth 1 \(-name 'package.json' -o -name 'pyproject.toml' -o -name 'Cargo.toml' -o -name 'go.mod' -o -name 'pom.xml' \) -type f -print -quit
  • Documentation files:!find. -maxdepth 2 \(-name "README.md" -o -name "ARCHITECTURE.md" -o -name "DESIGN.md" \)

Parameters

Parse these from $ARGUMENTS:

  • --quick: Fast scan (last 50 commits only)
  • --since DATE: Analyze commits from specific date (e.g., --since 2024-01-01)

Default behavior without flags: Standard analysis (last 200 commits with scope estimation).

For detailed templates, manifest format, and report examples, see REFERENCE.md.

Execution

Execute this retroactive documentation generation workflow:

Step 1: Verify prerequisites

Check context values above:

  1. If git repository = "NO" → Error: "This directory is not a git repository. Run from project root."
  2. If total commits = "0" → Error: "Repository has no commit history"
  3. If Blueprint initialized = "NO" → Ask user: "Blueprint not initialized. Initialize now (Recommended) or minimal import only?"

- If "Initialize now" → Use Task tool to invoke /blueprint:init, then continue with this step 1 - If "Minimal import only" → Create minimal directory structure: mkdir -p docs/prds docs/adrs docs/prps

Step 2: Determine analysis scope

Parse $ARGUMENTS for --quick or --since:

  1. If --quick flag present → scope = last 50 commits
  2. If --since DATE present → scope = commits from DATE to now
  3. Otherwise → Present options to user:

- Quick scan (last 50 commits) - Standard analysis (last 200 commits) - Full history analysis (all commits) - Custom date range

Use selected scope for all subsequent git analysis.

Step 3: Analyze git history quality

For commits in scope, calculate:

  1. Count total commits: git log --oneline {scope} | wc -l
  2. Count conventional commits: git log --format="%s" {scope} | grep -cE "^(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)\(?.*\)?:" || echo 0
  3. Calculate percentage and assign quality score (see REFERENCE.md)

Report: "Git history quality: {score}/10 ({percentage}% conventional commits)"

Step 4: Extract features and architecture decisions

Using methods from REFERENCE.md:

  1. Extract feature boundaries from conventional commit scopes
  2. Identify architecture decisions (migrations, major dependencies, breaking changes)
  3. Find issue references and future work items (TODOs, skipped tests)
  4. Identify release boundaries from git tags

Collect findings in structured format for user confirmation.

Step 5: Analyze codebase and existing documentation

  1. Use Explore agent to analyze architecture: directory structure, components, frameworks, patterns, entry points, data layer, API layer, testing structure
  2. Extract dependencies from manifest files (package.json, pyproject.toml, Cargo.toml, go.mod, etc.)
  3. Read and extract from existing documentation: README.md, docs/, ARCHITECTURE.md, DESIGN.md, CONTRIBUTING.md
  4. Detect future work: TODOs in code, open GitHub issues, skipped tests

Step 6: Clarify project context with user

Ask for clarifications on:

  1. Project purpose (if not clear from README): Present inferred description for confirmation or ask user to provide
  2. Target users: Who are the primary users (developers, end users, both)?
  3. Feature confirmation: Present {N} features extracted from git for review/prioritization
  4. Architecture rationale: For each identified decision, ask what was the main driver
  5. Generation confirmation: Show summary with metrics and ask if ready to generate

For confirmation step, present:

  • Git history quality: {score}/10
  • Features identified: {N}
  • Architecture decisions: {N}
  • Future work items: {N}
  • Proposed documents: PRD, {N} ADRs, {N} PRPs

Step 7: Generate documents

Create directory structure: mkdir -p docs/prds docs/adrs docs/prps

For each document type, use templates and patterns from REFERENCE.md:

  1. Generate PRD as docs/prds/project-overview.md

- Use sections and structure from REFERENCE.md - Include extracted features with priorities and sources - Mark sections with confidence scores

  1. Generate ADRs as docs/adrs/{NNNN}-{title}.md (one per decision)

- Use ADR template from REFERENCE.md - Include git evidence (commit SHA, date, files changed) - Mark with confidence score

  1. Create ADR index at docs/adrs/README.md

- Table of all ADRs with status and dates - Link to MADR template for new ADRs

  1. Generate PRPs as docs/prps/{feature}.md (one per future work item)

- Use PRP template from REFERENCE.md - Include source reference and confidence score - Suggest implementation based on codebase patterns

Step 8: Update manifest and report results

  1. Update docs/blueprint/manifest.json with import metadata: timestamp, commits analyzed, confidence scores, generated artifacts

Step 9: Update task registry

Update the task registry entry in docs/blueprint/manifest.json:

jq --arg now "$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
  --arg sha "$(git rev-parse HEAD 2>/dev/null)" \
  --argjson analyzed "${COMMITS_ANALYZED:-0}" \
  --argjson created "${DOCS_GENERATED:-0}" \
  '.task_registry["derive-plans"].last_completed_at = $now |
   .task_registry["derive-plans"].last_result = "success" |
   .task_registry["derive-plans"].context.commits_analyzed_up_to = $sha |
   .task_registry["derive-plans"].context.commits_analyzed_count = $analyzed |
   .task_registry["derive-plans"].stats.runs_total = ((.task_registry["derive-plans"].stats.runs_total // 0) + 1) |
   .task_registry["derive-plans"].stats.items_processed = $analyzed |
   .task_registry["derive-plans"].stats.items_created = $created' \
  docs/blueprint/manifest.json > tmp.json && mv tmp.json docs/blueprint/manifest.json
  1. Create summary report showing:

- Commits analyzed with date range - Git quality score - Documents generated (PRD, ADR count, PRP count) - Sections needing review (confidence < 7) - Recommended next steps

  1. Prompt user for next action:

- Review and refine documents - Generate project rules from PRD - Generate workflow commands - Exit (documents saved)

Agentic Optimizations

ContextCommand
Check git status`git rev-parse --git-dir 2>/dev/null && echo "YES" \\echo "NO"`
Count commits`git rev-list --count HEAD 2>/dev/null \\echo "0"`
Conventional commits count`git log --format="%s" \grep -cE "^(feat\fix\docs)" \\echo 0`
Extract scopes`git log --format="%s" \grep -oE '\([^)]+\)' \sort \uniq -c`
Fast analysisUse --quick flag for last 50 commits only

For detailed templates, git analysis patterns, document generation examples, and error handling guidance, see REFERENCE.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.78%
按下载量换算157

Claude

30.53%
按下载量换算131

Cursor

20.05%
按下载量换算86

Gemini CLI

9.42%
按下载量换算40

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/laurigates/claude-plugins --skill blueprint-derive-plans 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills