context-to-prd SKILL.md skillA

context-to-prd from mingdui/ai-product-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add mingdui/ai-product-skills/context-to-prd@git:20261013.be4849d

Pins git:20261013.be4849d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
mingdui/ai-product-skills
Path
skills/context-to-prd/SKILL.md
Versions recorded
2
Latest version
git:20261013.be4849d, committed Oct 13, 2026
First version recorded
Oct 13, 2026
Size
5,042 bytes
Repository stars
12
License
a license file GitHub does not identify

把已经聊透的需求上下文直接落成 PRD,不做采访。适用于你已经跟 AI 把问题、边界、方案讨论清楚,只差成文的场景;需求还停在口头、边界没问清时改用 requirement-clarify,要复用已有产品体验基线或做增量 PRD 时用 prd-write。产物与 prd-write 完全同构,落在 docs/prd/<feature-name>/prd.md。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 上下文成文

把「已经聊透的需求」直接写成 PRD。**不采访**——你手上已经有足够的上下文,再问一遍是浪费。

## 使用边界

- **适用**:需求已经跟 AI 讨论清楚,问题、用户、范围、边界都有结论,只差落到文档。
- **不适用**:
  - 需求还停在口头、边界没问清 → 先用 `requirement-clarify` 采访一轮
  - 要复用已有产品体验基线,或要做增量 PRD(只写本次变化)→ 用 `prd-write`
  - 要评审已成文的 PRD → 用 `grill-with-prd`

### 与 `prd-write` 的关系(重要)

两者产出**同一套结构**:都以 [template.md](../prd-write/template.md) 的 0–10 节为骨架,
写同一个文件 `prd.md`。差别只在过程:

| | 本 Skill | `prd-write` |
|---|---|---|
| 是否采访 | 不采访 | 不采访 |
| 是否强制读产品体验基线 | 不强制。有就读并写进第 2 节,没有就写「无基线」 | **必须查**。增量模式要靠它写清「复用 / 局部 / 候选 / 偏离」 |
| 典型场景 | 聊透了,一次成文 | 迭代中的功能,要跟已有规范对齐 |

**两个都产出同一个 `prd.md`,不要连着跑。** 写完一个就够了,另一个是用来替补的。

## 开始前

1. 确定功能名,用**小写短横线**(`user-auth`、`payment-flow`);目标 `docs/prd/<feature-name>/prd.md`。
2. 已有同名 PRD 时先问用户:**更新、另建功能目录、还是保留原文**——不要静默覆盖。
3. 查 `docs/product/<project-name>/`。有基线就读进来写进第 2 节;没有就写「无基线」,
   不要凭空造产品级规则。

## 流程

### 1. 梳理上下文

把这次对话里**已经定下来**的东西挑出来:问题、目标角色、范围、**明确不做**、已知约束、验收口径。

没定下来的**不要替它定**——写进第 9 节「待决问题」,标明归属人。
「明确不做」这一条最容易漏,主动回头找一遍:聊的过程中有没有排除了什么。

### 2. 探索代码库

还没了解代码库就先看一遍。全文使用项目的领域词汇,遵守相关区域已有的架构决策记录(ADR)。

### 3. 梳理模块(本 Skill 的独有产出)

梳理需要新建或修改的主要模块,主动找**可独立测试的深度模块**机会:

> **深度模块**:封装大量功能,对外暴露简单且稳定的接口,便于独立测试。
> 反过来,浅层模块把复杂度摊在外面,测试和改动都会牵连一片。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mingdui/ai-product-skills/context-to-prd@sha256:df4330ca0b622246

