Quick guide for teammates to start prototyping on this project.
Each team member has their own main and stage branches.
git clone https://github.com/orkhanart/comfy_vibe.git
cd comfy_vibe
git checkout alex/main
pnpm install
pnpm devYour branches:
alex/main- your main working branchalex/stage- for staging/testing changes
git clone https://github.com/orkhanart/comfy_vibe.git
cd comfy_vibe
git checkout pablo/main
pnpm install
pnpm devYour branches:
pablo/main- your main working branchpablo/stage- for staging/testing changes
- Work on your
[name]/mainbranch - Push changes to your branch
- When ready for review, create PR to
main
Each branch automatically gets a preview URL when pushed. To set up your own Vercel deployment:
- Go to vercel.com and sign in with GitHub
- Click "Add New Project"
- Import the
orkhanart/comfy_viberepository - Configure:
- Framework Preset: Vite
- Root Directory: ./
- Build Command:
pnpm build - Output Directory:
dist - Install Command:
pnpm install
- Under "Git" settings, set your branch (
alex/mainorpablo/main) as the production branch - Deploy
Your preview URLs:
alex/main→comfy-vibe-alex.vercel.app(or similar)pablo/main→comfy-vibe-pablo.vercel.app(or similar)
Every push to your branch will auto-deploy.
pnpm install # Install dependencies
pnpm dev # Start dev server → http://localhost:5174
pnpm typecheck # Type checking
pnpm lint:fix # Fix linting issues
pnpm format # Format code
pnpm build # Production buildVue 3 + TypeScript frontend prototype for ComfyUI - a node-based AI workflow editor. Currently uses mock data (no backend required).
Main interfaces:
/workflow-editor- Full node graph editor (Vue Flow)/linear-mode- Simplified step-by-step interface/workspace- Dashboard for managing workflows, assets, models
"I want to add [feature] to [location]. Look at existing patterns in [similar component] for reference."
"There's a bug in [component]: [describe issue]. Expected: [X]. Actual: [Y]."
"Refactor [component/file] to [goal]. Keep same functionality but [improvement]."
"Explain how [feature/component] works. What files are involved?"
| What | Where |
|---|---|
| New page/route | src/views/ |
| Reusable component | src/components/[domain]/ |
| UI primitives | src/components/ui/ |
| State management | src/stores/ |
| TypeScript types | src/types/ |
| Mock data | src/data/ |
| API calls | src/services/ |
| Reusable logic | src/composables/ |
- All components use Vue 3 Composition API with
<script setup lang="ts"> - Styling uses Tailwind CSS utility classes
- State managed through Pinia stores
- Theme supports light/dark modes via CSS variables
- What user problem are we solving?
- Who is affected?
- What's the current experience?
- Primary and secondary goals
- Non-goals (what's out of scope)
- User flow (step by step)
- UI/UX requirements
- Technical requirements (store, components, types)
- Create types
- Add state to store
- Create component
- Connect to view
- Add styling
# Feature: [Name]
## Problem
[1-2 sentences]
## Solution
[1-2 sentences]
## User Stories
- As a [user], I want to [action] so that [benefit]
## Requirements
### Must Have
- [ ] Requirement 1
- [ ] Requirement 2
### Nice to Have
- [ ] Optional 1
## Design
[Link to Figma or description]
## Technical Notes
- Affects: [components/stores]
- New files: [list]
## Tasks
- [ ] Task 1
- [ ] Task 2
"What components handle [feature]?" "How does [functionality] work?"
"I want to improve [area]. Current behavior: [X]. What approaches could work?"
"Compare approaches for [feature]: A vs B. What are the tradeoffs?"
"I'm thinking of implementing [idea]. Does this fit the existing architecture?"
- Read
ARCHITECTURE.md - Look at similar components in the codebase
- Ask Claude what patterns to follow
- Create minimal version first
- Focus on core functionality
- Skip advanced features initially
- Add features incrementally
- Follow existing patterns
- Test as you go
- Improve styling
- Add proper TypeScript types
- Match existing design patterns
| File | Purpose |
|---|---|
src/stores/uiStore.ts |
Main UI state (theme, sidebars, tabs) |
src/data/workspaceMockData.ts |
All mock data |
src/components/ui/ |
Base UI components |
src/views/WorkflowEditorView.vue |
Main editor page |
ARCHITECTURE.md |
Full architecture docs |
Button, Card, Dialog, Icon, Input, Select, Switch, Textarea, Popover, Tooltip
Connect Figma to Claude Code for design-to-code workflows.
-
Add Figma MCP Server
claude mcp add figma -- npx -y figma-developer-mcp --stdio
-
Authenticate - Run
/mcpin Claude Code, then authenticate in browser -
Verify - You should see:
Authentication successful. Connected to figma.
Share a Figma URL with Claude:
"Implement this design: [Figma URL]"
"Create a Vue component matching this Figma frame"
- Read before writing - Always look at existing patterns first
- Keep files small - Max 500 lines per file
- Use existing components - Check
src/components/ui/before creating new ones - Type everything - Use TypeScript interfaces
- Mock data first - Add to
src/data/before worrying about APIs - Commit often - Small, focused commits with clear messages