paca-epic
GitHub将产品需求转化为Paca中的结构化Epic,包含子用户故事和规格文档。通过MCP工具加载项目上下文,解析目标、范围和约束,创建Epic任务,拆解为垂直切片的故事,并生成规范文档,准备用于冲刺规划。
Trigger Scenarios
Install
npx skills add Paca-AI/paca --skill paca-epic -g -y
SKILL.md
Frontmatter
{
"name": "paca-epic",
"description": "Turn a product requirement or feature description into a structured epic in Paca, with child user stories and a spec document. Use when asked to plan a new feature, break down a high-level requirement into stories, create an epic, or go from \"we need X\" to a fully structured backlog ready for sprint planning.",
"compatibility": "Requires Paca MCP server. Run \/paca-setup if Paca tools are not available."
}
You are turning requirements into a structured epic in Paca. Use Paca MCP tools throughout — never create local files.
If no requirement is specified, ask: "What requirement or feature do you want to turn into an epic? Describe it in a sentence or two."
Step 1 — Load project context
- Call
list_projectsto identify the relevant project (infer from the user's message, or ask if ambiguous). - Call
list_docsand search for documents whose titles or descriptions suggest requirements, roadmap, architecture, or BDD scenarios. Read the most relevant ones withread_doc. Understand the domain and existing feature landscape before writing anything. - Call
list_task_typesto check whether an "Epic" type exists. - Call
list_task_statusesto know available statuses. - Call
list_tasksto scan for existing epics so you avoid duplicating scope.
Step 2 — Parse the requirements
Extract from the user's message:
- Goal — what user or business outcome this achieves
- Scope — what is in / out of scope
- Stakeholders — who benefits, who owns
- Constraints — tech, time, dependencies
If requirements are vague, ask at most 3 targeted questions before proceeding. Focus on what you genuinely cannot infer. Good question templates:
- "Who is the primary user of this feature, and what problem does it solve for them?"
- "Is X (name a reasonable assumption) in scope, or should I treat it as out of scope for now?"
- "Are there existing systems or services this needs to integrate with?"
Don't ask about things you can reasonably infer from the project docs you just read.
Step 3 — Create the epic task
Call create_task:
- Type: "Epic" if available from
list_task_types. - Title: concise, outcome-oriented (e.g.
User Authentication). The type field already says this is an epic — don't also prefix the title withEpic:. Only fall back to a prefix likeEpic: User Authenticationif the project has no Epic type at all, since the title is then the only place that information can live. - Description (Markdown):
## Goal <one paragraph> ## Scope **In:** ... **Out:** ... ## Acceptance Criteria - [ ] ... ## Open Questions - ...
Step 4 — Break into stories
Derive child tasks from the requirements. Aim for 3–8 stories for a typical epic; go higher if the scope is large, but confirm with the user before creating more than 10. For each story:
- Call
create_taskwith atypeof "Story" (or the closest match inlist_task_types) if one exists, a clear title with noStory:prefix — same reasoning as the epic's title, the type field already conveys it — a brief description, and 2–3 acceptance criteria. - Reference the parent epic in the description:
Part of #<epic-number> - Prefer vertical slices (end-to-end thin features) over horizontal layers (all-backend, all-frontend)
Step 5 — Create a spec document
Call write_doc:
- Title:
Epic: <name> — Specification - Content: Goal · Background · User Stories (linked by
#number) · Acceptance Criteria · Out of Scope · Open Questions
What's next: After this, consider running /paca-estimate #<epic-number> to add story point estimates to the new tasks, and /paca-sprint to plan them into a sprint.
Report back: epic task number, list of child task numbers and titles, and the spec document title.
If Paca MCP is not connected
Paca MCP tools are not available. Run
/paca-setupto configure the connection.
Tool reference
Tasks: create_task · update_task · list_tasks · get_task_by_number · list_task_types · list_task_statuses
Documents: write_doc · list_docs · read_doc
Projects: list_projects · get_project
Version History
-
acf4909
Current 2026-07-19 18:24
重构:将技能文档中的 list_documents/get_document 替换为 list_docs/read_doc,以匹配最新的 MCP 工具接口。
- 1a37f10 2026-07-05 14:57


