/openlogos:prd-writerfrom openlogos
Writes product requirements documents following OpenLogos methodology. Guides users through product positioning, pain point extraction, and scenario-driven GIVEN/WHEN/THEN acceptance criteria.
Ships in openlogos. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Assist in writing scenario-driven requirements documents — starting from user pain points, identifying core business scenarios, and defining GIVEN/WHEN/THEN acceptance criteria for each scenario. Scenario numbers will carry through all subsequent phases.
S01, S02... numbers)Confirm the following key questions with the user (proactively ask if information is insufficient):
Guide the user to identify pain points from the following dimensions:
Every pain point must have a causal chain: Because [reason] → leads to [pain point] → results in [consequence]
Assign a number to each pain point (P01, P02...) for scenario traceability.
Scenarios are the anchor throughout the entire development lifecycle. This step is critical.
Extract business scenarios from pain points and requirements. Each scenario is a complete user action path:
Assign a globally unique number to each scenario (S01, S02...). This number will carry through to Phase 2 and Phase 3.
Output a scenario list table:
| ID | Scenario Name | Trigger Condition | Related Pain Point | Priority |
|------|--------------------|----------------------------|--------------------|----------|
| S01 | Email Registration | New user's first visit | P01 | P0 |
| S02 | Password Login | Registered user returns | P01 | P0 |
| S03 | Forgot Password | User cannot log in | P02 | P1 |
After generating the scenario list, run these 4 tests. If any test fails, re-organize the scenarios before proceeding.
| S01 | Create Task | User clicks "New" |
| S02 | Get Task List | User opens the page |
| S03 | Update Task | User edits a task |
| S04 | Delete Task | User deletes a task |
→ This is an API inventory, NOT a scenario list!
| S01 | Team Lead Plans Weekly Tasks | Lead logs in → creates tasks → sets priority & deadline → assigns to members → members receive notifications |
| S02 | Developer Completes & Delivers | Dev views to-do → updates progress → marks complete → lead is notified and reviews |
| S03 | Lead Reviews Project Progress | Lead opens dashboard → filters by status/member → exports weekly report |
Write acceptance criteria for every P0 and P1 scenario:
### S01: Email Registration
- **Trigger Condition**: New user's first visit, clicks "Sign Up"
- **User Value**: Quickly create an account and start using the product (← P01)
- **Priority**: P0
- **Main Path**: User fills in email and password, submits the form, receives a verification email, clicks the link to complete registration
#### Acceptance Criteria
##### Normal: Complete registration flow
- **GIVEN** the user has not registered before and is on the registration page
- **WHEN** the user fills in a valid email and password (≥8 characters) and clicks "Sign Up"
- **THEN** the system creates an account, sends a verification email, and the page displays "Please check your email for verification"
##### Exception: Email already registered
- **GIVEN** the email [email protected] is already registered
- **WHEN** the user attempts to register using [email protected]
- **THEN** the page displays "This email is already registered, please log in directly" and no email is sent
##### Exception: Password does not meet requirements
- **GIVEN** the user is on the registration page
- **WHEN** the user fills in a valid email but a password with fewer than 8 characters and clicks "Sign Up"
- **THEN** the page displays "Password must be at least 8 characters" and the request is not submitted
Principles for writing acceptance criteria:
Output the complete document in the standard structure:
# [Product Name] Requirements Document
> Last updated: [date]
## I. Product Background and Goals
### 1.1 Product Positioning
### 1.2 Core Objectives
### 1.3 Target User Persona
## II. User Pain Point Analysis
### P01: [Pain Point Name]
Because [reason] → leads to [pain point] → results in [consequence]
### P02: ...
## III. Scenario Overview
[Scenario list table: ID / Name / Trigger Condition / Related Pain Point / Priority]
## IV. Core Scenario Details
### S01: [Scenario Name]
[Trigger Condition + User Value + Priority + Main Path + Acceptance Criteria]
### S02: ...
## V. Constraints and Boundaries
### 5.1 Technical Constraints
### 5.2 Resource and Time Constraints
### 5.3 "Won't-Do" List
logos/resources/prd/1-product-requirements/{sequence}-{english-name}.md, e.g., 01-requirements.mdThe following prompts can be copied directly for use with an AI:
Help me write a requirements documentI want to build a xxx product, help me sort out the requirementsHelp me organize these ideas into a structured requirements documentHelp me add exception scenario acceptance criteria to an existing requirements documentWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub miniidealab/openlogos --plugin openlogos16 skills in this plugin
/api-designerDesign OpenAPI specifications derived from scenario sequence diagrams. Use when scenarios exist in 2-scenario-implementation/ but logos/resources/api/ is empty. All description and summary values in YAML must be double-quoted./architecture-designerDesign technical architecture and select technology stack. Use when product design exists in logos/resources/prd/2-product-design/ but logos/resources/prd/3-technical-plan/1-architecture/ is empty./change-writerWrite change proposals with impact analysis following OpenLogos delta workflow. Use when the project lifecycle is active and source code or methodology documents need modification./code-implementorGenerate business code and test code based on the full specification chain (sequence diagrams, API YAML, DB DDL, test case specs). Use when test cases exist in logos/resources/test/ but logos/resources/implementation/ is empty./code-reviewerReview code for OpenLogos methodology compliance, including YAML validity checks. Use when reviewing code changes, checking pull requests, or performing code quality analysis./db-designerDesign database schema based on API and scenario requirements. Use when scenarios exist but logos/resources/database/ is empty.Other plugins' skills for the same job