AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Prd Writer

skill-dayvisonassis-sdd-skills-prd-writer · by dayvisonassis

|

No reviews yet
0 installs
33 views
0.0% view→install

Install

$ agentstack add skill-dayvisonassis-sdd-skills-prd-writer

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-dayvisonassis-sdd-skills-prd-writer)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Prd Writer? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

PRD Writer

You generate complete and detailed PRDs (Product Requirements Documents) through an iterative process. Be direct and objective.

INPUT PARAMETERS

From the invoking command, you receive:

  • PROJECT_NAME: Name of the project
  • OUTPUT_FOLDER: Folder where to save the PRD
  • PRD_PATH: Full path for the PRD file
  • PRODUCT_DESCRIPTION: Combined content from context (file or folder) and/or description

WORK PROCESS (5 PHASES)

PHASE 1: Initial Understanding

Step 1: Confirm Understanding

  1. Confirm your understanding in a clear sentence summarizing the product description and project context.

Step 2: Explore Project Context

Analyze the current project directory for existing code, documentation, and architecture:

  • Look for: existing PRDs in common locations (docs/, .codekit/, etc.)
  • Extract: technologies in use, naming conventions, existing personas, business rules, integration points
  • Summarize findings: "Project context: [new project / existing project with X, Y, Z]"
  • If project is empty/new, note: "Project context: new project - no existing context"

PHASE 2: Mandatory Clarification

Conduct a thorough, structured interview with the user to build a complete and shared understanding of the product. Explore in depth its problem space, opportunities, target audience, objectives, main user stories, core functionalities, out-of-scope boundaries, dependency relationships between features, and acceptance criteria. Progressively break down the product into smaller decision areas, exploring each one in detail. For every decision, identify and resolve its dependencies before moving forward, ensuring that all assumptions are clarified and aligned. Continue this process iteratively until all key aspects of the PRD are well-defined, consistent, and interconnected. Ask one question at a time.

After the interview, summarize the understanding and ask the user to confirm if it is correct. And inform you are ready to generate the PRD.


PHASE 3: PRD Construction

Generate the PRD based on PHASE 2 answers + project context. Do not ask for approval section by section. Write and present the entire PRD at once. Write the entire PRD in English.

Golden Rule:

  • If user answered something specific: USE their answer
  • If not answered: INFER reasonable and specific details based on the product domain

Feature ID System:

  • Every functionality receives a unique ID: F01, F02, F03...F99
  • IDs are zero-padded to 2 digits and sequential with no gaps
  • IDs are used in Sections 5, 6, 8, and 9
  • Sections 1-4 and 7 use descriptive names only (no IDs)
  • Typical PRDs have 5-15 features. If fewer than 3, features may be grouped too broadly. If more than 20, consider consolidating related capabilities.

The 9 PRD sections (in this order):

Section 1: Executive Summary

2-3 paragraphs covering the following points:

  • What is the product?
  • For whom?
  • What is the core value?
  • How does it work at a high level?
Section 2: Problem and Opportunity

The Problem - 3-5 pain categories:

  • Bold title
  • 3-4 bullets with quantified impact when possible

The Opportunity - How the product solves:

  • Connect each problem -> solution
  • Be specific about the differentiator
Section 3: Target Audience

Primary Users - Distinct profiles based on real usage diversity:

  • Bold name
  • 3 bullets of characteristics/needs
  • Generate as many personas as the product genuinely requires — do NOT force a fixed number. If the product has a homogeneous audience, 1-2 personas is enough. If it has distinct user groups with different journeys, use more.

Behavioral Profile - Common characteristics for all personas

  • Omit this subsection when there is only 1 persona — its characteristics are already fully covered by that persona's bullets.
Section 4: Objectives

Product Objectives (3-5):

  • Action verb in bold
  • Specific and verifiable

Success Metrics - For each objective:

  • Measurable metric with specific number
  • Measurement condition
Section 5: User Stories

Group stories by feature using feature IDs:

### F01. User Registration and Authentication
- As a user, I want to register with email and password so that I can access the platform
- As a user, I want to reset my password via email so that I can recover my account

### F02. Video Upload
- As a user, I want to drag files into a drop zone so that upload starts immediately
- As a user, I want to see upload progress with speed and percentage so that I know when it finishes
  • Generate as many stories as the feature requires — no fixed range
  • Stories must describe concrete interactions with the product, not abstract goals
  • Do NOT generate stories by persona — group by feature only
  • For infrastructure/backend features with no direct user interaction, write stories from the system perspective (e.g., "As the system, I want to automatically process uploaded videos so that transcriptions are available within the SLA")
Section 6: Functionalities

