pm-ai-prd

pm-ai-prd is a skill for Claude Code from konglong87/superPM. It costs 288 tokens per session (2,778 once invoked), scanned A, original, MIT.

A planning aid for AI features that turns product requirements into testable specifications. It defines expected inputs and outputs, test examples, quality thresholds, fallback behaviour, privacy checks, and monitoring.

In plain words
What is it for?
Use it to write a product requirements document for features such as generation, summarisation, question answering, classification, extraction, or AI agents. It also helps design evaluation sets, acceptance thresholds, baselines, fallbacks, and rollout checks.
Why use it?
AI systems can produce different answers for similar inputs, so ordinary feature requirements may not say what counts as acceptable. This helps teams agree how to measure quality and handle mistakes before launch.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the super-pm plugin — 61 skills, 1 hook shipped together

Good fit Use it to write a product requirements document for features such as generation, summarisation, question answering, classification, extraction, or AI agents. It also helps design evaluation sets, acceptance thresholds, baselines, fallbacks, and rollout checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/konglong87/superpm/pm-ai-prd
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add konglong87/superPM --skill pm-ai-prd
Clone the repo
git clone --depth 1 https://github.com/konglong87/superPM

Made for: Claude Code.

Or install super-pm, the plugin that ships this one along with the rest of its 61 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pm-ai-prd

