An Obsidian-Powered UI Knowledge Base & Local Reference Dataset for Human & AI Engineers
๐ Overview โข โจ Key Features โข ๐ป Cloning โข ๐ Structure โข ๐ฎ Obsidian Setup โข ๐ค AI Agents โข ๐ New Projects โข ๐ Reference Sources
UI-Brain turns a massive collection of UI libraries, design systems, primitives, animations, templates, and frontend documentation into a navigable, hyper-linked second brain powered by Obsidian.
It is designed to help software engineers and AI coding agents (Claude Code, Cursor, Codex, Google Antigravity) make deliberate, architectural frontend decisions before writing code.
Note
The repository combines deep architectural notes in data/ with local reference source code from industry-standard UI libraries.
- ๐ง Obsidian Knowledge Base: Connected notes, Maps of Content (MOCs), technology decision matrixes, and accessibility checklists inside
data/. - ๐ฆ 8+ Bundled Reference Datasets: Source material from Astryx, Carbon, Fluent UI, Material Web, Radix Primitives, React Bits, TDesign, and shadcn/ui.
- ๐ค Native AI Agent Support: Built-in instructions and configurations for Claude Code, Cursor, Codex, and Google Antigravity.
- ๐ Strict Architecture Scope: Clean boundary between read-only reference datasets and user-generated applications (
projects/<site-name>/). - ๐บ๏ธ Visual Knowledge Graph: Deep node-graph visualization of component dependencies, design tokens, and UI patterns.
Select your operating system below for platform-tailored clone commands and configuration instructions.
Tip
Make sure you have Git installed on your system before running these commands.
# Option 1: HTTPS Clone
git clone https://github.com/alisattorov06/UI-Brain.git
# Option 2: SSH Clone
git clone git@github.com:alisattorov06/UI-Brain.git
# Option 3: GitHub CLI
gh repo clone alisattorov06/UI-Brain- Open Terminal (PowerShell or Git Bash).
- Clone the repository:
git clone https://github.com/alisattorov06/UI-Brain.git cd UI-Brain
- (Recommended for Windows) Enable long paths support to avoid path length limits with deep UI component trees:
git config --system core.longpaths true - (Optional) Configure line endings for Windows environment:
git config core.autocrlf true
- Open Terminal (
Cmd + Spaceโ Terminal). - Check Git installation (install via Homebrew if needed:
brew install git). - Clone the repository:
git clone https://github.com/alisattorov06/UI-Brain.git cd UI-Brain - (Optional) Preserve UNIX line endings:
git config core.autocrlf input
- Open Terminal (
Ctrl + Alt + T). - Install Git (if not already installed):
# Ubuntu / Debian sudo apt update && sudo apt install -y git # Fedora / RHEL sudo dnf install -y git # Arch Linux sudo pacman -S git
- Clone the repository:
git clone https://github.com/alisattorov06/UI-Brain.git cd UI-Brain
UI-Brain/
โโโ ๐ AGENTS.md # Shared agent instructions & boundary rules
โโโ ๐ CLAUDE.md # Claude Code agent workspace instructions
โโโ ๐ .cursor/rules/ # Cursor rules (ui-knowledge-base.mdc)
โโโ ๐ .agents/rules/ # Google Antigravity custom rules
โโโ ๐ assets/ # Screenshots & documentation graphics
โโโ ๐ data/ # ๐ง Obsidian Knowledge Base Vault
โ โโโ 00-Start/ # Home note & Relationship Map MOC
โ โโโ 01-Design-Systems/ # Astryx, Carbon, Fluent UI, Material Web, TDesign
โ โโโ 02-Component-Primitives/ # Radix Primitives documentation
โ โโโ 03-UI-Components/ # shadcn/ui components & registry notes
โ โโโ 04-Animations/ # React Bits animation guides
โ โโโ 05-Templates-and-Tooling/ # Framework starters & tooling
โ โโโ 06-Design-Tokens/ # Themes, colors, typography & spacing
โ โโโ 07-Accessibility/ # A11y standards & WCAG checklists
โ โโโ 08-Patterns/ # Forms, state management, layouts, navigation
โ โโโ 09-Examples/ # Links to local UI implementations
โ โโโ 10-Decision-Guides/ # Technology selection matrix & trade-offs
โ โโโ 99-Source-Map/ # Note-to-source mapping references
โโโ ๐ projects/ # ๐ Directory for generated web projects
- Download and install Obsidian.
- Select Open folder as vault.
- Choose the
data/directory inside this repository for a clean second-brain view. - Start with
data/00-Start/Home.mdordata/00-Start/Relationship-Map.md. - Open Graph View (
Ctrl + G/Cmd + G) to visually explore relationships.
Tip
If you open the root folder as an Obsidian vault, apply the graph filter path:data to hide raw source code nodes and focus purely on knowledge notes.
UI-Brain is optimized for AI pair programming. Every supported agent is pre-configured to read data/ guides before writing frontend code.
Important
Boundary Rule: The reference folders (astryx/, carbon/, fluentui/, material-web/, primitives/, react-bits/, tdesign/, ui/) are read-only. Agents and developers must create new web applications strictly inside projects/<site-name>/.
| Agent | Configuration File | How to Activate |
|---|---|---|
| Claude Code | CLAUDE.md |
Automatically loaded when starting claude in repository root |
| Cursor | .cursor/rules/ui-knowledge-base.mdc |
Active by default (alwaysApply: true) |
| Google Antigravity | .agents/rules/ui-knowledge-base.md |
Set ui-knowledge-base rule to Always On in Agent Panel |
| Codex / Custom Agents | AGENTS.md |
Shared guidelines loaded at root level |
Click to expand Claude Code setup & prompt example
cd UI-Brain
claudePrompt:
Use the UI-Brain knowledge base to build a responsive SaaS landing page.
First explain the chosen design system, UI patterns, design-token approach,
and accessibility considerations. Then implement it in projects/saas-landing/.
Do not modify the reference dataset folders.
Run /memory inside Claude Code to verify that CLAUDE.md is active.
Click to expand Universal Prompt for Any AI Agent
Read the UI-Brain knowledge base first. I want to create [website type] for [target audience].
Choose a suitable design system or component strategy from the dataset, explain the accessibility
and responsive-design decisions, and build the implementation in projects/[website-name]/.
Keep all custom applications decoupled from the knowledge base reference source material:
projects/
โโโ my-website/
โโโ README.md
โโโ package.json
โโโ vite.config.js
โโโ src/
โโโ components/
โโโ App.jsx
UI-Brain contains local source snapshots of major UI frameworks:
Contributions to enhance the knowledge base are welcome:
- โ๏ธ Create Notes: Add focused Markdown notes under the relevant
data/category. - ๐ Add Connections: Link new notes to MOCs or
Relationship-Map.mdusing[[WikiLinks]]. - โฟ Include A11y Guidelines: Document WCAG compliance, keyboard interaction, and design trade-offs.
- ๐งน Clean Commits: Keep build artifacts, untracked dependencies, and temporary files out of git.
- ๐ Source Integrity: Library directories (
astryx/,carbon/, etc.) are reference sources; do not modify or format them. - ๐ Ignored Folders: The
blog/folder is explicitly git-ignored. - โ๏ธ Agent Persistence: Configuration files (
AGENTS.md,CLAUDE.md,.cursor/rules/,.agents/rules/) are core assets and must remain versioned.
Made with โค๏ธ for Developers & AI Engineers โข Powered by Obsidian

