Pe Product Description 标志

Pe Product Description

社区
backnotprop
pe-product-description

为软件产品构建一个「产品描述」代码仓库——编写一组文档,从外到内描述用户能看到什么、能做什么,以及用户执行操作时具体会发生什么。内容依据代码和测试编写,再对照运行中的产品验证,并整理成 Bug 列表。适用于任何有用户的产品(画布编辑器、Web 应用、CLI、聊天产品、移动应用)。当用户要求「为 X 编写产品描述」「描述 X 的用户体验」「记录 X 面向用户的行为」「创建行为规范仓库」,或希望按功能、按事件详细说明应用的行为,而不是编写 API 文档时使用。也可用于继续或扩展现有的产品描述仓库。

概览

发布者backnotprop
代码仓库product-engineering
技能名称pe-product-description
星标数
28
复刻数
1
附带文件
8
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 8 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 backnotprop 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Pe Product Description AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/backnotprop/product-engineering/tree/main/skills/pe-product-description
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/backnotprop/product-engineering.git /tmp/product-engineering
mkdir -p .claude/skills
cp -r /tmp/product-engineering/skills/pe-product-description .claude/skills/pe-product-description
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Pe Product Description,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Pe Product Description。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Pe Product Description 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Product description repo

A product description treats the product as a large state chart the user moves through with input. The repo describes that state chart feature by feature, in plain language, from the user's point of view, with the same skeleton for every document so that gaps and inconsistencies show up by comparison. Documents are drafted from the source code and its tests, then verified by hand against the running product, and everything that looks like a defect is collected into one triage file.

The files under references/:

FileWhat it is
product-kinds.mdHow to map the template onto a canvas editor, a web app, a CLI, or a chat product. Read in Phase 0.
README-template.md, goal-template.md, glossary-guide.mdSkeletons for the three files that steer the whole build.
document-template.mdThe eight-section skeleton every feature document follows.
verification-template.md, bug-triage-template.mdSkeletons for the checking half.
check-links.pyLink and anchor checker for the consistency pass. python3 check-links.py {repo}.

Outputs

README.md            purpose, conventions, document template, method, structure, coverage table
goal.md              the standing instructions for whoever drafts (you, subagents, a future session)
glossary.md          the vocabulary; the source of truth for every term of art
AGENTS.md            "Read README.md, then goal.md. The coverage table in README.md is the work list."
CLAUDE.md            "Read @AGENTS.md."
{area}/{feature}.md  one document per feature, all on the same skeleton
verification/        README.md (protocol) + one checklist file per cluster of documents
bug-triage.md        every suspected defect, deduplicated, with repro, cause, severity, decision needed

Phase 0: scope

Settle these before writing a file. Ask only for what you cannot infer from the conversation or the source repo; record the answers in the README's "Scope decisions" section.

  1. Product and surface. What exactly is being described: which app, which route, role, or configuration, with what customization (usually "the defaults, nothing customized"). One surface per repo.
  2. Source of truth. The path to the source repo (read-only reference) and the commit. Every document footer cites git rev-parse --short HEAD of that repo.
  3. Where to run it. The command and URL, binary, or account that brings up the surface for verification.
  4. Out of scope. Name what is excluded and why, so later readers do not think it was forgotten.
  5. Where the repo goes. A new directory, git init, first commit Initial commit.
  6. The product's shape. Read references/product-kinds.md and decide, once: the unit of interaction and the names of its five phases; the variant axis (modifiers, flags, roles); the fixed interrupt list; the cross-cutting concerns and their order. These go into the README's "Document template" section and the glossary before the pilot is written, and they do not change afterwards without revisiting every document.

Then do a reconnaissance pass over the source repo to find: where interaction state lives (state machines, reducers, controllers, route handlers, command definitions), where behavior tests are (the ones that read as executable specs of edge cases), where the UI is, and where defaults and thresholds are defined (options, constants, config schemas). These go into the README's "Reference" section and goal.md's reading order.

Phase 1: scaffold