README.md
[![agentmods](https://agentmods.dev/badge/skills/konglong87/superpm/pm-ai-prd/github.svg)](https://agentmods.dev/skills/konglong87/superpm/pm-ai-prd)
Your own site
<a href="https://agentmods.dev/skills/konglong87/superpm/pm-ai-prd"><img src="https://agentmods.dev/badge/skills/konglong87/superpm/pm-ai-prd/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pm-ai-prd

Your own site · 80×15
<a href="https://agentmods.dev/skills/konglong87/superpm/pm-ai-prd"><img src="https://agentmods.dev/badge/skills/konglong87/superpm/pm-ai-prd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 288 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,778 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00288 $0.02778
Opus 5.5 $0.00115 $0.01111
Sonnet 5.5 $0.00058 $0.00556
Haiku 4.5 $0.00029 $0.00278

Measured today against content hash 04e2318a22cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pm-ai-prd scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/02-solution-design/pm-ai-prd/SKILL.md · 151 lines

How it starts

The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Preamble (run first)

# 只读检查:是否已有普通 PRD / 本技能产物(不创建任何目录或文件)
echo "🤖 检查 AI 功能 PRD 的前置文档..."
for f in "docs/02-方案设计/PRD产品需求文档.md" "docs/02-方案设计/AI功能PRD.md"; do
  if [ -f "$f" ]; then echo "✅ 找到: $f"; else echo "⏳ 未找到: $f"; fi
done

写入时边界

只讨论时不写文件,启动检查不创建目录。用户要求保存产物时,先确认当前产品、精确输出路径(建议 docs/02-方案设计/AI功能PRD.md)及已有文件的覆盖/追加/另存选择;覆盖须用户明确确认;确认后仅在实际 Write 前创建该文件的父目录。完整安装可参见 skills/_shared/artifact-policy.md,单独安装本 skill 也按本段执行。


目标与边界

帮产品经理把“想用 AI 做点什么”变成可验收的 AI 功能规格。理念是评测即规格:传统 PRD 靠功能描述验收,AI 功能的输出不确定,必须用“评测集 + 通过阈值”定义什么叫做好。

与相邻技能的分工:

需求 用哪个
普通功能 PRD/BRD/MRD pm-docs(本技能可读取其生成的 PRD 作为输入,只补 AI 专属部分)
评审 PRD 文档完整性 pm-prd-review
核对报告里数据/结论的来源 pm-evidence-audit

路由优先级:用户明确是 AI/LLM 功能并涉及评测、幻觉、验收门槛、兜底时用本技能;只说“写 PRD”而未提 AI 的按 pm-docs(含其前置门禁)处理。本技能是 pm-docs PRD 的 AI 专属补充:已有 PRD 时只补 AI 部分,不重复通用章节;没有 PRD 时输出的文档以 AI 部分为主,通用功能描述仅简要记录并建议用 pm-docs 补全。

默认只在聊天中给建议。用户明确要求保存文档时,才进入写入流程。不替用户做业务决定,不替用户跑评测。


绝不编造(硬性规则)

  1. 没有真实评测数据时,不得写出准确率、通过率、成本、延迟等数值,也不得声称“已测试/已验证/测试过”。 所有阈值写成 “建议值,待基线测试校准”,并注明校准所需的数据(样本量、评测时间、负责人)。
  2. 没有用户提供或实测依据时,一律不给具体数字,只用相对表述(如“不低于不用 AI 的基线”)或 [待填],并标“建议值,待基线测试校准”。用户直接给出的目标值(如“准确率要 95%”)写成“用户设定目标,未经测试验证”,不得写成已达成/已验证,也不得替它补“依据”;可提示该目标需用评测集校准。
  3. 不推荐具体厂商或模型,也不给厂商价格。成本只给估算框架:调用量 × 单次 token × 单价,单价由用户提供,否则标注“待核实”。
  4. 区分三类内容并在文档中标明:用户已确认、建议(待校准)、待核实/未知。
  5. 行业说法与外部文章只作思路参考,注明出处,不当作本产品的事实依据。

交互规则

  1. 先读用户已给材料和(若存在)docs/02-方案设计/PRD产品需求文档.md,已有信息不重复索取。
  2. 每次只问一个问题。优先用 AskUserQuestion,给 3-5 个选项,最后一项永远是“其他(请手动输入)”;环境不支持时用普通聊天提问。提问后停止,等待回答,不得替用户回答。
  3. 材料已覆盖的子项只做确认,不逐项重问;只补缺口。
  4. 用户说“不确定/没有数据”,记为“待核实”并继续,不追问到底,也不编一个数填上。
  5. 用户要求停止或只想讨论:立即停止,在聊天里总结已确定项与待定项,不写文件。

执行流程

步骤 1:读取前置信息

读取已有 PRD 或用户描述,提取:功能名称、目标用户、要解决的问题。缺失则只问一个最关键的问题:这个 AI 功能要帮用户完成什么任务?

若没有任何前置文档,不阻塞(本技能产出的是 AI 专属规格,不替代 pm-docs 的新产品前置调研门禁);可先做轻量版,并建议之后用 /pm-docs 补齐普通 PRD 部分。

步骤 2:任务与“不用 AI 的基线”(风险前置)

先验证“为什么必须用 AI”,再往下走:

  • 任务定义:输入是什么、期望输出是什么、谁来用。
  • 基线方案:不用 AI,用规则/模板/搜索/人工能做到什么程度?AI 相对基线的增量价值是什么?
  • 若基线已足够好,直接指出“可能不需要 AI”,由用户决定是否继续。

Read the full file on GitHub · 151 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 151 lines · 288 tokens per session scan A 04e2318a22cf

Subscribe to this mod's changes

pm-ai-prd is a skill published in the GitHub repository konglong87/superPM (96 stars, last pushed today), licensed MIT. It adds 288 tokens to every session and 2,778 once invoked, about $0.0012 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-01.

Related

pm-ai-prd compared with skills from other repositories

pm-ai-prd next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pm-ai-prdkonglong87/superPMSkill96todayMITA288Claude Code
video-frame-extractoranbeime/skillSkill10kyesterdaynoneA78Claude Code, Codex
expert-prompt-migratoranbeime/skillSkill10kyesterdaynoneA111Claude Code, Codex
freerideShaivpidadi/FreeRideSkill2401mo agoMIT-0A77Claude Code, Codex
multi-searchNex-ZMH/Agent-websearch-skillSkill119mo agononeA60Claude Code, Codex
add-ollama-toolnanocoai/nanoclawSkill31ktodayMITA28Claude Code
baoyu-danger-gemini-webJimLiu/baoyu-skillsSkill28k11d agoMITA74Claude Code