Agent SkillsPaca-AI/paca › paca-epic

paca-epic

GitHub

将产品需求转化为Paca中的结构化Epic,包含子用户故事和规格文档。通过加载项目上下文、解析需求细节、创建Epic任务、拆解故事及生成规范文档,实现从高层需求到可执行待办列表的自动化规划。

services/ai-agent/src/skills/paca-epic/SKILL.md Paca-AI/paca

Trigger Scenarios

需要规划新功能 将高层需求拆解为用户故事 创建Epic任务 准备冲刺计划的待办列表

Install

npx skills add Paca-AI/paca --skill paca-epic -g -y
More Options

Non-standard path

npx skills add https://github.com/Paca-AI/paca/tree/master/services/ai-agent/src/skills/paca-epic -g -y

Use without installing

npx skills use Paca-AI/paca@paca-epic

指定 Agent (Claude Code)

npx skills add Paca-AI/paca --skill paca-epic -a claude-code -g -y

安装 repo 全部 skill

npx skills add Paca-AI/paca --all -g -y

预览 repo 内 skill

npx skills add Paca-AI/paca --list

SKILL.md

Frontmatter
{
    "name": "paca-epic",
    "triggers": [
        "\/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."
}

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

  1. Call list_projects to identify the relevant project (infer from the user's message, or ask if ambiguous).
  2. Call list_docs and search for documents whose titles or descriptions suggest requirements, roadmap, architecture, or BDD scenarios. Read the most relevant ones with read_doc. Understand the domain and existing feature landscape before writing anything.
  3. Call list_task_types to check whether an "Epic" type exists.
  4. Call list_task_statuses to know available statuses.
  5. Call list_tasks to 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 with Epic:. Only fall back to a prefix like Epic: User Authentication if 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_task with a type of "Story" (or the closest match in list_task_types) if one exists, a clear title with no Story: 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.


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

Same Skill Collection

services/ai-agent/src/skills/paca-breakdown/SKILL.md
services/ai-agent/src/skills/paca-clarify/SKILL.md
services/ai-agent/src/skills/paca-do/SKILL.md
services/ai-agent/src/skills/paca-doc/SKILL.md
services/ai-agent/src/skills/paca-estimate/SKILL.md
services/ai-agent/src/skills/paca-prioritize/SKILL.md
services/ai-agent/src/skills/paca-sprint/SKILL.md
services/ai-agent/src/skills/paca-test/SKILL.md
services/ai-agent/src/skills/paca-workflow/SKILL.md
skills/paca-breakdown/SKILL.md
skills/paca-clarify/SKILL.md
skills/paca-do/SKILL.md
skills/paca-doc/SKILL.md
skills/paca-epic/SKILL.md
skills/paca-estimate/SKILL.md
skills/paca-prioritize/SKILL.md
skills/paca-setup/SKILL.md
skills/paca-sprint/SKILL.md
skills/paca-test/SKILL.md
skills/paca-workflow/SKILL.md
skills/paca/SKILL.md

Metadata

Files
0
Version
acf4909
Hash
8b791027
Indexed
2026-07-19 18:24

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-21 20:03
浙ICP备14020137号-1 $お客様$