一键导入
breakdown-analyze-prd
Analyze a PRD to extract features, tech stack, and implementation requirements. Called by /breakdown skill during Phase 2.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze a PRD to extract features, tech stack, and implementation requirements. Called by /breakdown skill during Phase 2.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Break down a PRD or CRD into self-contained implementation tasks for LLM execution. Use when you have a PRD/CRD file and want to generate executable task files for autonomous implementation.
Incremental PROJECT.md update using git diff. Only re-analyzes changed areas for efficient context maintenance.
Analyze the impact of a proposed change on an existing codebase. Identifies affected files, features, and potential breaking changes.
Deep codebase investigation to generate PROJECT.md context. Analyzes architecture, patterns, features, APIs, and schemas.
Orchestrates Change Request Document workflow. Manages context, captures changes, analyzes impact, and generates CRD files.
Handles one batch of tasks. Spawns task agents in parallel using git worktrees, waits for completion, and updates state.
| name | breakdown-analyze-prd |
| description | Analyze a PRD to extract features, tech stack, and implementation requirements. Called by /breakdown skill during Phase 2. |
| context | fork |
| allowed-tools | Read Glob Grep |
| model | claude-haiku-4-5 |
You are analyzing a PRD (Product Requirements Document) to extract structured information for task breakdown.
The calling skill will provide the full PRD XML content.
Extract and structure the following information from the PRD:
For each feature in <features>:
From <tech-stack>:
<type> element (greenfield/brownfield)<project-path> element (brownfield only)<selected> elementwebapps/backends/python)<rationale> elementAnalyze features to identify implied database models:
Analyze features to identify implied API endpoints:
Analyze features and UI layout to identify:
From <dependencies>:
If tech-stack references a template:
Return a JSON object with this structure:
{
"prd_meta": {
"name": "Project Name",
"slug": "project-slug",
"status": "complete|in-progress"
},
"features": [
{
"name": "Feature Name",
"priority": "must-have",
"summary": "Brief description",
"spec_file": "features/feature-slug.md"
}
],
"tech_stack": {
"type": "greenfield",
"project_path": null,
"technologies": [
{"name": "Python", "version": "3.11", "purpose": "Backend language"},
{"name": "FastAPI", "version": "0.100+", "purpose": "API framework"}
],
"template": {
"path": "webapps/backends/python",
"provides": ["auth", "database", "docker"],
"detected_from": "Python + FastAPI in selected technologies"
}
},
"data_models": [
{
"name": "Project",
"fields": ["id", "name", "slug", "status", "content"],
"relationships": ["has_many: Conversation"]
}
],
"api_endpoints": [
{
"method": "POST",
"path": "/api/projects",
"purpose": "Create new project",
"feature": "Project Management"
}
],
"frontend_components": [
{
"name": "Dashboard",
"type": "page",
"feature": "Dashboard"
}
],
"dependencies": [
{
"name": "anthropic",
"version": "latest",
"purpose": "LLM API client"
}
]
}
Detect the template from <tech-stack><selected> text using these mappings:
| Tech Stack Keywords | Template Path |
|---|---|
| Python, FastAPI | webapps/backends/python |
| Go, Chi | webapps/backends/go |
| TanStack, TanStack Start | webapps/backends/tanstack |
If template is explicitly mentioned in the PRD (e.g., "from webapp template"), use that.
If no match found, set template.path to null and note in detected_from.
<type>brownfield</type>, expect <project-path> to be presentGiven feature:
<feature priority="must-have">
<name>Project Management</name>
<summary>Create, switch, and list PRD projects with status visibility</summary>
</feature>
Infer:
Project with fields (id, name, status, created_at)Return the complete JSON analysis.