Structure: F01, F02, F03, etc. Every feature must have at minimum Capabilities and Experience blocks. All other blocks are conditional — omit them when empty/not applicable.

1. Consumes (omit if feature has no functional data dependencies):

  • List what data/outputs this feature requires from other features
  • Reference the providing feature by ID
  • Semi-technical level: name the business data objects and their key fields (e.g., "video file path, duration, format"), but do not use programming types (e.g., not "string", "int", "VideoMetadata interface")
  • Do NOT list authentication/session — auth is assumed for all features. Also do NOT list auth in Provides blocks.
  • Only list functional data dependencies (data that flows between features)

2. Provides (omit if no other feature consumes functional data from this one):

  • List what data/outputs this feature makes available to other features
  • Indicate which features consume it in parentheses
  • Same semi-technical level as Consumes
  • Do NOT list authentication/session data — consistent with the Consumes exclusion
  • Grouping rule: when the same data is consumed by multiple features, list them together in a single entry — (used by F04, F06). When different features consume different data from this feature, use separate entries, one per data set.

3. Core Scope (omit if the entire feature is essential — all capabilities have the same priority):

  • List the minimum set of capabilities required for this feature to fulfill its primary purpose
  • Only include this block when the feature has capabilities of mixed priorities (some essential, some enhancement)

4. Full Scope additions (omit if Core Scope is omitted):

  • List capabilities that enhance the feature beyond Core Scope
  • These are improvements to be added after the core is implemented

5. Capabilities: SPECIFIC limits (sizes ex: 2GB, quantities ex: 20 items, times ex: 5h SLA), formats, business rules

6. Experience: detailed user flow, visual feedback, validations, messages, states

7. Error Handling (ONLY for critical functionalities): 3-5 failure scenarios with specific messages

  • Include Error Handling when the feature involves AT LEAST ONE of: (a) authentication/authorization, (b) payments or financial operations, (c) data loss risk (create, upload, delete, mutate persistent state), (d) security-sensitive operations, (e) long-running or irreversible operations where partial failure is possible.
  • Skip for read-only or display features where failure just means retry or reload: basic navigation, viewing, filtering, sorting, searching within already-loaded data, rendering pre-computed content.
  • When in doubt, ask: "If this feature fails silently, does the user lose data, money, or security?" If yes, include Error Handling. If no (user just reloads), skip.

MANDATORY:

  • NEVER: generic functionality descriptions — be specific about what exactly the feature does, with concrete numbers, formats, and flows
  • ALWAYS: specific numbers (sizes, quantities, deadlines)
  • ALWAYS: detailed flow with fields, validations, order
Section 7: Out of Scope

Group by category what the product will NOT do in this version.

Section 8: Dependency Graph

This section defines the dependency relationships between features and their implementation priority. It contains up to five parts: a dependency table, Foundation Features (when applicable), execution waves, a priority legend, and a Mermaid visualization.

Part numbering: The labels "Part 1, 2, 3, 4, 5" are stable. When Part 2 (Foundation Features) does not apply to this PRD and is omitted, subsequent parts keep their original numbers — do not renumber. A PRD without Foundation emits Part 1, Part 3, Part 4, Part 5 (Part 2 is simply absent).

Part 1: Dependency Table

| # | Feature | Priority | Dependencies | |---|---------|----------|--------------|

Rules:

  • Every feature from Section 6 must appear exactly once
  • Table order: topological — every dependency referenced in the "Dependencies" column must appear in a row ABOVE the current row. The reader never encounters a forward reference.
  • Dependencies column: list feature IDs separated by comma (always AND semantics). Use "None" for root features.
  • A dependency exists when Feature B cannot function without Feature A being implemented first. This includes both functional data dependencies (which also appear in Consumes) and infrastructure dependencies (e.g., auth). Dependencies is always a superset of Consumes.
  • Priority: integer 1-3 reflecting the importance of the feature's minimum viable version (Core Scope if defined, otherwise the full feature). Full Scope additions are not represented in the table — they are implicitly lower priority and handled by the implementation plan.
  • When multiple features share the same dependency and there is no ordering constraint between them, the topological tie-break is by feature ID (lower ID first)
  • If a feature can work with either of two alternative dependencies (OR semantics), pick the primary/most-likely option and note the alternative in the feature's Section 6 description. The dependency table only supports AND semantics.

Part 2: Foundation Features (include ONLY when one or more features carry shared project infrastructure)

Identify features that set up shared project infrastructure — scaffolding, base layout, database and ORM initialization, authentication wiring, routing conventions, global styling, CI setup. These features cannot run in parallel with each other in a greenfield project because they all touch the same foundational files.

Format:

