Date: 2026-01-30
BEFORE: 36 files
AFTER: 26 files
CHANGE: -10 files (27% reduction)
development/ [36 files total]
โ
โโโ ๐ navigation.md โ
Keep
โโโ ๐ README.md โ DELETE (redundant)
โโโ ๐ ui-navigation.md โ
Keep (update paths)
โโโ ๐ backend-navigation.md โ
Keep
โโโ ๐ fullstack-navigation.md โ
Keep
โ
โโโ ๐ clean-code.md โ DELETE (duplicate of principles/)
โโโ ๐ api-design.md โ DELETE (duplicate of principles/)
โโโ ๐ react-patterns.md โ ๏ธ MOVE to frontend/react/
โโโ ๐ animation-patterns.md โ DELETE (duplicate of ui/web/)
โโโ ๐ design-systems.md โ DELETE (duplicate of ui/web/)
โโโ ๐ ui-styling-standards.md โ DELETE (duplicate of ui/web/)
โโโ ๐ design-assets.md โ DELETE (duplicate of ui/web/)
โ
โโโ ๐ principles/ โ
Keep (canonical source)
โ โโโ ๐ navigation.md
โ โโโ ๐ clean-code.md [176 lines]
โ โโโ ๐ api-design.md [415 lines - more complete]
โ
โโโ ๐ ai/
โ โโโ ๐ navigation.md
โ โโโ ๐ mastra-ai/
โ โโโ ๐ navigation.md
โ โโโ ๐ README.md โ DELETE (redundant)
โ โโโ ๐ concepts/ [5 files]
โ โโโ ๐ examples/ [1 file]
โ โโโ ๐ guides/ [3 files]
โ โโโ ๐ lookup/ [1 file]
โ โโโ ๐ errors/ [1 file]
โ
โโโ ๐ frameworks/
โ โโโ ๐ navigation.md
โ โโโ ๐ tanstack-start/
โ โโโ ๐ navigation.md
โ
โโโ ๐ frontend/ โ ๏ธ Empty placeholder
โ โโโ ๐ navigation.md
โ
โโโ ๐ backend/ โ ๏ธ Empty placeholder
โ โโโ ๐ navigation.md
โ
โโโ ๐ data/ โ ๏ธ Empty placeholder
โ โโโ ๐ navigation.md
โ
โโโ ๐ integration/ โ ๏ธ Empty placeholder
โ โโโ ๐ navigation.md
โ
โโโ ๐ infrastructure/ โ ๏ธ Empty placeholder
โโโ ๐ navigation.md
development/ [26 files total]
โ
โโโ ๐ navigation.md โ
Updated (structure tree)
โโโ ๐ ui-navigation.md โ
Updated (paths to ui/web/)
โโโ ๐ backend-navigation.md โ
Kept
โโโ ๐ fullstack-navigation.md โ
Kept
โ
โโโ ๐ principles/ โ
Canonical source
โ โโโ ๐ navigation.md
โ โโโ ๐ clean-code.md [176 lines]
โ โโโ ๐ api-design.md [415 lines]
โ
โโโ ๐ ai/
โ โโโ ๐ navigation.md
โ โโโ ๐ mastra-ai/
โ โโโ ๐ navigation.md
โ โโโ ๐ concepts/ [5 files]
โ โโโ ๐ examples/ [1 file]
โ โโโ ๐ guides/ [3 files]
โ โโโ ๐ lookup/ [1 file]
โ โโโ ๐ errors/ [1 file]
โ
โโโ ๐ frameworks/
โ โโโ ๐ navigation.md
โ โโโ ๐ tanstack-start/
โ โโโ ๐ navigation.md
โ
โโโ ๐ frontend/ โ
Now active!
โ โโโ ๐ navigation.md โ
Updated
โ โโโ ๐ react/
โ โโโ ๐ navigation.md ๐ NEW FILE
โ โโโ ๐ react-patterns.md โ
Moved here
โ
โโโ ๐ backend/ โ ๏ธ Placeholder (future)
โ โโโ ๐ navigation.md
โ
โโโ ๐ data/ โ ๏ธ Placeholder (future)
โ โโโ ๐ navigation.md
โ
โโโ ๐ integration/ โ ๏ธ Placeholder (future)
โ โโโ ๐ navigation.md
โ
โโโ ๐ infrastructure/ โ ๏ธ Placeholder (future)
โโโ ๐ navigation.md
โ development/README.md โ Use navigation.md instead
โ development/clean-code.md โ Use principles/clean-code.md
โ development/api-design.md โ Use principles/api-design.md
โ development/animation-patterns.md โ Use ui/web/animation-patterns.md
โ development/design-systems.md โ Use ui/web/design-systems.md
โ development/ui-styling-standards.md โ Use ui/web/ui-styling-standards.md
โ development/design-assets.md โ Use ui/web/design-assets.md
โ development/ai/mastra-ai/README.md โ Use navigation.md instead
๐ฆ development/react-patterns.md
โ development/frontend/react/react-patterns.md
๐ development/frontend/react/navigation.md โ New navigation file
โ๏ธ development/navigation.md โ Update structure tree
โ๏ธ development/ui-navigation.md โ Update paths
โ๏ธ development/frontend/navigation.md โ Add react subdirectory
โ๏ธ .opencode/profiles/developer/profile.json โ Update 4 paths
โ๏ธ .opencode/context/core/visual-development.md โ Update 4 paths
โ๏ธ .opencode/context/core/workflows/design-iteration.md โ Update 4 paths
โ๏ธ .opencode/context/openagents-repo/lookup/file-locations.md โ Update 1 path
development/
โโโ navigation.md โ
Navigation (correct)
โโโ README.md โ Redundant
โโโ ui-navigation.md โ
Navigation (correct)
โโโ backend-navigation.md โ
Navigation (correct)
โโโ fullstack-navigation.md โ
Navigation (correct)
โโโ clean-code.md โ Should be in principles/
โโโ api-design.md โ Should be in principles/
โโโ react-patterns.md โ Should be in frontend/react/
โโโ animation-patterns.md โ Should be in ui/web/
โโโ design-systems.md โ Should be in ui/web/
โโโ ui-styling-standards.md โ Should be in ui/web/
โโโ design-assets.md โ Should be in ui/web/
development/
โโโ navigation.md โ
Main navigation
โโโ ui-navigation.md โ
Specialized navigation
โโโ backend-navigation.md โ
Specialized navigation
โโโ fullstack-navigation.md โ
Specialized navigation
Result: Clean root level with only navigation files
โ development/animation-patterns.md [753 lines]
โ EXACT DUPLICATE โ
โ
ui/web/animation-patterns.md [753 lines] โ KEEP THIS
โ development/design-systems.md [381 lines]
โ EXACT DUPLICATE โ
โ
ui/web/design-systems.md [381 lines] โ KEEP THIS
โ development/ui-styling-standards.md [552 lines]
โ EXACT DUPLICATE โ
โ
ui/web/ui-styling-standards.md [552 lines] โ KEEP THIS
โ development/design-assets.md [567 lines]
โ EXACT DUPLICATE โ
โ
ui/web/design-assets.md [567 lines] โ KEEP THIS
Total duplicate lines: 2,253 lines
โ development/clean-code.md [176 lines]
โ EXACT DUPLICATE โ
โ
development/principles/clean-code.md [176 lines] โ KEEP THIS
โ development/api-design.md [384 lines]
โ SIMILAR BUT SHORTER โ
โ
development/principles/api-design.md [415 lines] โ KEEP THIS (more complete)
Total duplicate lines: 560 lines
โ development/README.md [46 lines]
โ REDUNDANT WITH โ
โ
development/navigation.md [90 lines] โ KEEP THIS
โ development/ai/mastra-ai/README.md [43 lines]
โ REDUNDANT WITH โ
โ
development/ai/mastra-ai/navigation.md [33 lines] โ KEEP THIS
Total redundant lines: 89 lines
{
"context": [
- "context:development/ui-styling-standards",
+ "context:ui/web/ui-styling-standards",
- "context:development/design-systems",
+ "context:ui/web/design-systems",
- "context:development/design-assets",
+ "context:ui/web/design-assets",
- "context:development/animation-patterns"
+ "context:ui/web/animation-patterns"
]
}
File 1: .opencode/context/core/visual-development.md
- | **Animation patterns** | `development/animation-patterns.md` | - | - |
+ | **Animation patterns** | `ui/web/animation-patterns.md` | - | - |
- | **Design system** | `development/design-systems.md` | - | - |
+ | **Design system** | `ui/web/design-systems.md` | - | - |
- | **UI standards** | `development/ui-styling-standards.md` | - | - |
+ | **UI standards** | `ui/web/ui-styling-standards.md` | - | - |
- - **Animation Patterns**: `.opencode/context/development/animation-patterns.md`
+ - **Animation Patterns**: `.opencode/context/ui/web/animation-patterns.md`
- - **Design Systems**: `.opencode/context/development/design-systems.md`
+ - **Design Systems**: `.opencode/context/ui/web/design-systems.md`
- - **UI Styling Standards**: `.opencode/context/development/ui-styling-standards.md`
+ - **UI Styling Standards**: `.opencode/context/ui/web/ui-styling-standards.md`
File 2: .opencode/context/core/workflows/design-iteration.md
- - [Animation Patterns](../development/animation-patterns.md)
+ - [Animation Patterns](../ui/web/animation-patterns.md)
- - [Design Systems Context](../development/design-systems.md)
+ - [Design Systems Context](../ui/web/design-systems.md)
- - [UI Styling Standards](../development/ui-styling-standards.md)
+ - [UI Styling Standards](../ui/web/ui-styling-standards.md)
- - [Design Assets](../development/design-assets.md)
+ - [Design Assets](../ui/web/design-assets.md)
File 3: .opencode/context/openagents-repo/lookup/file-locations.md
- - `.opencode/context/development/react-patterns.md`
+ - `.opencode/context/development/frontend/react/react-patterns.md`
Changes:
Add react/ subdirectory
## Structure
development/ โโโ navigation.md
โ โโโ react-patterns.md
Changes:
Confirm all UI routes point to ui/web/
| Task | Path |
|------|------|
- | **React patterns** | `frontend/react/hooks-patterns.md` [future] |
+ | **React patterns** | `frontend/react/react-patterns.md` |
| **TanStack Query** | `frontend/react/tanstack/query-patterns.md` [future] |
| **Animations** | `../../ui/web/animation-patterns.md` |
| **Styling** | `../../ui/web/ui-styling-standards.md` |
| **Design systems** | `../../ui/web/design-systems.md` |
Changes:
Update from placeholder to active
## Structure
frontend/ โโโ navigation.md
โโโ react-patterns.md
+ ---
+
+ ## Quick Routes
+
+ | Task | Path |
+ |------|------|
+ | **React patterns** | `react/react-patterns.md` |
New file:
# React Development
**Purpose**: Modern React patterns, hooks, and component design
---
## Files
| File | Description | Priority |
|------|-------------|----------|
| [react-patterns.md](react-patterns.md) | React hooks, components, state management | high |
---
## Related Context
- **UI Styling** โ `../../../ui/web/ui-styling-standards.md`
- **Animations** โ `../../../ui/web/animation-patterns.md`
- **Clean Code** โ `../../principles/clean-code.md`
BEFORE: 2,902 lines of duplicate content
AFTER: 0 lines of duplicate content
SAVED: 2,902 lines (~3,773 tokens)
BEFORE: Update content in 2-3 places
AFTER: Update content in 1 place
SAVED: 50-66% maintenance time
BEFORE: "Which file is canonical?"
AFTER: "Single source of truth"
RESULT: Clear ownership
BEFORE: 7/11 root files misplaced (64% misplaced)
AFTER: 0/4 root files misplaced (0% misplaced)
IMPROVEMENT: 100% improvement
After execution, verify:
Clean, standards-compliant development context folder with:
Ready to proceed? See REORGANIZATION_PLAN.md for detailed execution steps.