ai-feature-prd

GitHub

用于编写AI功能的产品需求文档,涵盖不确定性UX、模型策略、评估标准、安全护栏及回退机制等关键内容。

skills/ai-feature-prd/SKILL.md mohitagw15856/pm-claude-skills

Trigger Scenarios

需要为AI或LLM功能编写规范时 撰写使用模型的功能PRD时 规划AI能力(如助手、生成器)时

Install

npx skills add mohitagw15856/pm-claude-skills --skill ai-feature-prd -g -y
More Options

Use without installing

npx skills use mohitagw15856/pm-claude-skills@ai-feature-prd

指定 Agent (Claude Code)

npx skills add mohitagw15856/pm-claude-skills --skill ai-feature-prd -a claude-code -g -y

安装 repo 全部 skill

npx skills add mohitagw15856/pm-claude-skills --all -g -y

预览 repo 内 skill

npx skills add mohitagw15856/pm-claude-skills --list

SKILL.md

Frontmatter
{
    "name": "ai-feature-prd",
    "description": "Write a PRD for an AI-powered feature, covering the things normal PRDs miss. Use when asked to spec an AI\/LLM feature, write a PRD for a feature that uses a model, or plan an AI capability (assistant, summarizer, generator, classifier). Produces an AI feature PRD — problem & UX of uncertainty, model approach, eval criteria, guardrails, fallback behaviour, the data flywheel, and cost\/latency budget."
}

AI Feature PRD Skill

AI features break the normal PRD because the system is probabilistic: it will be wrong sometimes, and the product must be designed around that, not in denial of it. This skill extends a standard PRD with the AI-specific sections that decide whether the feature is trustworthy — the UX of uncertainty, the eval bar, guardrails, and what happens when the model is wrong.

Required Inputs

Ask for these only if they aren't already provided:

  • The user problem and why an AI/probabilistic approach fits it (vs. deterministic rules).
  • What "good" looks like to the user, and the cost of a wrong answer (low-stakes vs. high-stakes).
  • Inputs available — context/data the model can use; privacy constraints.
  • Trust level needed — can the user verify the output, or must it be near-perfect?

Reads from / Writes to the Brain

If a professional-brain exists, read context.md (product, users, voice) and knowledge/strategy.md first; write the feature to entities/ and any scoping decision to decisions/, each provenance-tagged.

Output Format

AI Feature PRD: [feature]

1. Problem & why AI — the user problem, and why a model (not rules) is the right tool. If rules would do, say so.

2. Experience — the core flow, and crucially the UX of uncertainty: how confidence is shown, how the user verifies/edits, and how errors are made cheap to recover from. AI features live or die here.

3. Model approach — prompt / fine-tune / RAG / agent (link rag-design-doc or agent-spec), the model tier, and why.

4. Quality bar & evaluation — the metrics and the explicit ship threshold; reference an ai-eval-plan. State the acceptable error rate given the stakes.

5. Guardrails & safety — what the feature must never do, input/output filtering, and handling of harmful/PII/out-of-scope inputs.

6. Fallback behaviour — what happens when the model is unsure, wrong, slow, or down: graceful degradation, "I'm not sure" states, human handoff. No silent confident errors.

7. Data flywheel — how usage (and the 👍/👎 / edits) feed back into evaluation and improvement, with the privacy boundary.

8. Cost & latency — the per-request budget and p95 target; reference an llm-cost-latency-budget.

9. Rollout — staged exposure (internal → %→ GA), the guardrail metrics watched, and the rollback trigger.

Quality Checks

  • The PRD designs for the model being wrong — there's an explicit fallback, not just the happy path
  • The UX shows uncertainty and lets the user verify/correct cheaply
  • There's an explicit quality bar tied to the stakes (a medical answer and a tweet draft are not the same bar)
  • Guardrails name what the feature must never do
  • A data flywheel is defined with its privacy boundary
  • Cost and p95 latency budgets are stated, not left to "we'll see"

