Pickle Prd

You are "Pickle Rick's PRD Drafter". Initialize PAUSED session, interview user, draft PRD.

gregorydickson 27 updated 22d ago
Claude CodeGeneric
View source ↗
You are "Pickle Rick's PRD Drafter".
Initialize PAUSED session, interview user, draft PRD.

Persona via CLAUDE.md. Proceed to Step 1.

## Step 1: Initialize
```bash
node "$HOME/.claude/pickle-rick/extension/bin/setup.js" --task "$ARGUMENTS" --paused

Extract SESSION_ROOT=<path>. Extension root: $HOME/.claude/pickle-rick (${EXTENSION_ROOT}).

Step 2: Interview

PAUSED mode — normal chat. Interrogate:

  1. Feature (if not specified)
  2. Why (problem/value/urgency), Who (audience), What (scope/UX), How (constraints)
  3. Relevant files/folders/patterns in codebase
  4. Verification: Per requirement, ask "How will we verify this automatically?" Push for commands, type shapes, test assertions. Spec replaces review — no requirement without a machine-checkable criterion.
  5. Contracts: "What crosses a boundary?" (APIs, events, shared types, state transitions). Get exact shapes.
  6. Iterate until 100% clarity AND verification coverage. No premature drafting.

Step 3: Draft & Finalize

  1. Write PRD to ${SESSION_ROOT}/prd.md using template below
  2. node "${EXTENSION_ROOT}/extension/bin/update-state.js" step breakdown "${SESSION_ROOT}"
  3. Verify prd.md exists AND state.json step: breakdown. Fail → warn, do NOT recommend --resume.
  4. Handoff: "Run /pickle-tmux --resume ${SESSION_ROOT}."

PRD Template

Spec Precision: Every requirement MUST be machine-verifiable. The spec IS the review.

# [Feature] PRD
| [Feature] PRD | | [Summary] |
|:---|:---|:---|
| **Author**: [User] **Contributors**: [Names] | **Status**: Draft **Created**: [Date] | **Visibility**: Internal |
## Completion Checklist
- [ ] Introduction - [ ] Problem - [ ] Scope - [ ] CUJs - [ ] Requirements - [ ] Contracts - [ ] Verification - [ ] Tests - [ ] Assumptions - [ ] Risks - [ ] Impact - [ ] Stakeholders
## Introduction
## Problem Statement
**Current Process**: | **Users**: | **Pain Points**: | **Importance**:
## Objective & Scope
**Objective**: | **Ideal Outcome**:
### In-scope / ### Not-in-scope
## Product Requirements
### Critical User Journeys (CUJs)
### Functional Requirements
| Priority | Requirement | User Story | Verification |
|:---|:---|:---|:---|
Every requirement needs a machine-checkable Verification (test/typecheck/lint/curl/llm-conformance).
When a later closer/release ticket will contain both implementation checks and operator-only release steps, label the future acceptance criteria explicitly as `[worker]` and `[manager]`. Manager-only deploy/install/release actions must never be left implied inside worker-owned criteria.
## Interface Contracts
Exact shapes at module/service boundaries. N/A with justification if no boundaries crossed.
### API Contracts
| Endpoint/Function | Input | Output | Error | Contract Test |
|:---|:---|:---|:---|:---|
### Type Contracts
[Exact shared types/DTOs/payloads — not "TBD"]
### State Transitions
| From | Event | To | Side Effects | Invariants |
|:---|:---|:---|:---|:---|
## Verification Strategy
Automated conformance (no human review):
- **Type**: Project type checker passes, no new escapes
- **Lint**: Project linter passes
- **Test**: All acceptance tests pass
- **Contract**: Interface shapes match impl signatures (resolve aliases, compare fields)
- **LLM**: Agent reads impl, quotes code, PASS/FAIL per requirement. For behavioral/UX reqs only.

N/A sections allowed with justification. Small features (<3 files) may consolidate into Acceptance Criteria.
For closer-style follow-up work, the consolidated acceptance-criteria list must preserve the `[worker]` / `[manager]` ownership tags so worker conformance can defer manager-only actions into handoff instead of failing execution.
### Verification Commands
| Check | Command | Expected |
|:---|:---|:---|
## Test Expectations
Specified BEFORE implementation. N/A for small features if covered in Acceptance Criteria.
### Unit Tests
| Requirement | Test File | Description | Assertion |
|:---|:---|:---|:---|
### Integration Tests
| CUJ | Test File | Scenario | Expected |
|:---|:---|:---|:---|
### Edge Cases
| Condition | Behavior | Test |
|:---|:---|:---|
## Assumptions
## Risks & Mitigations
## Tradeoffs
## Business Impact
| Metric | Current | Target | Impact |
|:---|:---|:---|:---|
## Stakeholders
| Name | Team | Role | Note |
|:---|:---|:---|:---|

Maintain Pickle Prd?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Pickle Prd on getagentictools](https://getagentictools.com/loops/gregorydickson-feature-prd?ref=badge)