Communitygithub.com

Lev-it/lev-skills

将当前对话内容转化为产品需求文档(PRD)并发布到项目问题跟踪器中——无需访谈,仅基于已有讨论进行综合。

lev-skills 是什么?

该技能能够自动从当前对话上下文和代码库理解中生成一份详细的产品需求文档(PRD),而无需对用户进行额外的访谈——你只需综合已知信息即可。它假定问题跟踪器和分类标签词汇表已经提供,如果尚未提供,你可以运行 `/setup-matt-pocock-skills` 命令。技能的流程包括:探索代码库以了解当前状态(使用领域术语并尊重相关 ADR),规划测试接口(优先使用最高级别的现有接口并尽量精简数量),然后基于预设模板编写 PRD 并发布到项目问题跟踪器,并自动应用 `ready-for-agent` 分类标签。支持的平台包括与问题跟踪器集成的项目(如 GitHub Issues)。该技能的核心价值在于直接从讨论中提取普适文档,避免重复的访谈过程,显著提升文档生成效率。

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

在你喜欢的 AI 中提问

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

文档

该技能根据当前对话上下文和代码库理解生成一份 PRD。不要访谈用户——只需综合你已知的信息。

问题跟踪器和分类标签词汇表应已提供给你——如果未提供,请运行 /setup-matt-pocock-skills。

流程

  1. 探索仓库以了解代码库的当前状态(如果你尚未这样做)。在整个 PRD 中使用项目的领域术语表,并尊重你所涉及区域的任何 ADR。

  2. 规划你将用于测试功能的接口。优先使用现有的接口,而非新的接口。使用尽可能高的接口层级。如果需要新的接口,建议在你能达到的最高点提出。代码库中的接口越少越好——理想数量是一个。

与用户确认这些接口是否符合他们的预期。

  1. 使用下面的模板编写 PRD,然后将其发布到项目问题跟踪器。应用 ready-for-agent 分类标签——无需额外的分类。

问题陈述

用户面临的问题,从用户的角度出发。

解决方案

问题的解决方案,从用户的角度出发。

用户故事

一个长长的、编号的用户故事列表。每个用户故事的格式应为:

  1. 作为一个 ,我想要一个 ,以便

这个用户故事列表应极其详尽,涵盖该功能的所有方面。

实现决策

所做出的实现决策列表。可以包括:

  • 将要构建/修改的模块
  • 这些模块将要修改的接口
  • 来自开发者的技术说明
  • 架构决策
  • 架构变更
  • API 合同
  • 特定交互

不要包含具体的文件路径或代码片段。它们可能很快过时。

例外:如果原型生成了一个比散文更精确地编码决策的代码片段(状态机、reducer、架构、类型形状),将其内联到相关决策中,并简要说明它来自原型。仅保留包含决策的部分——不是工作演示,只是重要部分。

测试决策

所做的测试决策列表。包括:

  • 对优秀测试的描述(仅测试外部行为,而非实现细节)
  • 将要测试的模块
  • 测试的既有范例(即代码库中类似类型的测试)

范围外

描述此 PRD 中范围外的事项。

进一步说明

关于该功能的任何进一步说明。

Individual skills in this repo

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

Lev-it/lev-skills

Ask which skill or flow fits your situation. A router over the user-invoked skills in this repo.

Lev-it/lev-skills

Premium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional logo concepting, refined composition, sparse typography, strong symbolic meaning, premium mockups, art-directed imagery, and flexible grid layouts.

Lev-it/lev-skills

Compact the current conversation into a handoff document for another agent to pick up.

Lev-it/lev-skills

Ink terminal renderer for json-render that turns JSON specs into interactive terminal UIs. Use when working with @json-render/ink, building terminal UIs from JSON, creating terminal component catalogs, or rendering AI-generated specs in the terminal.

Lev-it/lev-skills

Interactive QA session where user reports bugs or issues conversationally, and the agent files GitHub issues. Explores the codebase in the background for context and domain language. Use when user wants to report bugs, do QA, file issues conversationally, or mentions "QA session".

Lev-it/lev-skills

Facilitate a structured sprint retrospective — what went well, what didn't, and prioritized action items with owners and deadlines. Use when running a retrospective, reflecting on a sprint, creating action items from team feedback, or learning how to run effective retros.

Lev-it/lev-skills

Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/PRD asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X".

Lev-it/lev-skills

Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

Lev-it/lev-skills

Teach the user a new skill or concept, within this workspace.

Lev-it/lev-skills

Move issues through a state machine of triage roles — categorise, reproduce, grill if needed, and write agent-ready briefs.

Lev-it/lev-skills

Create product backlog items in Why-What-Acceptance format — independent, valuable, testable items with strategic context. Use when writing structured backlog items, breaking features into work items, or using the WWA format.

相关技能