Communitygithub.com

PRD 转化为实施计划

将产品需求文档分解为多阶段实施计划,采用“追踪弹头”垂直切片方式,并保存为本地 Markdown 文件至 docs/plans/。适用于用户希望拆分 PRD、创建实施计划、基于 PRD 规划阶段或提及“tracer bullets”时。

PRD 转化为实施计划 是什么?

该技能(cdcoonce/Portfolio_Website)提供了一种系统化的方法,将产品需求文档(PRD)转化为可执行、分阶段的实施计划。其核心是采用“追踪弹头”(tracer bullet)垂直切片,确保每个阶段都贯穿系统所有集成层(如 schema、API、UI、测试),交付一个独立可展示或可验证的完整路径。该工具支持在 AI 编码助手(如 Claude Code、Cursor)中使用,适用于需要从 PRD 中生成结构化实施计划的开发者。工作流程包括:确认 PRD 上下文、探索现有代码库、确定持久的架构决策、起草垂直切片、与用户确认粒度,最后生成格式化的 Markdown 计划文件。通过强调薄切片而非厚切块,它帮助团队避免一次性构建过大的横向层,从而降低风险并实现早期集成反馈。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cdcoonce/Portfolio_Website/tree/HEAD/.claude/skills/prd-to-plan

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

PRD 转化为实施计划 是做什么的?

将 PRD 分解为使用垂直切片(追踪弹头)的分阶段实施计划。输出为 docs/plans/ 目录下的 Markdown 文件。

流程

1. 确认 PRD 已存在于上下文中

PRD 应已在对话中提供。如果尚未提供,请要求用户粘贴 PRD 内容或指向相应的文件。

2. 探索代码库

如果尚未探索代码库,请先了解当前架构、现有模式和集成层,以便更好地制定计划。

3. 确定持久的架构决策

在切片之前,识别出那些在整个实施过程中不太可能改变的高层决策:

  • 路由结构 / URL 模式
  • 数据库表结构
  • 关键数据模型
  • 认证 / 授权方案
  • 第三方服务边界

这些信息将作为计划的头部内容,供每个阶段引用。

4. 起草垂直切片

将 PRD 分解为 追踪弹头 阶段。每个阶段是一个薄的垂直切片,贯穿所有集成层,而不是某一层的水平切片。

<垂直切片规则>

  • 每个切片交付一条狭窄但 完整的 路径,经过每一层(schema、API、UI、测试)
  • 完成后的切片可独立演示或验证
  • 优先使用多个薄切片,而非少量厚切片
  • 不要 包含具体的文件名称、函数名称或实现细节,这些在后续阶段中可能发生变化
  • 务必 包含持久的决策:路由路径、表结构、数据模型名称 </垂直切片规则>

5. 询问用户

以编号列表形式展示提议的分解方案。对每个阶段显示:

  • 标题:简短描述性名称
  • 覆盖的用户故事:该阶段解决的 PRD 中的用户故事

向用户询问:

  • 粒度是否合适?(太粗 / 太细)
  • 是否有阶段需要合并或进一步拆分?

迭代直至用户批准分解方案。

6. 写入计划文件

如果 docs/plans/ 目录不存在,则创建它。以功能名称命名 Markdown 文件(例如 docs/plans/user-onboarding.md)。使用下面的模板。

<计划模板>

计划:<功能名称>

来源 PRD:<简要标识或链接>

架构决策

适用于所有阶段的持久决策:

  • 路由:...
  • 表结构:...
  • 关键模型:...
  • (根据需要添加/删除章节)

阶段 1:<标题>

用户故事:<来自 PRD 的列表>

构建内容

对该垂直切片的简洁描述。描述端到端的行为,而非逐层实现。

验收条件

  • 条件 1
  • 条件 2
  • 条件 3

阶段 2:<标题>

用户故事:<来自 PRD 的列表>

构建内容

...

验收条件

  • ...

</计划模板>

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cdcoonce/Portfolio_Website

Git commit workflow with enforced conventional commit style. Use when Claude needs to stage and commit changes, craft commit messages, or the user asks to commit, make a commit, or save their work. Ensures consistent commit message format, proper scoping, and atomic commits across the project.

cdcoonce/Portfolio_Website

