一键导入
epic-start
Plan an epic: Product Owner decomposes stories, Product Architect designs schema/API/ADRs. Use at the start of a new epic before any implementation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Plan an epic: Product Owner decomposes stories, Product Architect designs schema/API/ADRs. Use at the start of a new epic before any implementation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Process all open Dependabot PRs and security alerts: review changelogs, merge passing PRs, fix failing ones, remediate orphan alerts, and surface adoption opportunities.
Full development cycle for one or more user stories and/or bug fixes. Covers implementation, testing, PR, review, merge, and user verification — single items or batched into one PR.
Close an epic: refinement, E2E validation, UAT, documentation, and promotion from beta to main. Use after all stories in an epic are merged to beta.
Promote beta to main: branch sync, promotion PR, CI gate, user approval loop, documentation, merge. Works standalone or as part of /epic-close.
Comprehensive PR review using the full agent team. Reviews for duplicates, suspicious changes, dependency changes, architecture violations, and spec compliance. Approves or rejects with consolidated findings.
Autonomous end-to-end epic execution: plans stories, develops each story sequentially, then closes the epic. Only pauses for promotion to main.
| name | epic-start |
| description | Plan an epic: Product Owner decomposes stories, Product Architect designs schema/API/ADRs. Use at the start of a new epic before any implementation. |
You are the orchestrator running the planning phase for a new epic. Follow these 6 steps in order. Do NOT skip steps. The orchestrator delegates all work — never write production code, tests, or architectural artifacts directly.
When to use: Starting a new epic — decomposing requirements into stories, designing architecture, and getting user approval before implementation begins.
When NOT to use: Implementing a single story or bug fix (use /develop). Closing an epic after all stories are done (use /epic-close).
$ARGUMENTS contains either:
If empty, ask the user to describe the epic or provide an issue number before proceeding.
Fetch and rebase the worktree branch onto origin/beta to ensure planning starts from the latest integration state:
git fetch origin beta && git rebase origin/beta
If already rebased at session start, skip.
Ensure the wiki submodule is up to date before agents read architecture docs:
git submodule update --init wiki && git -C wiki pull origin master
Launch the product-owner agent to:
Read plan/REQUIREMENTS.md and the existing backlog (GitHub Issues + Projects board)
Create an epic GitHub Issue (labeled epic) if one does not already exist
Decompose the epic into user stories (labeled user-story)
Link stories as sub-issues of the epic:
# Look up node IDs
EPIC_ID=$(gh api graphql -f query='{ repository(owner: "steilerDev", name: "cornerstone") { issue(number: <epic-number>) { id } } }' --jq '.data.repository.issue.id')
STORY_ID=$(gh api graphql -f query='{ repository(owner: "steilerDev", name: "cornerstone") { issue(number: <story-number>) { id } } }' --jq '.data.repository.issue.id')
# Link as sub-issue
gh api graphql -f query='mutation { addSubIssue(input: { issueId: "'"$EPIC_ID"'", subIssueId: "'"$STORY_ID"'" }) { issue { id } } }'
Set addBlockedBy relationships between stories where dependencies exist
Set board statuses: Backlog for future-sprint stories, Todo for first-sprint stories:
ITEM_ID=$(gh project item-list 4 --owner steilerDev --format json --limit 1 --query "is:issue #<issue-number>" --jq '.items[0].id')
# Move to Todo (dc74a3b0) or Backlog (7404f88c)
gh project item-edit --id "$ITEM_ID" --project-id PVT_kwHOAGtLQM4BOlve --field-id PVTSSF_lAHOAGtLQM4BOlvezg9P0yo --single-select-option-id dc74a3b0
Post acceptance criteria (Given/When/Then format) on each story issue
Launch the product-architect agent (can run in parallel with PO if the epic issue already exists) to:
Architecture.md, API-Contract.md, Schema.md, ADR-Index.md)git -C wiki add -A && git -C wiki commit -m "docs: <description>" && git -C wiki push origin master
git add wiki
Present the complete epic plan to the user:
Post the plan as a comment on the epic GitHub Issue and proceed immediately to step 6.
After user approval:
/develop <issue-number> in a new worktree session