to-prd
此技能获取当前对话上下文和代码库理解并生成 PRD。不要采访用户——只需综合你已知的内容。
This skill takes the current conversation context and codebase understanding and produces a PRD. Do NOT interview the user — just synthesize what you already know.
Issue 跟踪器和分诊标签词汇应该已经提供给你——如果没有,请运行 /setup-matt-pocock-skills。
The issue tracker and triage label vocabulary should have been provided to you — run
/setup-matt-pocock-skillsif not.
流程 (Process)
-
如果你尚未探索仓库,探索以了解代码库的当前状态。在整个 PRD 中使用项目的领域词汇表术语,并尊重你正在修改区域的任何 ADR。
Explore the repo to understand the current state of the codebase, if you haven't already. Use the project's domain glossary vocabulary throughout the PRD, and respect any ADRs in the area you're touching.
-
概述你需要构建或修改的主要模块以完成实现。积极寻找可以提取为可独立测试的深层模块的机会。
Sketch out the major modules you will need to build or modify to complete the implementation. Actively look for opportunities to extract deep modules that can be tested in isolated.
深层模块(与浅层模块相对)是将大量功能封装在一个简单、可测试且很少改变的接口中的模块。
More from ninehills/mattpocock-skills
to-issues
使用曳光弹垂直切片将计划、规格或 PRD 拆分为项目 issue 跟踪器上可独立认领的 issue。当用户想将计划转换为 issue、创建实现工单、或将工作拆分为 issue 时使用。 (Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into issues.)
2tdd
红-绿-重构循环的测试驱动开发。当用户想使用 TDD 构建功能或修复 bug、提到"红-绿-重构"、想要集成测试、或要求测试先行开发时使用。 (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.)
1handoff
将当前对话压缩为交接文档,供另一个 agent 接续工作。 (Compact the current conversation into a handoff document for another agent to pick up.)
1grill-me
对用户的计划或设计进行无情的访谈,直到达成共识,逐个解决决策树的每个分支。当用户想要压力测试计划、被质疑设计或提到"grill me"时使用。 (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".)
1zoom-out
让 agent 拉远视角,对不熟悉的代码区域给出更广泛的上下文或更高层次的视角。当用户不熟悉某段代码或需要理解它如何融入更大图景时使用。 (Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.)
1caveman
>
1