AI-powered code quality analysis for Python, Markdown, and Mermaid diagrams. Use this skill when: (1) reviewing code for quality issues, (2) checking Python files for PEP8 violations, unused code, missing type hints, docstring problems, complexity issues, or potential runtime errors, (3) validating Markdown documentation for broken links, heading structure, or formatting issues, (4) validating Mermaid diagram syntax, (5) the user asks for a "code review" or "quality check", (6) analyzing code snippets pasted in conversation, or (7) suggesting and applying fixes for code quality issues.

cdcoonce/Portfolio_Website

Deploy the portfolio chat agent Lambda function to AWS. Use when the user asks to deploy, redeploy, push to Lambda, update the chat agent, or after updating context files or lambda_function.py. Rebuilds the knowledge base, packages dependencies, and deploys to AWS Lambda.

cdcoonce/Portfolio_Website

Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".

cdcoonce/Portfolio_Website

Orchestrate the full GitHub-issues-driven development lifecycle. 7-phase pipeline from brainstorm through PR with state tracking and cross-conversation resume. Use when user says "dev cycle", "development workflow", "full development pipeline", or invokes /dev-cycle.

cdcoonce/Portfolio_Website

Production Python coding standards with automatic version detection (3.10-3.13). Use when writing, reviewing, or refactoring Python to ensure adherence to modern type syntax, LBYL exception handling, pathlib operations, ABC-based interfaces, and production-tested patterns. Not Dagster-specific - applies to any Python project.

cdcoonce/Portfolio_Website

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

cdcoonce/Portfolio_Website

GitHub CLI (gh) integration for managing issues, pull requests, branches,

cdcoonce/Portfolio_Website

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".

cdcoonce/Portfolio_Website

Explore a codebase to find opportunities for architectural improvement, focusing on making the codebase more testable by deepening shallow modules. Use when user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more AI-navigable.

cdcoonce/Portfolio_Website

CEO/founder-mode plan review. Rethink the problem, find the 10-star product, challenge premises, expand scope when it creates a better product. Three modes: SCOPE EXPANSION (dream big), HOLD SCOPE (maximum rigor), SCOPE REDUCTION (strip to essentials). Use when the user asks for a plan review, CEO review, mega review, or wants a plan challenged/stress-tested before implementation.

cdcoonce/Portfolio_Website

Break a PRD into independently-grabbable GitHub issues using tracer-bullet vertical slices. Use when user wants to convert a PRD to issues, create implementation tickets, or break down a PRD into work items.

cdcoonce/Portfolio_Website

Generate or update the `.claude/docs/project.md` file that gives Claude project-specific context. Use this skill when the user asks to create, update, regenerate, or refresh project context, or says things like "update project.md", "generate project context", "this repo needs a project.md", or "Claude doesn't know about this project". Also trigger when onboarding Claude to a new repository for the first time.

cdcoonce/Portfolio_Website

Generate comprehensive, high-quality README.md files for code repositories. Use this skill whenever the user asks to create, write, generate, update, or improve a README for any project or repository. Also trigger when the user says things like "document this project", "write docs for this repo", "this repo needs a README", "help me onboard developers to this codebase", or asks for project documentation in markdown. Even if the user just says "README" or "readme" in the context of a codebase, use this skill.

cdcoonce/Portfolio_Website

Create a detailed refactor plan with tiny commits via user interview, then file it as a GitHub issue. Use when user wants to plan a refactor, create a refactoring RFC, or break a refactor into safe incremental steps.

cdcoonce/Portfolio_Website

Set up pre-commit hooks for the current repo. Use when user wants to add pre-commit hooks, configure commit-time linting, formatting, type checking, or testing. Triggers on "pre-commit", "git hooks", "linting hooks", or /setup-pre-commit.

cdcoonce/Portfolio_Website

Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.

cdcoonce/Portfolio_Website

Triage a bug or issue by exploring the codebase to find root cause, then create a GitHub issue with a TDD-based fix plan. Use when user reports a bug, wants to file an issue, mentions "triage", or wants to investigate and plan a fix for a problem.

cdcoonce/Portfolio_Website

Rewrites the prose sections of wiki pages in-place. Reads source files to understand current context, then updates only the content inside <!-- claude:prose --> ... <!-- claude:prose:end --> markers. Never touches <!-- generated:start --> ... <!-- generated:end --> blocks. Supports targeting a single page with /update-wiki {PageName}.

cdcoonce/Portfolio_Website

Create a PRD through user interview, codebase exploration, and module design, then submit as a GitHub issue. Use when user wants to write a PRD, create a product requirements document, or plan a new feature.

相关技能