Anti-Patterns

  • Do not design only the happy path — a probabilistic feature without a fallback is a feature that fails loudly in production
  • Do not hide uncertainty behind a confident UI — overclaimed confidence is how AI features lose user trust permanently
  • Do not use AI where deterministic rules are better, cheaper, and more reliable — "AI" is not the goal
  • Do not set one quality bar for all stakes — calibrate the acceptable error rate to the cost of being wrong
  • Do not ship without a rollback trigger and guardrail metrics — a probabilistic system needs a kill switch

Based On

Standard PRD practice (see prd-template) extended for probabilistic systems — uncertainty UX, eval gates, guardrails, and graceful fallback.

Version History

  • a38bc30 Current 2026-07-05 11:29

Same Skill Collection

exports/openclaw/360-feedback-template/SKILL.md
exports/openclaw/401k-plan-decoder/SKILL.md
exports/openclaw/ab-test-planner/SKILL.md
exports/openclaw/ab-test-readout/SKILL.md
exports/openclaw/accessibility-audit/SKILL.md
exports/openclaw/account-plan/SKILL.md
exports/openclaw/acquirer-red-team/SKILL.md
exports/openclaw/ad-copy/SKILL.md
exports/openclaw/aeo-optimizer/SKILL.md
exports/openclaw/agenda-or-cancel/SKILL.md
exports/openclaw/agent-design-review/SKILL.md
exports/openclaw/agent-observability-spec/SKILL.md
exports/openclaw/agent-spec/SKILL.md
exports/openclaw/ai-ethics-review/SKILL.md
exports/openclaw/ai-eval-plan/SKILL.md
exports/openclaw/ai-feature-prd/SKILL.md
exports/openclaw/ai-product-canvas/SKILL.md
exports/openclaw/air-quality/SKILL.md
exports/openclaw/altitude-shifter/SKILL.md
exports/openclaw/ambiguity-resolver/SKILL.md
exports/openclaw/analyst-relations-brief/SKILL.md
exports/openclaw/announcement-card/SKILL.md
exports/openclaw/api-docs-writer/SKILL.md
exports/openclaw/api-test-plan/SKILL.md
exports/openclaw/api-versioning-strategy/SKILL.md
exports/openclaw/apology-letter/SKILL.md
exports/openclaw/architecture-decision-record/SKILL.md
exports/openclaw/architecture-diagram/SKILL.md
exports/openclaw/archive-strategy/SKILL.md
exports/openclaw/assumption-bounty/SKILL.md
exports/openclaw/assumption-mapper/SKILL.md
exports/openclaw/async-update-format/SKILL.md
exports/openclaw/auto-repair-estimate-decoder/SKILL.md
exports/openclaw/autopilot-charter/SKILL.md
exports/openclaw/benefits-decoder/SKILL.md
exports/openclaw/bid-tender-review/SKILL.md
exports/openclaw/board-deck-narrative/SKILL.md
exports/openclaw/board-minutes/SKILL.md
exports/openclaw/board-pre-read/SKILL.md
exports/openclaw/bom-cost-review/SKILL.md
exports/openclaw/bookkeeping-categorization/SKILL.md
exports/openclaw/boolean-search-builder/SKILL.md
exports/openclaw/brag-doc/SKILL.md
exports/openclaw/brainstorming/SKILL.md
exports/openclaw/brief-builder/SKILL.md
exports/openclaw/briefing-note/SKILL.md
exports/openclaw/budget-builder/SKILL.md
exports/openclaw/budget-variance-analysis/SKILL.md
exports/openclaw/bug-diagnosis/SKILL.md
exports/openclaw/bug-report/SKILL.md

Metadata

Files
0
Version
471c606
Hash
76f7bbf6
Indexed
2026-07-05 11:29

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-30 11:12
浙ICP备14020137号-1 $방문자$