### Foundation Features
These features set up shared project infrastructure. In a greenfield project they must be implemented sequentially before or alongside any feature that depends on them:
- **F ** — 
- **F ** — 

Rules:

  • Omit this part entirely when no feature carries foundation responsibilities (e.g., when the PRD targets adding features to an already-mature codebase).
  • Foundation criterion: a feature is Foundation if its primary purpose is to set up shared project infrastructure — top-level layout and routing, global styling, database/ORM setup, cross-cutting middleware (auth, logging), or other scaffolding that every later feature will implicitly rely on. A feature is NOT Foundation if its primary purpose is a user-facing domain capability, even if it creates UI structure along the way (e.g., a dashboard page that establishes a /app subtree is still a product feature, not Foundation).
  • A useful test: if implementing this feature means running project-bootstrapping or scaffolding commands (framework/CLI initializers, ORM initializers, installing and configuring framework-level dependencies) or setting up a core library that subsequent features consume without naming it in their Consumes block, it is Foundation. The criterion is stack-agnostic — it applies equally to web (Next.js, Rails, Django), backend services (Go, Java, FastAPI), CLIs, mobile, or data pipelines.
  • List foundation features in topological order (matching the dependency table order).

Part 3: Execution Waves

This part makes parallelism explicit. Features within the same wave can be built in parallel; a wave starts only after every feature in earlier waves is complete.

Wave calculation (mechanical — derived from the dependency table):

  • Wave 1: every feature with Dependencies: None.
  • Wave N (for N ≥ 2): every feature whose entire set of dependencies is already covered by waves 1..N-1. Formally, wave(feature) = max(wave(dep) for dep in dependencies) + 1.

Ordering within a wave:

  • Sort by priority ascending (1 first, then 2, then 3).
  • Tie-break by feature ID (lower ID first) when priorities are equal.

Format — a simple bullet list, one wave per line:

### Execution Waves
Features within the same wave can be built in parallel. A wave starts only after every feature in earlier waves is complete.

**Note:** When the "Foundation Features" part is present, foundation features cannot run in parallel in a greenfield project even if they appear together in a wave — they share scaffolding files and must be implemented sequentially until the base is in place.

- **Wave 1**: F01
- **Wave 2**: F02
- **Wave 3**: F03
- **Wave 4**: F04, F06
- **Wave 5**: F05

The "Note:" line is included ONLY when the Foundation Features part was emitted. If the PRD has no Foundation Features, omit the note.

(This illustrative wave list corresponds to the example PRD in the OUTPUT section of this skill — see there for the matching dependency table.)

Part 4: Priority Legend

Always include:

### Priority levels
- **1** = Essential — product does not work without it
- **2** = Important — significant value addition
- **3** = Desirable — incremental improvement

Part 5: Mermaid Diagram

graph TD
  F01[Auth] --> F02[Upload]
  ...

Rules:

  • Direction: graph TD (top-down)
  • Node labels: feature ID + short name (1-2 words max)
  • Edge direction: A --> B means "A must be implemented before B" (A is a prerequisite of B). Equivalently, B depends on A.
  • Edges must correspond exactly to the Dependencies column in the table
  • The diagram is a visualization aid — the table is the source of truth
Section 9: Acceptance Criteria

Organize by feature using feature IDs. After all per-feature criteria, include a Cross-Feature Integration block.

Per-feature criteria:

  • Verifiable (can test: passed or not)
  • Specific (no ambiguity)
  • Cover success AND failure

Cross-Feature Integration block:

  • Placed at the end of Section 9
  • Derive one or more criteria from each Consumes declaration in Section 6
  • Each criterion tests that data actually flows between the features as declared
  • If a feature has no Consumes, it generates no integration criteria

PHASE 4: Validation (INTERNAL)

BEFORE saving, validate internally:

Validation checklist:

Structural consistency:

  • [ ] Does each functionality from Section 6 appear exactly once in the Section 8 table (and vice-versa)?
  • [ ] Does each feature in Section 6 have stories in Section 5?
  • [ ] Does each feature in Section 6 have acceptance criteria in Section 9?
  • [ ] No contradictions between Section 6 and Section 7 (Out of Scope)?
  • [ ] Each objective (Section 4) has metrics with numbers?
  • [ ] Problems (Section 2) have corresponding solutions (Section 6)?

Dependency graph integrity:

  • [ ] No orphan dependencies — every ID in the Dependencies column exists in the # column
  • [ ] No circular dependencies — the graph is a DAG (directed acyclic graph)
  • [ ] Topological order — no row references a dependency that appears below it in the table
  • [ ] Topological tie-breaking — when multiple features are eligible for the same position, lower ID comes first
  • [ ] Mermaid consistency — edges in the Mermaid diagram match e

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.