Project Organization Workflow
Transform chaotic folders into well-organized, findable information
This example shows how to use Lovelace CLI to organize project files, create clear structure, and establish naming conventionsβperfect for anyone managing information, technical or not.
Scenario
Alex is managing a growing design system project. Files are scattered across folders with inconsistent naming. Documentation is outdated. Team members can't find what they need. Alex will use Lovelace CLI to create order.
Time to complete: 2-3 hours Technical level: No coding required Output: Organized project structure, clear naming conventions, updated documentation
Phase 1: Assess Current State (20 minutes)
Alex starts by understanding the mess:
$ lovelace chat
π€ Lovelace CLI v1.0.0
You: I need to organize my project files. They're a disaster.
π€ I can help with that! Let me understand what we're working with.
A few questions:
1. What type of project is this? (code, design files, documentation, mixed)
2. Roughly how many files are we talking about?
3. What's the biggest problem? (can't find things, unclear naming, mixed content types?)
You: It's a design system project - Figma files, component documentation, design tokens, and some React code. Maybe 200+ files across 15 folders. The problem is I can't find anything and neither can my team.
π€ Got it - a multi-format design system with findability issues. Let's start with a quick audit.
Can you share your current folder structure? You can use:
β’ Paste it here
β’ Or run: ls -R (Mac/Linux) or tree (if installed)
You: /context ./
π€ Thanks! I can see your project structure now. Let me analyze it:
**Current State Analysis:**
π Root Issues:
β’ 8 folders at root level - no clear hierarchy
β’ Mix of asset types in same folders
β’ Inconsistent naming (camelCase, snake_case, spaces)
Example of chaos I see:
/components
- Button v2.fig
- button-docs.md
- Button.tsx
- button_tokens.json
- old-button.fig
/docs
- readme.txt
- CHANGELOG.md
- random notes.txt
- meeting-notes-2024.md
**Top 3 Problems:**
1. **No separation** of Figma files vs code vs docs
2. **Versioning nightmare** (v2, old-, final- in names)
3. **Duplicate/outdated** files everywhere
Want me to propose a new structure?
You: Yes, propose a structure
π€ **Proposed Organization Structure:**
design-system/ βββ design/ # All design assets β βββ figma/ # Source Figma files β β βββ components/ β β βββ foundations/ β β βββ patterns/ β βββ exports/ # PNG, SVG exports β βββ archive/ # Old versions β βββ code/ # Implementation β βββ components/ # React components β βββ tokens/ # Design tokens β βββ utils/ # Utilities β βββ docs/ # Documentation β βββ guides/ # How-to guides β βββ reference/ # Component specs β βββ decisions/ # Design decisions (ADRs) β βββ assets/ # Supporting files β βββ images/ β βββ fonts/ β βββ admin/ # Project management βββ meetings/ βββ roadmap/ βββ archive/
**Key Principles:**
β’ Separate by **function** (design, code, docs)
β’ Clear **naming** hierarchy
β’ Archive instead of delete
β’ Single source of truth per asset
Want me to create a migration plan?
What happened:
- β AI analyzed the messy structure
- β Identified specific problems
- β Proposed logical organization
- β Explained reasoning behind structure
Phase 2: Naming Conventions (30 minutes)
Creating consistent naming rules:
You: Create naming conventions for all these file types
π€ **Naming Convention Guide**
**1. Figma Files**
Format: `[category]-[name]-[version].[stage].fig`
Examples:
foundations-colors-v1.fig components-button-v3.fig patterns-form-layout-v2.draft.fig (draft stage)
Rules:
β’ Lowercase with hyphens
β’ Version number (v1, v2, v3)
β’ Optional stage suffix (.draft, .review, .approved)
β’ No spaces or underscores
**2. React Components**
Format: `PascalCase.tsx`
Examples:
Button.tsx IconButton.tsx FormField.tsx
Rules:
β’ PascalCase (capital first letter)
β’ Descriptive, not abbreviated
β’ No version numbers (use git)
**3. Design Tokens**
Format: `category.tokens.json`
Examples:
colors.tokens.json spacing.tokens.json typography.tokens.json
Rules:
β’ Lowercase
β’ Always `.tokens.json` suffix
β’ Category name describes content
**4. Documentation**
Format: `component-name.md`
Examples:
button.md form-field.md installation.md
Rules:
β’ Lowercase with hyphens
β’ Markdown extension
β’ Match component name exactly
**5. Exported Assets**
Format: `component-name-variant-size.extension`
Examples:
icon-close-24px.svg button-primary-large.png logo-dark-mode.svg
Rules:
β’ Lowercase with hyphens
β’ Include all relevant metadata in name
β’ Descriptive, not cryptic
**6. Archive Files**
Format: `original-name.YYYY-MM-DD.extension`
Examples:
button-old.2024-01-15.fig legacy-colors.2023-12-01.json
Rules:
β’ Preserve original name
β’ Add ISO date before extension
β’ Never delete, always archive
Want me to create a rename script for your current files?
You: Yes, show me what would change
π€ **Proposed Renaming**
I'll show you what would change with examples from each category:
**Figma Files (15 files):**
Before: Button v2.fig After: components-button-v2.fig Location: design/figma/components/
Before: final-colors.fig After: foundations-colors-v3.fig Location: design/figma/foundations/
Before: old-button.fig After: button-old.2024-01-15.fig Location: design/archive/
**React Components (28 files):**
Before: button.tsx After: Button.tsx Location: code/components/
Before: icon_button.tsx After: IconButton.tsx Location: code/components/
**Documentation (42 files):**
Before: Button Component.md After: button.md Location: docs/reference/
Before: random notes.txt After: project-notes.2024-01-15.md Location: admin/archive/
**Design Tokens (8 files):**
Before: colors-v2.json After: colors.tokens.json Location: code/tokens/
Before: spacing_tokens.json After: spacing.tokens.json Location: code/tokens/
**Total Changes:**
β’ 93 files to rename
β’ 87 files to move
β’ 12 duplicates to archive
**Risk Assessment:**
π’ Low risk - Most are static assets
π‘ Medium risk - 28 component imports may need updating
π΄ No high-risk changes
Want me to:
1. Generate shell script to perform these changes
2. Create step-by-step manual instructions
3. Show just high-priority changes first
You: Show step-by-step manual instructions
π€ **Manual Migration Guide**
**Phase 1: Create New Structure (15 minutes)**
Step 1: Create new folders
```bash
mkdir -p design/{figma/{components,foundations,patterns},exports,archive}
mkdir -p code/{components,tokens,utils}
mkdir -p docs/{guides,reference,decisions}
mkdir -p assets/{images,fonts}
mkdir -p admin/{meetings,roadmap,archive}
Step 2: Verify structure created
tree -L 2 .
Phase 2: Move Files by Category (45 minutes)
Step 3: Move Figma files (start here - easiest)
Current location: /components/Button v2.fig
New location: design/figma/components/components-button-v2.fig
Actions:
1. Open file in Figma
2. "Save As" β rename to new convention
3. Save to new location
4. Verify file opens correctly
5. Move original to design/archive/ with date
Repeat for all 15 Figma files. Take breaks - this is tedious.
Step 4: Move documentation (high value, do next)
Priority files to move:
1. Button Component.md β docs/reference/button.md
2. Installation Guide.md β docs/guides/installation.md
3. README.txt β README.md (root level)
Phase 3: Update References (30 minutes)
Step 5: Find broken links in documentation
The CLI can help:
Let me search your docs for file references and suggest updates.
[AI searches and finds]:
β’ 12 docs reference old file paths
β’ 8 Figma links need updating
β’ 5 component imports need fixing
Step 6: Update each reference [AI provides specific line-by-line changes]
Phase 4: Archive Old Files (10 minutes)
Step 7: Move duplicates and old versions
Don't delete! Move to appropriate archive:
β’ Old Figma files β design/archive/
β’ Old docs β admin/archive/
β’ Old code β code/archive/ (create if needed)
Phase 5: Document Changes (10 minutes)
Step 8: Create MIGRATION.md
Document what changed, why, and where things are now.
This helps your team adjust.
Phase 6: Team Communication (5 minutes)
Step 9: Notify team β’ Share new structure β’ Explain naming conventions β’ Link to MIGRATION.md β’ Schedule Q&A session
Total Time: ~2 hours
Want me to help with any specific step in detail?
---
## Phase 3: Documentation Update (45 minutes)
Alex creates documentation for the new structure:
You: Create a README for this project explaining the new structure
π€ README.md
Design System
Our company's design language and component library
π Project Structure
This project is organized into clear functional areas:
design/ - Design Assets
All design source files and exports.
design/
βββ figma/ # Source Figma files
βββ exports/ # Generated PNG/SVG
βββ archive/ # Old versions (don't delete)
Finding design files:
β’ Components: design/figma/components/
β’ Colors, typography, spacing: design/figma/foundations/
β’ Complex patterns: design/figma/patterns/
code/ - Implementation
React components and design tokens.
code/
βββ components/ # React components
βββ tokens/ # JSON design tokens
βββ utils/ # Helper functions
Finding components:
β’ Button component: code/components/Button.tsx
β’ Design tokens: code/tokens/colors.tokens.json
docs/ - Documentation
How-tos, component specs, and design decisions.
docs/
βββ guides/ # Step-by-step tutorials
βββ reference/ # Component documentation
βββ decisions/ # Why we made certain choices
Finding documentation:
β’ How to use a component: docs/reference/[component].md
β’ How to contribute: docs/guides/contributing.md
assets/ - Supporting Files
Images, fonts, and other assets.
admin/ - Project Management
Meeting notes, roadmaps, planning documents.
π Naming Conventions
Figma Files:
Format: category-name-version.fig
Example: components-button-v3.fig
React Components:
Format: ComponentName.tsx
Example: Button.tsx
Documentation:
Format: component-name.md
Example: button.md
Design Tokens:
Format: category.tokens.json
Example: colors.tokens.json
π Finding Things
Looking for a component?
- Check
code/components/for code - Check
design/figma/components/for designs - Check
docs/reference/for documentation
Looking for design tokens?
β’ All in code/tokens/ with .tokens.json extension
Can't find something?
β’ Check design/archive/ or admin/archive/
β’ Ask in #design-system Slack channel
π Quick Start
New to this project?
- Read
docs/guides/getting-started.md - Browse components in
code/components/ - Check Figma files in
design/figma/
π Contact
Questions? Reach out: β’ Slack: #design-system β’ Email: design-team@company.com β’ Lead: Alex (alex@company.com)
Want me to add sections for: β’ Contributing guidelines β’ Version history β’ Links to Figma workspace β’ Installation instructions
**What happened:**
- β
Created clear, scannable documentation
- β
Included visual structure diagrams
- β
Added "how to find things" guidance
- β
Covered common questions
---
## Phase 4: Team Onboarding (30 minutes)
Creating materials to help the team adapt:
You: Create a quick reference guide for the team
π€ Quick Reference: New Project Structure
Print this and pin it to your desk π
Where Did Everything Go?
| Looking for... | Check here |
|---|---|
| Figma component files | design/figma/components/ |
| Color/spacing tokens | design/figma/foundations/ |
| React components | code/components/ |
| Component docs | docs/reference/ |
| Design tokens (JSON) | code/tokens/ |
| Exported icons/images | design/exports/ |
| Old versions | design/archive/ |
| Meeting notes | admin/meetings/ |
File Naming Cheat Sheet
Figma: components-button-v3.fig
React: Button.tsx
Docs: button.md
Tokens: colors.tokens.json
Exports: icon-close-24px.svg
Archives: old-file.2024-01-15.fig
Common Tasks
Finding a component:
- Code:
code/components/Button.tsx - Design:
design/figma/components/components-button-v2.fig - Docs:
docs/reference/button.md
Adding a new component:
- Create Figma file:
design/figma/components/components-[name]-v1.fig - Build React component:
code/components/[Name].tsx - Extract tokens:
code/tokens/[category].tokens.json - Document it:
docs/reference/[name].md
Versioning files: β’ Figma: Use v1, v2, v3 in filename β’ React: Use git (no version in filename) β’ Tokens: Use git (no version in filename)
Archiving old files:
Don't delete!
Move to archive folder with date:
old-button.2024-01-15.fig
Questions?
β’ Check README.md first
β’ Ask in #design-system
β’ DM Alex if urgent
Pro tip: Bookmark README.md - it has detailed explanations of everything!
Want me to create: β’ FAQ document β’ Migration guide for specific workflows β’ Training video script
---
## What Alex Accomplished
In **2-3 hours**, Alex:
1. β
Audited current mess and identified problems
2. β
Designed logical organization structure
3. β
Created comprehensive naming conventions
4. β
Generated step-by-step migration guide
5. β
Documented new structure in README
6. β
Created team quick reference guide
**No coding required**βjust conversational problem-solving with AI.
## Key Takeaways
### Universal File Organization Principles
The AI helped Alex apply proven organizational principles:
- **Separation of concerns** (design vs code vs docs)
- **Consistent naming** (predictable = findable)
- **Never delete** (archive with dates)
- **Single source of truth** (one place per file type)
### For Anyone Managing Information
You can use this workflow for:
- Personal file organization
- Team shared drives
- Documentation systems
- Asset management
- Knowledge bases
### Best Practices
**Start with assessment:**
- Show AI your current state
- Let it identify specific problems
- Get objective analysis
**Iterate on structure:**
- Propose ideal structure
- Refine based on constraints
- Validate with AI before implementing
**Document everything:**
- README for high-level structure
- Quick reference for daily use
- Migration guide for transition
**Communicate clearly:**
- Explain why changes were made
- Provide before/after examples
- Make it easy to adapt
## Try It Yourself
Start organizing your files:
```bash
$ lovelace chat "Help me organize my project files"
The AI will ask questions to understand your situation and guide you through reorganization.
Related Examples
- Product Requirements - Cross-functional workflow
- Content Creation - Writing and editing