Skills

Repository Map

Explains the layout of the LobeHub repository and which package owns each part.

Install

npx skills add lobehub/lobehub --skill project-overview -g -a claude-code -y
Repository
lobehub/lobehub83.7k
Category
Engineering
Updated
3d ago
License
See repository
Context cost
Mediumabout 1,721 tokens
Runs scripts
No, instructions only

What it does

Use for the OSS repository map, code-layer lookup, apps/packages/src ownership and business stubs.

LobeHub Project Overview

The directory listings below are a curated map of key locations, not an exhaustive tree. packages/, src/store/, route groups etc. grow over time, > run ls against the real directory for the current set.

Project Description

Open-source, modern-design AI Agent Workspace: LobeHub (previously LobeChat). This repo is the open-source root (github.com/lobehub/lobehub, package @lobehub/lobehub).

Supported platforms:

  • Web desktop/mobile
  • Desktop (Electron), apps/desktop
  • Mobile app (React Native), separate repo, already launched (not in this monorepo)

Logo emoji: 🤯

Complete Tech Stack

CategoryTechnology
FrameworkNext.js 16 + React 19
RoutingSPA inside Next.js with react-router-dom
LanguageTypeScript
UI Components@lobehub/ui
CSS-in-JS@lobehub/ui createStaticStyles
Iconslucide-react, @ant-design/icons
i18nreact-i18next
Statezustand
URL Paramsnuqs
Data FetchingSWR
React HooksaHooks
Date/Timedayjs
Utilitieses-toolkit
APITRPC (type-safe)
DatabaseNeon PostgreSQL + Drizzle ORM
TestingVitest

Exact versions live in the root package.json, check there, not here.

Monorepo Layout

Flat layout, apps/, packages/, and src/ all sit at the repo root. No git submodules.

Read the whole SKILL.md on GitHub

More in Engineering