The line at the top of this page pins the label git:20261013.be4849d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_w5v7y2khlbgybd4e.svg)](https://markdownregistry.com/a/art_w5v7y2khlbgybd4e)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Oct 13, 2026.

versioncommittedcommitsizeaudit
git:20261013.be4849d latest2026-10-13 be4849d 5,042 BA view · diff
git:20261013.60e89782026-10-13 60e8978 2,462 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5042 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

mingdui/ai-product-skills · 12 stars · license a license file GitHub does not identify · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_w5v7y2khlbgybd4e
GET https://markdownregistry.com/api/v1/resolve?ref=mingdui/ai-product-skills/context-to-prd
GET https://markdownregistry.com/api/v1/blob/df4330ca0b622246a83efa865a5a86e0d2c36ab6f4b65f56211798ecc4109e0e

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from mingdui/ai-product-skills

CLAUDE.md CLAUDE.md file
mingdui/ai-product-skills · CLAUDE.md
git:20261013.3d17e09 · audit A · 12 stars
acceptance-checklist SKILL.md skill
mingdui/ai-product-skills · skills/acceptance-checklist/SKILL.md · 基于 PRD 和交付包生成结构化验收清单,产出 docs/prd/<feature-name>/acceptance.md。按核心流程、边界与异常、UI 还原度、数据埋点四个维度拆解,每条标 P0/P1/P2 优先级并注明依据出处(引用…
git:20261013.447718f · audit A · 12 stars
design-spec-prototyper SKILL.md skill
mingdui/ai-product-skills · skills/design-spec-prototyper/SKILL.md · 将 `design.md` / `DESIGN.md` 等有证据支撑的设计规格,**配合设计稿图片或截图**,转为高保真、无障碍且响应式的 UI 原型。规格提供品牌令牌、组件规则与字体(持续沉淀的产品事实),图片提供本次页面的实际构图,两者…
git:20261013.447718f · audit A · 12 stars
grill-with-prd SKILL.md skill
mingdui/ai-product-skills · skills/grill-with-prd/SKILL.md · 针对 PRD 文档的逐项审查会话,挑战需求的完整性、一致性和可实现性,并将确认的决策同步回 docs/prd/{feature-name}/prd.md。适用于用户想在开始实现前压测 PRD 的场景。
git:20261013.447718f · audit A · 12 stars
pm-frontend-prototype SKILL.md skill
mingdui/ai-product-skills · skills/pm-frontend-prototype/SKILL.md · 仅当用户明确要求在已有前端项目中生成、制作、构建或完善“原型”(例如高保真原型、可点击演示或评审 Demo)时使用此 Skill。默认基于现有源码复用组件、设计变量和技术栈,创建与正式业务入口隔离的原型页面或路由,并使用页面级模拟数据完成可…
git:20261013.4d20990 · audit A · 12 stars
prd-write SKILL.md skill
mingdui/ai-product-skills · skills/prd-write/SKILL.md · 编写或维护项目内的 PRD。适用于首版/重大方案的完整 PRD,也适用于已有产品基线后的功能迭代 PRD;先复用 docs/product 下已确认的体验规则,只记录本次新增、偏离、候选模式和待决问题。输出保存到 docs/prd…
git:20261013.447718f · audit A · 12 stars
product-experience-foundation SKILL.md skill
mingdui/ai-product-skills · skills/product-experience-foundation/SKILL.md · 为一个具体产品项目建立或维护可持续演进的体验基线,包括产品上下文、C 端或 Admin 的信息架构、视觉与交互规则、页面模式和组件晋升记录。适用于首版…
git:20261013.447718f · audit A · 12 stars
product-prd-extract SKILL.md skill
mingdui/ai-product-skills · skills/product-prd-extract/SKILL.md · 把 Word(.docx)PRD 或粘贴的 PRD 文本转成结构化 Markdown,落到 docs/prd/<feature-name>/prd.md,直接接进本仓库的链路。当用户提到「解析 PRD」「提取需求文档」「PRD…
git:20261013.51f741b · audit A · 12 stars
prototype-html SKILL.md skill
mingdui/ai-product-skills · skills/prototype-html/SKILL.md · 生成交互式HTML产品原型的专家技能。当用户需要创建产品原型、UI界面原型、 可交互的HTML演示页面、产品功能展示页面,或提到"原型"、"prototype"、 "产品界面"、"UI原型"、"交互原型"、"演示页面"等时使用。
git:20261013.60e8978 · audit B · 12 stars
prototype-to-product SKILL.md skill
mingdui/ai-product-skills · skills/prototype-to-product/SKILL.md · 将已确认的 HTML、Tailwind、Figma 导出或代码原型路由为当前仓库的正确工程交付:直接实现生产代码,或交接到项目采用的 OpenSpec、Superpowers…
git:20261105.993e405 · audit A · 12 stars
requirement-clarify SKILL.md skill
mingdui/ai-product-skills · skills/requirement-clarify/SKILL.md · 在写 PRD 之前,用采访的方式把一句模糊需求补成可以落笔的完整输入。逐个问清目标角色、触发场景、范围、明确不做的部分和已知约束,产出 docs/prd/<feature-name>/clarify.md。适用于需求还停留在口头、聊天记录或…
git:20261013.51f741b · audit A · 12 stars
web-design-extractor SKILL.md skill
mingdui/ai-product-skills · skills/web-design-extractor/SKILL.md · 从公开网站或已获授权的网站 URL、一个或多个网页截图中提取有证据支撑、可直接用于实现的 `design.md`。适用于需要为复刻、设计系统文档或 UI 实现简报逆向分析网站的视觉系统、布局、组件、响应式行为、内容层级或交互状态的场景。
git:20261013.447718f · audit A · 12 stars

Every file in mingdui/ai-product-skills

Browse by kind, by grade A, or by owner.