Evanflow prd

From evanklem/evanflow · View interactive version

Evanflow prd is an AI agent skill from the GitHub repository evanklem/evanflow. Synthesize a PRD (Product Requirements Document) for a big new feature. Synthesis (not interview) — uses existing project context and explicit ADRs. Asks before gh issue create. Use when scoping a substantial new feature in PRD shape (e.g., before a sprint).

How to use this skill

Skill file

EvanFlow: PRD

Vocabulary

See evanflow meta-skill.

When to Use

SKIP when: the work is small enough for evanflow-brainstorming → evanflow-writing-plans directly.

The Flow

1. Read Context (don't interview)

The skill name is "to-prd" not "interview-to-prd" for a reason. Synthesize from what's already known:

Only ask the user for things you genuinely cannot derive.

2. Identify Major Modules

Sketch the modules to build/modify, emphasizing deep modules (small interface, complex internals). Apply the deletion test to each — does this module earn its existence?

3. Validate Architecture

Confirm with the user:

4. Write the PRD

Default location: docs/specs/YYYY-MM-DD-<feature>.md. Use the user's preferred path if they have one.

Structure:

# [Feature Name] PRD

## Problem

One paragraph: what's broken or missing in the current product, and who feels the pain.

## Solution

One paragraph: the shape of the answer, named in domain language.

## User stories

- As a <role>, I can <action> so that <outcome>.
- (List 5-15)

## Architecture

Module list with one-line responsibility per module. Reference existing files where relevant. No code paths.

## Testing strategy

What behaviors must be covered. Integration vs. unit. Real services vs. test doubles.

## Scope

In:
- ...

Out:
- ...

## Open questions

Things needing decision before the plan can be written.

5. Optional: Create GitHub Issue

If the user wants the PRD as a GitHub issue, ASK before running gh issue create. Never auto-file.

Hard Rules

Hand-offs

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.