Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

blueprint-work-order蓝图工单

Agent Skill

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

总安装

1,285

周安装

53

GitHub Stars

28

下载量

420
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

blueprint-work-order 用于生成工单文档供子代理独立执行,支持从 GitHub Issue 或 PRP 自动生成上下文。

  • 它可将任务拆解为可追踪的本地文件或 GitHub Issue,便于团队协作与进度管理。
  • 适用于复杂功能拆分或跨模块开发场景,提升任务可见性与执行效率。
  • 使用前需确保 gh CLI 已认证且项目已初始化 Blueprint,建议先验证权限与网络连通性。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Generate a work-order document for isolated subagent execution with optional GitHub issue integration.

Flags

FlagDescription
--no-publishCreate local work-order only, skip GitHub issue creation
--from-issue NCreate work-order from existing GitHub issue #N
--from-prp NAMECreate work-order from existing PRP (auto-populates context)

Default behavior: Creates both local work-order AND GitHub issue with work-order label.

Prerequisites

  • Blueprint Development initialized (docs/blueprint/ exists)
  • At least one PRD exists (unless using --from-issue or --from-prp)
  • gh CLI authenticated (unless using --no-publish)

Mode: Create from PRP (--from-prp NAME)

When --from-prp NAME is provided:

  1. Read PRP: cat docs/prps/$NAME.md
  2. Extract PRP content:

- Parse frontmatter for id, confidence score, implements references - Extract Objective section - Extract Implementation Blueprint tasks - Extract TDD Requirements - Extract Success Criteria - Note ai_docs references

  1. Verify confidence:

- If confidence < 9: Warn that PRP may not be ready for delegation - Ask to proceed anyway or return to refine PRP

  1. Generate work-order:

- Pre-populate from PRP content - Include relevant ai_docs as inline context (not references) - Copy TDD requirements verbatim - Include file list from PRP's Codebase Intelligence section

  1. Continue to Step 6 (save and optionally publish)

Mode: Create from Existing Issue (--from-issue N)

When --from-issue N is provided:

  1. Fetch issue: gh issue view N --json title,body,labels,number
  2. Parse issue content:

- Extract objective from title/body - Extract any TDD requirements or success criteria if present - Note existing labels

  1. Generate work-order:

