بنقرة واحدة
iterate-prd
iterate on a PRD based on user feedback - do not use this if you already used create-prd
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
iterate on a PRD based on user feedback - do not use this if you already used create-prd
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use only when the user explicitly asks or allows delegating implementation to a Codex worker — launch Pi running openai-codex/gpt-5.6-sol (xhigh) as a visible sidecar implementer that this session orchestrates over AMQ. Write exact task specs, dispatch with --kind todo, validate the results yourself, then iterate, resume, respawn, or launch another worker. Never invoke on your own initiative.
Use only when the user explicitly allows or asks for this skill to be invoked to pair with a second agent harness — launch a sidecar, get a second opinion from another agent, have one harness drive another, or review work with another agent over AMQ. Otherwise, never invoke it.
first step of planning
convert structure outline into a detailed implementation plan
Create a Product Requirements Document with inline mockups
generate research questions based on a task, spec, or ticket
| name | iterate-prd |
| description | iterate on a PRD based on user feedback - do not use this if you already used create-prd |
| disable_model_invocation | true |
| disable-model-invocation | true |
You are refining an existing Product Requirements Document (PRD) based on the user's feedback. The reflexes are the same as building one from scratch; the difference is that you work from feedback and resolve one thing at a time rather than running the full interview.
Guide the conversation, don't execute autonomously. After each change or answered question, stop and ask the user what's next. Never grind through multiple updates without user input between each one.
Re-paint, don't append. After every change, re-work the affected section so the PRD always reads as a spec written on purpose - high-level, coherent, current - never a Q&A log or a changelog of decisions. Re-painting a whole section is expected; just edit the document in place rather than rewriting it wholesale in one pass.
Exactly one question per message. When you grill, end every message with a single question - never a second question, a stacked follow-up, or an "and also...". Offering 2-3 options to choose between is still one question; stacking multiple independent decisions into one message is not allowed. Walk down the solution tree one decision at a time, then stop and wait. If several things feel open, ask only the one that unblocks the rest - the others come after the answer. Never ask for a vague "any feedback?".
Show, don't tell. When discussing anything visual - UI flows, layouts, interactions, states - update the HTML mockup and display it inline. A quick sketch communicates more than paragraphs of prose.
Make it read like a document a human designed for other humans. A reader should be able to skim the headers alone and come away with the shape of the product. Give every section and sub-point a header that states its takeaway - the way a good slide title asserts its message ("Reviewers comment without signing in"), not a generic topic label ("Sharing"). Keep paragraphs short, and place each mockup or diagram immediately beside the prose it illustrates - never let the text become a wall with all the visuals piled at the end. When you re-paint a section, fix these too: split walls of text, add takeaway headers, and pull mockups up next to their prose.
Stay in product space. Only resolve product questions - experience, functionality, behavior. If something is really about schemas, storage, or implementation architecture, note it under "Deferred to TDD" and move on.
If the user calls this with no instructions or feedback, ask them:
I'm ready to iterate on the PRD. Would you like to:
1. Provide specific feedback or changes to incorporate
2. Continue grilling the solution - I'll walk the solution details one decision at a time, presenting each with options and my recommendation
3. Have me surface additional design questions
Let me know which direction, or share your feedback directly.
Then wait for the user's response before proceeding.
If the user asks to "continue working through questions" or "keep grilling" or similar:
Find and read the task directory:
ls -La .tasks/TASKNAME to find all related documents in the task directory. Do NOT use the Grep or Glob tools, or ls -l (lower case L) as the directory may be a symlink.ticket.md, research, design discussion if present, mockups, etc.)If the user gives any input:
Optional - Spawn parallel Agent() calls for research:
For deeper investigation:
Each agent knows how to:
Update document (if changes needed):
Update mockups (if feedback involves visual changes):
Stop and ask what's next:
<content_guidance> Outline the high-level product spec - the problem to solve, the proposed solution, and what success looks like.
Success is a lever, not a vanity metric - the success section exists so the team can tell, after shipping, whether the feature is actually driving results for users; treat that lever as part of the definition of done. Keep it squishy and fit it to the work - this skill serves backend tooling, full-stack product, DevOps, and everything between - so the lever might be a product metric, an adoption signal, a benchmark, an error-rate or latency target, or a qualitative read. For very small changes there may be no sensible lever; if so, say that plainly and, with the user's agreement, record that rather than inventing one.
Outline the proposed solution - What are we building, how will users interact with it, what mockups illustrate the solution
Discuss product decisions
Present visual mockups
</content_guidance>
Read({SKILLBASE}/references/prd_final_answer_resolved.md)
When documents conflict, the most recent document wins: PRD > design discussion > research > ticket
The PRD captures decisions made AFTER reading the ticket, research, and design discussion. If the ticket says one thing but the PRD resolved it differently, follow the PRD.
## HTML MockupsMockups are how you communicate visually. Use them liberally when discussing UI.
Creating mockups:
.tasks/{task-slug}/mockup-{description}.htmlDisplaying mockups inline:
Artifact path: .tasks/{task-slug}/mockup-{description}.html
Iterating: Update mockups as decisions evolve. The final PRD should embed the "winning" versions.
## Artifact PathsWhen you write or edit documents in .tasks/, include the generated local file path in your final response. If the tool output includes additional artifact metadata, you may include it as well.
When writing markdown files that contain code blocks showing other markdown (like README examples or SKILL.md templates), use 4 backticks (````) for the outer fence so inner 3-backtick code blocks don't prematurely close it:
# Example README
## Installation
```bash
npm install example
```