mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 23:20:07 +00:00
- Add .cursorrules for Cursor IDE with design patterns - Add .editorconfig for consistent formatting - Add CLAUDE.md updates with version header, common pitfalls, component size limits - Add PRD system with folder structure and templates (feature, enhancement, quick) - Add Claude commands for PRD workflow: - /create-prd, /quick-prd, /generate-tasks - /ux-review, /ui-design, /product-review agents - /create-component for component generation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Product Requirements Documents (PRDs)
This folder contains all PRDs for ComfyUI Vibe features.
Structure
PRDs/
├── _templates/ # PRD templates
│ ├── feature-prd.md # Full feature template
│ ├── enhancement-prd.md
│ └── quick-prd.md # Lightweight template
├── active/ # Currently being worked on
├── backlog/ # Approved but not started
├── completed/ # Shipped features
└── archived/ # Deprecated/cancelled
How to Create a PRD
Option 1: Using Claude Commands (Recommended)
# Full PRD with all sections
/create-prd
# Quick PRD for small features
/quick-prd "Feature Name" --priority P2
Option 2: Manual Creation
- Copy the appropriate template from
_templates/ - Create a folder in
active/with naming:P{priority}-{feature-name}/ - Rename the template to
PRD.md - Fill in all required sections
Naming Convention
Feature folders use this pattern:
P{0-3}-{feature-name}/
Examples:
P0-critical-auth-fix/P1-node-search-panel/P2-dark-mode-toggle/P3-keyboard-shortcuts/
Priority Levels
| Priority | Meaning | SLA |
|---|---|---|
| P0 | Critical - Blocks release, security issues | Immediate |
| P1 | High - Important feature, must-have | Current sprint |
| P2 | Medium - Nice to have, planned | Next sprint |
| P3 | Low - Future consideration | Backlog |
Workflow
- PRD Created →
active/ - PRD Approved → Start implementation
- Feature Shipped → Move to
completed/ - PRD Cancelled → Move to
archived/
Agent Workflow
After PRD creation, use these agents in sequence:
/create-prd- Create the PRD/ux-review- UX Agent reviews user flows/ui-design- UI Agent creates component specs/product-review- Product Agent final review/generate-tasks- Convert PRD to implementation tasks
PRD Sections Overview
Required Sections
- Overview (problem statement, goals)
- User Stories
- Requirements (functional & non-functional)
- Acceptance Criteria
Optional Sections
- Technical Specification
- Implementation Plan
- Risks and Mitigations
Templates
| Template | Use Case |
|---|---|
feature-prd.md |
New features requiring full spec |
enhancement-prd.md |
Improvements to existing features |
quick-prd.md |
Small changes, bug fixes |