- Number matches issue number (e.g., issue #42 → work-order 042-...) - Pre-populate from issue content - Add context sections (files, PRD reference, etc.)

  1. Update issue with link: ` gh issue comment N --body "Work-order created: \docs/blueprint/work-orders/NNN-task-name.md\" gh issue edit N --add-label "work-order" `
  2. Continue to save and report (skip to Step 6 below)

Mode: Create New Work-Order (Default)

Step 1: Analyze Current State

  • Read docs/blueprint/feature-tracker.json for current phase and tasks
  • Run git status to check uncommitted work
  • Run git log -5 --oneline to see recent work
  • Find existing work-orders (count them for numbering)

Step 2: Read Relevant PRDs

  • Read PRD files to understand requirements
  • Identify next logical work unit based on:

- Work-overview progress - PRD phase/section ordering - Git history (what's been done)

Step 3: Determine Next Work Unit

Should be:

  • Specific: Single feature/component/fix
  • Isolated: Minimal dependencies
  • Testable: Clear success criteria
  • Focused: 1-4 hours of work

Good examples:

  • "Implement JWT token generation methods"
  • "Add input validation to registration endpoint"
  • "Create database migration for users table"

Bad examples (too broad):

  • "Implement authentication"
  • "Fix bugs"

Step 4: Determine Minimal Context

  • Files to modify/create (only relevant ones)
  • PRD sections (only specific requirements for this task)
  • Existing code (only relevant excerpts, not full files)
  • Dependencies (external libraries, environment variables)

Step 5: Generate Work-Order

  • Number: Find highest existing work-order number + 1 (001, 002, etc.)
  • Name: NNN-brief-task-description.md

Work-order structure:

name: blueprint-work-order
---
id: WO-NNN
created: {YYYY-MM-DD}
status: pending
implements:                    # Source PRP or PRD
  - PRP-NNN
relates-to:                    # Related documents
  - ADR-NNNN
github-issues:
  - N
---

# Work-Order NNN: [Task Name]

**ID**: WO-NNN
**GitHub Issue**: #N
**Status**: pending

## Objective
[One sentence describing what needs to be accomplished]

## Context

### Required Files
[Only files needed - list with purpose]

### PRD Reference
[Link to specific PRD section, not entire PRD]

### Technical Decisions
[Only decisions relevant to this specific task]

### Existing Code
[Only relevant code excerpts needed for integration]

## TDD Requirements

### Test 1: [Test Description]
[Exact test to write, with code template]
**Expected Outcome**: Test should fail

### Test 2: [Test Description]
[Exact test to write]
**Expected Outcome**: Test should fail

[More tests as needed]

## Implementation Steps

1. **Write Test 1** - Run: `[test_command]` - Expected: **FAIL**
2. **Implement Test 1** - Run: `[test_command]` - Expected: **PASS**
3. **Refactor (if needed)** - Run: `[test_command]` - Expected: **STILL PASS**
[Repeat for all tests]

## Success Criteria
- [ ] All specified tests written and passing
- [ ] [Specific functional requirement met]
- [ ] [Performance/security baseline met]
- [ ] No regressions (existing tests pass)

## Notes
[Additional context, gotchas, considerations]

## Related Work-Orders
- **Depends on**: Work-Order NNN (if applicable)
- **Blocks**: Work-Order NNN (if applicable)

Step 6: Save Work-Order

Save to docs/blueprint/work-orders/NNN-task-name.md Ensure zero-padded numbering (001, 002, 010, 100)

Step 7: Create GitHub Issue (unless --no-publish)

gh issue create \
  --title "[WO-NNN] [Task Name]" \
  --body "## Work Order: [Task Name]

**ID**: WO-NNN
**Local Context**: \`docs/blueprint/work-orders/NNN-task-name.md\`

### Related Documents
- **Implements**: {PRP-NNN or PRD-NNN}
- **Related ADRs**: {list of ADR-NNNN}

### Objective
[One-line objective from work order]

### TDD Requirements
- [ ] Test 1: [description]
- [ ] Test 2: [description]

### Success Criteria
- [ ] [Criterion 1]
- [ ] [Criterion 2]

---
*AI-assisted development work order. See linked file for full execution context.*" \
  --label "work-order"

Capture issue number and update work-order file:

# Extract issue number from gh output
gh issue create ... 2>&1 | grep -oE '#[0-9]+' | head -1

Update the **GitHub Issue**: line in the work-order file with the issue number.

Step 8: Update docs/blueprint/feature-tracker.json

Add new work-order to pending tasks:

jq '.tasks.pending += [{"id": "WO-NNN", "description": "[Task name]", "source": "PRP-NNN", "added": "YYYY-MM-DD"}]' \
  docs/blueprint/feature-tracker.json > tmp.json && mv tmp.json docs/blueprint/feature-tracker.json

Step 8.5: Update Manifest

Update docs/blueprint/manifest.json ID registry:

{
  "id_registry": {
    "documents": {
      "WO-NNN": {
        "path": "docs/blueprint/work-orders/NNN-task-name.md",
        "title": "[Task Name]",
        "implements": ["PRP-NNN"],
        "github_issues": [N],
        "created": "{date}"
      }
    },
    "github_issues": {
      "N": ["WO-NNN", "PRP-NNN"]
    }
  }
}

Also update the source PRP/PRD to add this work-order to its tracking.

Step 9: Report

Work-order created!

ID: WO-NNN
Work-Order: 003-jwt-token-generation.md
Location: docs/blueprint/work-orders/003-jwt-token-generation.md
GitHub Issue: #42 (or "Local only" if --no-publish)

Traceability:
- Implements: PRP-002 (OAuth Integration)
- Related: ADR-0003 (Session Storage)

Objective: [Brief objective]

Context included:
- Files: [List files]
- Tests: [Number of tests specified]
- Dependencies: [Key dependencies]

Ready for execution:
- Can be executed by subagent with isolated context
- TDD workflow enforced (tests specified first)
- Clear success criteria defined
- PR should use "Fixes #42" to auto-close issue
- Commit messages should use: feat(WO-NNN): description

Step 10: Prompt for Next Action

Use AskUserQuestion:

question: "Work-order ready. What would you like to do?"
options:
  - label: "Execute this work-order (Recommended)"
    description: "Start working on the task with TDD workflow"
  - label: "Create another work-order"
    description: "Generate the next task from pending items"
  - label: "Delegate to subagent"
    description: "Hand off for isolated execution"
  - label: "I'm done for now"
    description: "Exit - work-order is saved and ready"

Based on selection:

  • "Execute this work-order" → Run /project:continue with work-order context
  • "Create another work-order" → Run /blueprint:work-order again
  • "Delegate to subagent" → Provide handoff instructions for subagent execution
  • "I'm done" → Exit

Key Principles

  • Minimal context: Only what's needed, not full files/PRDs
  • Specific tests: Exact test cases, not vague descriptions
  • TDD enforced: Tests specified before implementation
  • Clear criteria: Unambiguous success checkboxes
  • Isolated: Task should be doable with only provided context
  • Transparent: GitHub issue provides visibility to collaborators

Error Handling

ConditionAction
No PRDs existGuide to write PRDs first
No tasks in feature-trackerAsk for current phase/status
Task unclearAsk user what to work on next
gh not authenticatedWarn and fallback to --no-publish behavior
Issue already has work-order labelWarn, ask to update or create new

GitHub Integration Notes

Completion Flow

  1. Work completed on work-order
  2. PR created with Fixes #N in body/title
  3. Work-order moved to completed/ directory
  4. Issue auto-closes when PR merges

Label Convention

The work-order label identifies issues created from this workflow. Create it in your repo if it doesn't exist:

gh label create work-order --description "AI-assisted work order" --color "0E8A16"

Offline Mode

Use --no-publish when:

  • Working offline
  • Private experimentation
  • Issue visibility not needed

Can publish later by manually creating issue and updating work-order file.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.03%
按下载量换算139

Claude

32.39%
按下载量换算136

Cursor

19%
按下载量换算80

Gemini CLI

8.34%
按下载量换算35

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills