Ataru
CLAUDE.md359 starsChanged 4 months agoApache-2.0View on GitHub
This project uses Lovstudio Warm Academic Style (暖学术风格) Reference complete design guide: file:///Users/mark/lovstudio/vault/design/design-guide.md Ataru is a local-first AI conversation recall desktop app built with Tauri 2 + React 19 + TypeScript. It focuses on searching and recovering useful context from AI coding tool histories while retaining the legacy Lovcode CLI and storage contracts. Dual-layer architecture: - src/ - React frontend (Vite, port 1420) - src-tauri/ - Rust backend (Tauri 2) Frontend-backend communication: - Use invoke() from @tauri-apps/api/core to call Rust…
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 56
Use invoke() from @tauri-apps/api/core to call Rust commands
- Distinctive: line 63
No dynamic imports or setTimeout unless necessary
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Design System
This project uses Lovstudio Warm Academic Style (暖学术风格)
Reference complete design guide: file:///Users/mark/lovstudio/vault/design/design-guide.md
Quick Rules
- 禁止硬编码颜色:必须使用 semantic 类名(如
bg-primary、text-muted-foreground) - 字体配对:标题用
font-serif,正文用默认font-sans - 圆角风格:使用
rounded-lg、rounded-xl、rounded-2xl - 主色调:陶土色(按钮/高亮)+ 暖米色背景 + 炭灰文字
- 组件优先:优先使用 shadcn/ui 组件
Color Palette
- Primary: #CC785C (陶土色 Terracotta)
- Background: #F9F9F7 (暖米色 Warm Beige)
- Foreground: #181818 (炭灰色 Charcoal)
- Border: #E8E6DC
Common Patterns
- 主按钮:
bg-primary text-primary-foreground hover:bg-primary/90 - 卡片:
bg-card border border-border rounded-xl - 标题:
font-serif text-foreground
Project Overview
Ataru is a local-first AI conversation recall desktop app built with Tauri 2 + React 19 + TypeScript. It focuses on searching and recovering useful context from AI coding tool histories while retaining the legacy Lovcode CLI and storage contracts.
Commands
# Frontend development (hot reload)
pnpm dev
# Type check + production build
pnpm build
# Run Tauri desktop app (auto-starts pnpm dev)
pnpm tauri dev
# Build distributable
pnpm tauri buildArchitecture
Dual-layer architecture:
src/- React frontend (Vite, port 1420)src-tauri/- Rust backend (Tauri 2)
Frontend-backend communication:
- Use
invoke()from@tauri-apps/api/coreto call Rust commands - Define Rust commands with
#[tauri::command]insrc-tauri/src/lib.rs - Register commands in
tauri::generate_handler![]
Conventions
- CSS: Tailwind CSS preferred
- No dynamic imports or setTimeout unless necessary
- Extract shared components when patterns repeat across multiple components
- 不要执行pnpm build等,因为本地在运行 pnpm tauri dev
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