Write, in this order, adapting the templates in references/:

  1. README.md from README-template.md. The structure section is the plan: list every document you expect to write with a one-line gloss, grouped by how the user meets the feature (foundations, then the areas of the product, then cross-cutting concerns), never by package or module. The coverage table lists every document as not started. Getting the structure right up front is most of the planning; expect to revise it as you learn, and update the table whenever you do.
  2. glossary.md from glossary-guide.md. Start with the terms the foundations will need and the interrupt words from Phase 0; grow it as documents demand new words. A term used in a document that is not in the glossary is a consistency bug.
  3. goal.md from goal-template.md. This is the prompt that drives all drafting. Its "Things already established" section is empty at first and fills in as the foundations are written.
  4. AGENTS.md and CLAUDE.md with the one-line contents shown under Outputs. Do not leave AGENTS.md empty; it is what a fresh session reads first.

Commit: docs: add README, glossary, goal.

Phase 2: pilot, foundations, the hard part

Do these yourself, in sequence, not in parallel. They fix the template, tone, depth, and vocabulary that everything else copies.

  1. Pilot. One small, self-contained feature with a real interaction in it (product-kinds.md names one per product kind). Write it on the full eight-section template (document-template.md). Iterate on it until it is right; every later document copies it. A small feature done properly runs around 150–200 lines, with every phase narrated, every variant and interrupt cell filled, and the cross-cutting list walked in full; if a section is thin, the feature has not been read closely enough yet.
  2. Foundations. The documents everything else links to: the input or invocation model (events, thresholds, what cancels, completes, and interrupts), the core object or data model, the mode, tool, or navigation model, the viewport or session model. These own the facts other documents link to instead of restating. As each is written, add its load-bearing facts (numbers, defaults, rules) to goal.md's "Things already established" so no later document re-derives or contradicts them.
  3. The hardest area. The bulk of the experience (the selection tool, the main editor, the build command, the composer plus the streaming response). Read all of its state handling before writing any of its documents, because the states hand off to each other and the documents must agree on where one ends and the next begins. Decide which document owns each state and write that down in goal.md.

Commit after each document or coherent group: docs: add {path}.

Phase 3: draft the rest in parallel

Once the exemplars exist, the remaining documents are independent. Fan out with subagents, one document or small cluster per agent. Each agent's prompt is:

Read goal.md, README.md, glossary.md, {pilot}, and {the foundation document this feature depends on}. Write {area}/{feature}.md on the same skeleton, at the same depth. Use the glossary's words; if you need a term it lacks, add it to glossary.md in the right section with a full definition rather than coining a synonym. Do not edit any other existing document. Do not modify the source repo. End with "## Open questions and verification" and the footer. Report what you could not determine from code and tests.

Review every result yourself before accepting it. Check: glossary words used correctly, established facts not contradicted, relative links resolve, footer present, interrupt table complete (every row, even if the answer is "no effect"), suspected bugs stated plainly in "Open questions" rather than smoothed over.

Update the coverage table to drafted as each lands. Commit in groups: docs: add {paths}.

Phase 4: consistency pass

Over the whole set:

  • Same term for the same thing everywhere; every term of art defined in the glossary; glossary definitions agree with the documents.
  • No two documents describe the same behavior differently. Where two documents touch, one owns the behavior and the other links.
  • Every relative link and heading anchor resolves: python3 {skill dir}/references/check-links.py {repo} (exit 1 and a list of file:line: missing file|anchor if not).
  • Every document has the footer and an "Open questions and verification" section.
  • The interrupt table has the same rows in the same order in every document; the cross-cutting concerns appear in the same order.
  • The README structure and coverage table match the files on disk exactly.

Commit: docs: revise the set after the consistency review. Then go back through the documents whose open questions were thinnest and deepen them; expect a second revision pass on a handful of documents.

Phase 5: verification checklists

Drafting reads the code; verification watches the product. From verification-template.md:

  • verification/README.md: how to bring up the surface, confirm the commit, run a pass, record results, file failures, and when a document moves from drafted to verified.
  • One checklist file per cluster of documents, one table per document, one row per observable claim: stable ID (AREA-NN), priority (P1 established fact or suspected bug, P2 ordinary claim, P3 a number, color, or timing), what it needs (device, role, network condition), the claim with a link to the section, setup, numbered steps, expected result, Result column (— until run). Claims that cannot be checked by hand go under "Not checkable by hand".

If you can drive the product (browser tools, a console handle on the app, a shell for a CLI, a test harness), run a first pass yourself on what can be observed that way, record the results in the Result columns, and say plainly in verification/README.md what that pass did and did not cover (for example: a scripted pass checks output, exit codes, and stored state but not what was shown on screen or how long it took to appear). Do not mark a document verified on the strength of an automated pass alone. A failed item is not automatically a product bug; sometimes the document is wrong, and the Status line says which.

