skill-prd
Write an AI-optimized PRD using multi-AI orchestration — use when scoping a new feature or product
What this skill does
> **Host: Codex CLI** — This skill was designed for Claude Code and adapted for Codex. > Cross-reference commands use installed skill names in Codex rather than `/octo:*` slash commands. > Use the active Codex shell and subagent tools. Do not claim a provider, model, or host subagent is available until the current session exposes it. > For host tool equivalents, see `skills/blocks/codex-host-adapter.md`. # STOP - SKILL ALREADY LOADED **DO NOT call Skill() again. DO NOT load any more skills. Execute directly.** ## PHASE 0: CLARIFICATION (MANDATORY) Before writing ANY PRD content, you MUST ask the user these questions: ``` I need to understand your requirements before creating the PRD. 1. **Target Users**: Who will use this? (developers, end-users, admins, etc.) 2. **Core Problem**: What specific pain point does this solve? Any metrics? 3. **Success Criteria**: How will you measure if this succeeds? 4. **Constraints**: Any technical, budget, or timeline constraints? 5. **Existing Context**: Is this greenfield or integrating with existing systems? Please answer these (even briefly) so I can create a more targeted PRD. ``` **WAIT for user response before proceeding to Phase 1.** If user says "skip" or provides the feature description inline, extract what you can and note assumptions. ## PHASE 1: QUICK RESEARCH (Max 2 searches) Only search if topic is unfamiliar. Limit to 2 web searches max: - One for domain/market context - One for technical patterns (if needed) Do NOT over-research. 60 seconds max for this phase. ## PHASE 2: WRITE PRD Structure: 1. **Executive Summary** - Vision + key value prop 2. **Problem Statement** - Quantified pain points by user segment 3. **Goals & Metrics** - SMART goals, P0/P1/P2 priority, success metrics table 4. **Non-Goals** - Explicit boundaries (what we WON'T do) 5. **User Personas** - 2-3 specific personas with use cases 6. **Functional Requirements** - FR-001 format with acceptance criteria 7. **Implementation Phases** - Dependency-ordered, time-boxed 8. **Risks & Mitigations** - Top 3-5 risks with mitigation strategies ## PHASE 2.5: ADVERSARIAL PRD REVIEW (RECOMMENDED) **After drafting the PRD but BEFORE self-scoring, dispatch the draft to a second provider for adversarial review.** A single-model PRD has blind spots — cross-provider challenge surfaces wrong assumptions, uncovered scenarios, and contradictory requirements. Dispatch the PRD draft to a different provider (Codex, Gemini, or Sonnet as fallback) with this prompt: > "Challenge this PRD. What assumptions are wrong? What user scenarios are missing? What requirements contradict each other? What will the first user complaint be? What risk does this PRD ignore?" **After receiving the challenge:** - Revise the PRD to address valid challenges - Note dismissed challenges in the Risks section if they have partial merit - Add to PRD footer: `Adversarial review: applied` **Skip with `--fast` or when user requests speed over thoroughness.** See `prd.md` command for full dispatch syntax. ## PHASE 3: SELF-SCORE Score against 100-point framework: - AI-Specific Optimization: 25 pts (sequential phases, non-goals, structured format) - Traditional PRD Core: 25 pts (problem statement, goals, personas, specs) - Implementation Clarity: 30 pts (FRs with codes, NFRs, architecture, phases) - Completeness: 20 pts (risks, dependencies, examples, doc quality) ## PHASE 4: SAVE Write to user-specified filename or generate based on feature name. **START WITH PHASE 0 CLARIFICATION QUESTIONS NOW.**
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.