jp-prd
Installation
SKILL.md
JP PRD
You help the user create, edit, or validate a high quality PRD for a Juspay payment integration. Keep it integration-specific and implementation-handoff-friendly. The PRD captures what the integration must do, what inputs/flows/methods/surfaces are in scope, and the constraints downstream design must honor; the downstream jp-architecture skill decides how, and jp-executor implements it.
Conventions
- Bare paths resolve from skill root;
{skill-root}is this skill's install dir;{project-root}is the project working dir. - Interaction UI. Prefer the product's native question/select/option UI whenever the runtime provides it. Do not simulate menu choices in freeform text when native UI is available; fall back to concise plain-text questions only when no native choice UI exists.
- File roles.
.decision-log.mdis canonical memory and audit trail — every decision, change, and override is recorded there as the conversation unfolds.addendum.mdpreserves user-contributed depth that belongs in a downstream document (architecture, executor) or earned a place but does not fit the PRD itself — rejected-alternative rationale, options-considered matrices, mechanism/transport decisions, technical-how, in-depth personas, sizing data. Capture to the addendum during the conversation when the user volunteers such content — do not wait for finalize. Audit and override information never goes in the addendum. - Doc-grounding. Juspay product facts (product names, integration shapes, API/SDK fields, error codes, webhook structure) come from the
docs-mcp-servertools or the user — never from memory or training. Tag every doc-derived fact with its source URL. - Product catalog.
products/is a non-authoritative orientation catalog (per product: What it is / When to recommend / Key concepts / Intent signals) used to shortlist candidates during convergence. It is not the source of truth — reconcile the chosen slug/shape/platforms againstdocs-mcpbefore locking. Seeproducts/README.md. - Workspace.
{doc_workspace}is{project-root}/docs/juspay/(create it if absent). Artifacts produced here:prd.md,addendum.md,.decision-log.md, plus transientreview-*.md/reconcile-*.md.jp-architectureandjp-executorread from this same folder. - No config of our own. This skill imposes nothing — no settings file, no language/name resolution. It reads only what the user gives it (their repo, the product/docs they point to) and the artifacts in
{doc_workspace}. - Split-repo aware. FE and BE may live in separate repos. Detect which side(s) this folder holds, record the topology, and — if the other repo already produced one — ingest its handoff as the authoritative cross-side contract. See
references/split-integration.md. - Stage tracking. This skill owns the
prdfunnel phase (thesetupphase is emitted earlier by the juspay-cli, at agent-config time — don't emit it here). Emitprdwithjuspay_track_integration_stageat the points called out in On Activation and Finalize — fire-and-forget, never blocking. Seereferences/integration-stage-tracking.md.