Purpose and Capabilities
The web dashboard serves as the primary graphical interface for Better Skills, offering:- Visual skill graph navigation with interactive force-directed layouts
- Skill and resource management with full CRUD operations
- Vault administration for enterprise and personal workspaces
- Real-time search with fuzzy matching across skills and resources
- Command palette for quick navigation (Cmd+K)
- Responsive design optimized for desktop and mobile devices
The web dashboard runs on http://localhost:3001 during development. Use
bun run dev:web from the repository root to start the development server.Authentication
The dashboard uses Better Auth for secure authentication with support for:- Google OAuth - Sign in with your Google account
- GitHub OAuth - Sign in with your GitHub account
- Session management - Persistent authentication across sessions
- Protected routes - Automatic redirect to login for unauthenticated users
Navigation Structure
The application follows a hierarchical navigation pattern:Top Navigation Bar
The persistent navbar (52px height) provides:- BETTER-SKILLS branding - Links to dashboard or landing page based on auth state
- Search button (Cmd+K) - Opens the command palette
- User menu - Access to settings, theme toggle, and sign out
Command Palette
Press Cmd+K (or Ctrl+K on Windows/Linux) to open the command palette:- Command mode - Search for actions like “Settings”, “Sign out”, or “Switch theme”
- Vault mode - Search skills and resources across all your vaults
- Keyboard navigation - Arrow keys, Enter to select, Tab to switch modes
- Fuzzy search - Type
/in command mode to switch to vault search
Press Cmd+/ to open the command palette directly in vault search mode.
Key Features
Dashboard View
The main/vault route displays:
- Skill graph visualization (desktop: background layer, mobile: tabbed)
- Skills list panel with search and filtering
- Vault legend showing active vaults with color indicators
- Responsive layout - Split view on desktop, tabbed on mobile
Skill Detail Pages
Each skill has a dedicated page at/vault/skills/[id] featuring:
- Markdown rendering with syntax highlighting and custom components
- Resource sidebar listing attached files and links
- Local graph view showing skill connections and mentions
- Tabbed interface for viewing multiple resources simultaneously
- Skill metadata including vault, source, and update timestamps
Settings Panel
The/settings route provides:
- Account management - View profile, sign out, delete account
- Vault settings - Enable/disable vaults, manage enterprise memberships
- Enterprise admin - Invite members, manage roles, update vault colors
- Appearance controls - Light, dark, or system theme selection
- Pending invitations - Accept or decline vault invitations
Development
Running Locally
- Hot module replacement
- Fast refresh for React components
- Type checking in watch mode
Environment Variables
Required configuration:Code Structure
The web app follows Next.js App Router conventions:src/app/- Route definitions and page componentssrc/components/- Reusable UI componentssrc/lib/- Utilities, API clients, and auth helperssrc/hooks/- Custom React hookspackages/api/- Shared tRPC router definitions
Next Steps
Managing Skills
Learn how to browse, search, create, and edit skills in the web UI
Vault Management
Configure vaults, manage memberships, and invite collaborators
Graph Visualization
Explore the interactive skill graph and navigate resource relationships