npx skills add https://github.com/snarktank/ralph --skill prd创建详细、清晰、可操作且适合实施的《产品需求文档》。
tasks/prd-[feature-name].md重要提示: 请勿开始实施。仅创建 PRD。
仅在初始提示模糊不清时提出关键问题。关注:
1. 此功能的主要目标是什么?
A. 改善用户入门体验
B. 提高用户留存率
C. 减少支持负担
D. 其他:[请说明]
2. 目标用户是谁?
A. 仅限新用户
B. 仅限现有用户
C. 所有用户
D. 仅限管理员用户
3. 范围是什么?
A. 最小可行版本
B. 完整功能实现
C. 仅限后端/API
D. 仅限用户界面
这样用户可以用 "1A, 2C, 3B" 快速回应以进行迭代。记住要缩进选项。
使用以下章节生成 PRD:
简要描述功能及其解决的问题。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
具体、可衡量的目标(项目符号列表)。
每个故事需要包含:
每个故事应足够小,以便在一次专注的会话中实现。
格式:
### US-001: [标题]
**描述:** 作为一个 [用户],我想要 [功能],以便 [收益]。
**验收标准:**
- [ ] 具体的可验证标准
- [ ] 另一个标准
- [ ] 类型检查/lint 通过
- [ ] **[仅限 UI 故事]** 使用 dev-browser skill 在浏览器中验证
重要提示:
具体功能的编号列表:
要明确且无歧义。
此功能将不包含的内容。对于管理范围至关重要。
如何衡量成功?
剩余的问题或需要澄清的领域。
PRD 的读者可能是初级开发者或 AI 代理。因此:
.md)tasks/prd-[feature-name].md (kebab-case)# PRD: 任务优先级系统
## 简介
为任务添加优先级级别,使用户能够专注于最重要的事情。任务可以标记为高、中或低优先级,并提供视觉指示器和过滤功能,帮助用户有效管理工作量。
## 目标
- 允许为任何任务分配优先级(高/中/低)
- 提供优先级级别之间清晰的视觉区分
- 支持按优先级过滤和排序
- 新任务默认设置为中优先级
## 用户故事
### US-001: 向数据库添加优先级字段
**描述:** 作为开发者,我需要存储任务优先级,以便它在会话间持久化。
**验收标准:**
- [ ] 向 tasks 表添加 priority 列:'high' | 'medium' | 'low' (默认 'medium')
- [ ] 生成并成功运行迁移
- [ ] 类型检查通过
### US-002: 在任务卡片上显示优先级指示器
**描述:** 作为用户,我想一目了然地看到任务优先级,以便知道首先需要关注什么。
**验收标准:**
- [ ] 每个任务卡片显示带颜色的优先级徽章(红色=高,黄色=中,灰色=低)
- [ ] 优先级无需悬停或点击即可见
- [ ] 类型检查通过
- [ ] 使用 dev-browser skill 在浏览器中验证
### US-003: 在任务编辑中添加优先级选择器
**描述:** 作为用户,我想在编辑任务时更改其优先级。
**验收标准:**
- [ ] 任务编辑模态框中包含优先级下拉菜单
- [ ] 显示当前优先级为选中状态
- [ ] 选择更改后立即保存
- [ ] 类型检查通过
- [ ] 使用 dev-browser skill 在浏览器中验证
### US-004: 按优先级过滤任务
**描述:** 作为用户,当我想集中精力时,我想过滤任务列表以仅查看高优先级项目。
**验收标准:**
- [ ] 过滤下拉菜单包含选项:全部 | 高 | 中 | 低
- [ ] 过滤器在 URL 参数中持久化
- [ ] 没有任务匹配过滤器时显示空状态消息
- [ ] 类型检查通过
- [ ] 使用 dev-browser skill 在浏览器中验证
## 功能需求
- FR-1: 向 tasks 表添加 `priority` 字段 ('high' | 'medium' | 'low', 默认 'medium')
- FR-2: 在每个任务卡片上显示带颜色的优先级徽章
- FR-3: 在任务编辑模态框中包含优先级选择器
- FR-4: 向任务列表头部添加优先级过滤下拉菜单
- FR-5: 在每个状态列内按优先级排序(高到中到低)
## 非目标
- 无基于优先级的通知或提醒
- 无根据截止日期自动分配优先级
- 无子任务的优先级继承
## 技术考虑
- 复用现有的徽章组件及其颜色变体
- 通过 URL 搜索参数管理过滤状态
- 优先级存储在数据库中,非计算得出
## 成功指标
- 用户可在 2 次点击内更改优先级
- 高优先级任务在列表顶部立即可见
- 任务列表性能无回归
## 待解决问题
- 优先级是否应影响列内任务的排序?
- 我们是否应该为优先级更改添加快捷键?
保存 PRD 前:
tasks/prd-[feature-name].md每周安装量
737
仓库
GitHub Stars
13.7K
首次出现
2026年1月20日
安全审计
安装于
opencode568
claude-code535
codex505
gemini-cli503
github-copilot451
cursor441
Create detailed Product Requirements Documents that are clear, actionable, and suitable for implementation.
tasks/prd-[feature-name].mdImportant: Do NOT start implementing. Just create the PRD.
Ask only critical questions where the initial prompt is ambiguous. Focus on:
1. What is the primary goal of this feature?
A. Improve user onboarding experience
B. Increase user retention
C. Reduce support burden
D. Other: [please specify]
2. Who is the target user?
A. New users only
B. Existing users only
C. All users
D. Admin users only
3. What is the scope?
A. Minimal viable version
B. Full-featured implementation
C. Just the backend/API
D. Just the UI
This lets users respond with "1A, 2C, 3B" for quick iteration. Remember to indent the options.
Generate the PRD with these sections:
Brief description of the feature and the problem it solves.
Specific, measurable objectives (bullet list).
Each story needs:
Each story should be small enough to implement in one focused session.
Format:
### US-001: [Title]
**Description:** As a [user], I want [feature] so that [benefit].
**Acceptance Criteria:**
- [ ] Specific verifiable criterion
- [ ] Another criterion
- [ ] Typecheck/lint passes
- [ ] **[UI stories only]** Verify in browser using dev-browser skill
Important:
Numbered list of specific functionalities:
Be explicit and unambiguous.
What this feature will NOT include. Critical for managing scope.
How will success be measured?
Remaining questions or areas needing clarification.
The PRD reader may be a junior developer or AI agent. Therefore:
.md)tasks/prd-[feature-name].md (kebab-case)# PRD: Task Priority System
## Introduction
Add priority levels to tasks so users can focus on what matters most. Tasks can be marked as high, medium, or low priority, with visual indicators and filtering to help users manage their workload effectively.
## Goals
- Allow assigning priority (high/medium/low) to any task
- Provide clear visual differentiation between priority levels
- Enable filtering and sorting by priority
- Default new tasks to medium priority
## User Stories
### US-001: Add priority field to database
**Description:** As a developer, I need to store task priority so it persists across sessions.
**Acceptance Criteria:**
- [ ] Add priority column to tasks table: 'high' | 'medium' | 'low' (default 'medium')
- [ ] Generate and run migration successfully
- [ ] Typecheck passes
### US-002: Display priority indicator on task cards
**Description:** As a user, I want to see task priority at a glance so I know what needs attention first.
**Acceptance Criteria:**
- [ ] Each task card shows colored priority badge (red=high, yellow=medium, gray=low)
- [ ] Priority visible without hovering or clicking
- [ ] Typecheck passes
- [ ] Verify in browser using dev-browser skill
### US-003: Add priority selector to task edit
**Description:** As a user, I want to change a task's priority when editing it.
**Acceptance Criteria:**
- [ ] Priority dropdown in task edit modal
- [ ] Shows current priority as selected
- [ ] Saves immediately on selection change
- [ ] Typecheck passes
- [ ] Verify in browser using dev-browser skill
### US-004: Filter tasks by priority
**Description:** As a user, I want to filter the task list to see only high-priority items when I'm focused.
**Acceptance Criteria:**
- [ ] Filter dropdown with options: All | High | Medium | Low
- [ ] Filter persists in URL params
- [ ] Empty state message when no tasks match filter
- [ ] Typecheck passes
- [ ] Verify in browser using dev-browser skill
## Functional Requirements
- FR-1: Add `priority` field to tasks table ('high' | 'medium' | 'low', default 'medium')
- FR-2: Display colored priority badge on each task card
- FR-3: Include priority selector in task edit modal
- FR-4: Add priority filter dropdown to task list header
- FR-5: Sort by priority within each status column (high to medium to low)
## Non-Goals
- No priority-based notifications or reminders
- No automatic priority assignment based on due date
- No priority inheritance for subtasks
## Technical Considerations
- Reuse existing badge component with color variants
- Filter state managed via URL search params
- Priority stored in database, not computed
## Success Metrics
- Users can change priority in under 2 clicks
- High-priority tasks immediately visible at top of lists
- No regression in task list performance
## Open Questions
- Should priority affect task ordering within a column?
- Should we add keyboard shortcuts for priority changes?
Before saving the PRD:
tasks/prd-[feature-name].mdWeekly Installs
737
Repository
GitHub Stars
13.7K
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode568
claude-code535
codex505
gemini-cli503
github-copilot451
cursor441
竞品拆解分析工具:使用 inference.sh CLI 进行结构化竞品研究与截图
7,300 周安装
Dev Browser:JavaScript沙盒化浏览器控制CLI工具 - 自动化测试与爬虫开发利器
689 周安装
CTF Pwn 二进制漏洞利用技术大全 - 栈溢出、ROP、格式化字符串、内核利用实战指南
690 周安装
Supabase技能创建器指南:构建高效AI技能模块,扩展Claude能力
691 周安装
React 测试命令:运行 Facebook React 代码库测试的完整指南
692 周安装
Apollo Server 5.x 指南:开源GraphQL服务器安装、集成与快速入门教程
693 周安装
产品调查问卷设计指南:9位专家框架,NPS替代方案与MaxDiff优先级排序
693 周安装