Phase 6: bug triage

From bug-triage-template.md: collect every suspected defect from every document's body and open questions, merge duplicates (the same root cause raised by many documents is one entry with many "Raised by" links), and write each up with where the user meets it, what happens vs. what was expected, reproduction steps, the cause in the code with file and line, a severity, and the decision the product team needs (fix or product call). Summary table at the top sorted by severity. Entries confirmed by a verification pass carry a Status line.

Filing upstream is a separate, outward-facing step. Offer it; do not do it unasked. If the user wants the entries filed as issues, confirm the repo and the format first, file them, then add an Issue line to each entry and a link column to the summary table (docs: revise bug-triage.md with links to the filed issues).

Resuming and extending an existing repo

A later session, or a request to add a feature that was out of scope, starts here rather than at Phase 0.

  1. Read AGENTS.md, README.md (structure, coverage table, scope decisions), goal.md (established facts), and glossary.md. Read the pilot to recalibrate depth.
  2. Confirm the source repo's commit. If it has moved, decide with the user whether new documents cite the new commit (and say so in their footer) or the repo pins the old one. Do not silently mix.
  3. To add a document: add it to the README structure and coverage table first, write it, add its checklist table to the right verification/ file (new ID prefix, numbered from 01), add any new triage entries to bug-triage.md with the next B-NN, and commit each step: docs: add {path}, docs: add the {name} checklist ({PREFIX}-01 to {PREFIX}-NN) to verification/{cluster}.md, docs: add B-NN to B-MM to bug-triage.md from the {name} work.
  4. To revise a document after a verification pass: change the document, update the checklist row's Result and note, update the triage entry's Status, and commit as docs: revise {path}.
  5. Never renumber checklist IDs or triage IDs once a pass or an issue has used them.

Writing rules (carry into goal.md verbatim or adapted)

  • Describe the experience, not the code. "The form stays disabled until the server answers", not "the mutation sets isPending". "The file is written only after every check passes", not "validate() runs before write()".
  • Technical detail only in > Technical note: block quotes, and only when the mechanism changes what the user would expect.
  • Sentence case for headings. Direct, concrete, no hedging, no marketing.
  • Surprising behavior is stated plainly, with the reason if the code or a comment gives one. If it looks like a bug, say so in "Open questions".
  • Variants and interrupts go in tables, split by phase ("at the start" / "during"). Every cell filled, even with "no effect".
  • Cross-reference with relative links instead of repeating. The foundation documents own thresholds and definitions.
  • One Mermaid stateDiagram-v2 per interaction, limited to the states the user passes through.
  • Footer: ## Open questions and verification, a bullet list, then Verified against {repo} commit \{sha}``.
  • Commits: docs: add {path} / docs: revise {path}. Follow whatever the user's repo does about AI attribution in commit messages.
  • Never modify the source repo. It is read-only reference material.
  • When a behavior cannot be determined from code and tests, write what can be determined, put the rest in "Open questions", move on. Do not guess, do not block.

What never changes, whatever the product

The outside-in stance; one skeleton for every document; the interrupt list asked of every feature in the same order; a glossary that owns the words; foundations written first so they own the numbers; a pilot that sets the depth; drafting from code and tests, then verifying against the running product, then triaging what looks wrong. product-kinds.md is about what to rename; this list is what not to.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Pe Product Description AI 技能有什么作用?

为软件产品构建一个「产品描述」代码仓库——编写一组文档,从外到内描述用户能看到什么、能做什么,以及用户执行操作时具体会发生什么。内容依据代码和测试编写,再对照运行中的产品验证,并整理成 Bug 列表。适用于任何有用户的产品(画布编辑器、Web 应用、CLI、聊天产品、移动应用)。当用户要求「为 X 编写产品描述」「描述 X 的用户体验」「记录 X 面向用户的行为」「创建行为规范仓库」,或希望按功能、按事件详细说明应用的行为,而不是编写 API 文档时使用。也可用于继续或扩展现有的产品描述仓库。

为什么在 TypingMind 中使用 Pe Product Description?

因为您只需安装一次,就能搭配任何模型使用。Pe Product Description 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Pe Product Description?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/backnotprop/product-engineering/tree/main/skills/pe-product-description。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Pe Product Description?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Pe Product Description 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Pe Product Description 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Pe Product Description AI 技能免费吗?

是的。backnotprop 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