一键导入
ob-userstory
Parse GitHub Issue URL and create OpenSpec change. Use when user provides a GitHub Issue URL.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Parse GitHub Issue URL and create OpenSpec change. Use when user provides a GitHub Issue URL.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Understand and design Loop Task Loops: cadence, iteration lifecycle, state transitions, non-overlapping execution, maximum iterations, chain flow composition, and safe recurring automation patterns. Load this skill when creating, reviewing, or modifying a recurring Loop or reasoning about how its Task chain behaves across iterations.
Understand and design Loop Task Projects: organisational scope for Loops, default-project semantics, membership, colour branding, deletion with reassignment, and safe multi-tenant automation patterns. Load this skill when creating, reviewing, or modifying Projects or reasoning about how Loops are grouped, isolated, and reassigned.
Understand and design Loop Task Tasks: executable work units, success and failure semantics, Task chaining via onSuccess and onFailure, context production and consumption, stdout parsing, parameter interpolation, condition modelling, reuse, and idempotency. Load this skill when creating, reviewing, or modifying Tasks or reasoning about how a Task chain flows context between steps.
Generic guardrails, foundational rules that all agents follow. Users add specialized guardrails skills for specific concerns. Covers secrets, code quality, security, tool usage, and engineer workflow.
Project-specific rules and constraints extracted from ARCHITECTURE.md and project config files. Load this skill before implementing any change to understand boundaries, conventions, and constraints for this codebase.
| name | ob-userstory |
| description | Parse GitHub Issue URL and create OpenSpec change. Use when user provides a GitHub Issue URL. |
| license | MIT |
| compatibility | Requires openspec CLI and gh CLI. |
| metadata | {"author":"copilots","version":"1.1"} |
ALL GitHub data MUST come from gh CLI. NEVER use webfetch, HTTP requests, or browser MCP tools to fetch GitHub URLs, even if gh CLI fails. If gh is unavailable, report it as a blocker.
gh auth login
# Follow prompts, authenticate via browser or token
Verify:
gh auth status
Extract owner, repo, and issue number from URL
https://github.com/{owner}/{repo}/issues/42 → owner: {owner}, repo: {repo}, number: 42Fetch Issue, always pass --repo explicitly, never rely on git context:
gh issue view 42 --repo {owner}/{repo} --json number,title,body,labels,milestone,state
If this returns an auth error or 404, report as a blocker, do NOT fall back to webfetch or web search.
Extract Key Fields from JSON response:
number → Issue numbertitle → Titlebody → Description / acceptance criterialabels → Labelsmilestone → Milestone / sprint equivalentstate → State (open/closed)Create OpenSpec Change
openspec new change "gh-{number}-{slug}"
Use these for ALL GitHub operations, browser MCP and webfetch are FORBIDDEN. Always pass --repo {owner}/{repo}, never rely on git context.
# Read issue
gh issue view <number> --repo {owner}/{repo}
# List open issues
gh issue list --repo {owner}/{repo} --state open --limit 10
# Update issue
gh issue edit <number> --repo {owner}/{repo} --add-label "in-progress"
Never embed images as attachments. Save to openspec change folder and reference via GitHub blob URL pinned to commit SHA.
openspec/changes/{change-name}/images/{screenshot}.png
?raw=true when embedding in markdown)https://github.com/{owner}/{repo}/blob/{sha}/openspec/changes/{change}/images/{file}.png?raw=true
# Issue
https://github.com/{owner}/{repo}/issues/{number}
# PR
https://github.com/{owner}/{repo}/pull/{number}
# Blob file
https://github.com/{owner}/{repo}/blob/{sha}/{path}
## Issue Parsed
**Issue:** #{number}
**Title:** {title}
**State:** {state}
**Milestone:** {milestone}
**Change Created:** gh-{number}-{slug}
After outputting the above, the lead MUST run /plan-propose to generate the proposal, specs, and tasks. After /plan-propose completes, STOP and ask the user: "Ready to implement? (yes/no)", do NOT proceed to /plan-apply until confirmed.
gh CLI for all GitHub operations/plan-propose after parsing, never skip to implementation/plan-applywebfetch or HTTP requests to GitHub URLs, FORBIDDEN, use gh CLI only