ai-feature-prd
БесплатноБез исполняемых скриптовНе проверенExtends a PRD with model choice, eval and safety plan, guardrails, cost model and rollout gates for an AI or ML feature. Use when specifying any LLM, RAG…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
AI Feature PRD Expert
Overview
AI and ML features break the assumptions a standard PRD takes for granted. Outputs are non-deterministic. Quality is statistical, not categorical. The "spec" is half product, half eval suite. A regular PRD that says "Search returns the top result" is replaced by "the assistant returns a helpful, harmless, on-policy answer with a refusal rate under 4% on the golden set, p95 latency under 1.8s, and cost-per-conversation under $0.05."
This skill produces an AI Feature PRD that extends the standard 8-section PRD (see create-prd/) with three additional sections built for the realities of shipping AI: AI System Design (Section 9), Eval & Safety Plan (Section 10), and Operations & Cost (Section 11). This is a template-based skill with no Python tool; the artifact is a markdown PRD. Background frameworks are in references/ai-pm-frameworks-guide.md.
Core Capabilities
- 11-section AI PRD — the standard 8-section spine plus AI System Design, Eval & Safety Plan, and Operations & Cost.
- Model & architecture decisions — primary/fallback/switch logic; prompt vs few-shot vs RAG vs fine-tune vs agent selection with rejected-alternative rationale; data flow and prompt contract.
- Eval & safety planning — golden sets, acceptance/hallucination/refusal/latency/cost metrics, guardrail layers, refusal policy, failure-mode taxonomy, human-in-the-loop gates, ethical review.
- Operations & cost — cost model, per-tenant metering, shadow→internal→canary→percent→GA deployment ramp with gates, and lifecycle/prompt versioning.
When to Use
- Adding an AI/ML feature to an existing product -- a search assistant, a recommendation, an auto-summarizer, a copilot, an agent.
- Building an AI-first product -- the entire surface area is model-mediated.
- Migrating a deterministic feature to an LLM -- replacing a rules-based system or scripted flow with a model.
- Fine-tuning, prompt-tuning, or RAG decision -- the PRD captures the architecture rationale so engineering does not relitigate it mid-build.
- Regulated context -- EU AI Act, HIPAA, FINRA, FDA SaMD -- the PRD must enumerate the risk tier, the eval bar, and the audit trail before kickoff.
When NOT to use: for a non-AI feature (use create-prd/); for pure model R&D with no product surface (use a research design doc); for a one-off internal prompt or batch script that does not ship to users (a Notion page is fine); when the AI feature has no production traffic plan.
Clarify First
Before drafting the AI PRD, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- AI task & surface: what the model does and where it appears to the user (drives Section 9 model selection + architecture pattern: prompt vs RAG vs fine-tune vs agent).
- Quality & safety bar: the acceptance / hallucination / refusal / latency targets that define "good enough" (drives Section 10's eval criteria and golden set).
- Risk / regulatory tier: EU AI Act tier or regulated context (health, finance, legal) (drives Section 10.7 ethical review and where human-in-the-loop is mandatory).
- Cost & traffic envelope: expected volume and cost-per-call ceiling (drives Section 11's cost model and the deployment ramp gates).
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
Quick Start
The workflow, start to finish:
- Settle the Clarify First inputs, then write Sections 1-8 as for any PRD.
- Write Section 10 (eval and safety) before Section 9: golden set, acceptance, hallucination, refusal, latency and cost bars, using
assets/eval_spec_template.md. - Score candidate models against that golden set and fill Section 9: primary, fallback, switch trigger, architecture pattern, and for reasoning models the effort level or thinking budget, chosen on the golden set because it moves quality, latency and cost together.
- Fill Section 11 with
assets/ai_feature_prd_template.md: count thinking tokens as output tokens, subtract prompt-caching savings for stable system prompts and retrieved context, and give every ramp stage a gate metric. Walkassets/guardrail_checklist.mdandassets/failure_mode_taxonomy.md. - Verify that every number in Sections 9-11 traces to the golden set or the traffic envelope, and that each ramp stage names the metric that halts it, before calling it done.
Name models by the vendor's current id (for example claude-sonnet-5-5, claude-haiku-5-5) and check the vendor's model list and pricing page when writing; ids and prices change faster than this skill.
Anti-Patterns
Choosing the model before the eval
Mistake: Section 9.1 names a primary model while Section 10.1 still says the golden set is under construction. **Why it hap
Установить ai-feature-prd в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ai-feature-prd?
Extends a PRD with model choice, eval and safety plan, guardrails, cost model and rollout gates for an AI or ML feature. Use when specifying any LLM, RAG, agent or ML feature, or replacing a rules-based flow with a model.
Как установить скилл ai-feature-prd?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ai-feature-prd запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic