claude-code-chats
CLAUDE.md18 starsChanged 17 months agoMITView on GitHub
This is a Tauri + React + TypeScript desktop application. The project combines a Rust backend (Tauri) with a React frontend using Vite as the build tool. IMPORTANT: When running shadcn/ui commands, always use: - pnpm dlx shadcn@latest ... for general commands - pnpm dlx shadcn@latest add <components...> for adding components specifically The docs/shadcn-ui/ directory contains MDX documentation for various shadcn/ui components, suggesting this project may be using or planning to use shadcn/ui component library.
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
IMPORTANT: When running shadcn/ui commands, always use:
- Very specific: line 57
Never, EVER run _any_ pnpm tauri * commands.
- Very specific: line 61
Always run pnpm tsc after making many changes to TypeScript code
- Very specific: line 62
Always run cargo check for Rust code compilation verification
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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.
Project Overview
This is a Tauri + React + TypeScript desktop application. The project combines a Rust backend (Tauri) with a React frontend using Vite as the build tool.
Architecture
- Frontend: React 18 with TypeScript in
src/directory - Backend: Rust Tauri application in
src-tauri/directory - Build Tool: Vite for frontend bundling
- Package Manager: pnpm (configured in tauri.conf.json)
Development Commands
pnpm tauri dev- Start Tauri development mode with hot reloadpnpm build- Build for production (TypeScript compilation + Vite build)pnpm preview- Preview production buildpnpm tauri- Run Tauri CLI commands
Tauri-specific Commands
pnpm tauri dev- Start Tauri development modepnpm tauri build- Build Tauri application for distributioncargo check- Check Rust compilation (run fromsrc-tauri/)npx tsc --noEmit- Check TypeScript compilation
shadcn/ui Integration
IMPORTANT: When running shadcn/ui commands, always use:
pnpm dlx shadcn@latest ...for general commandspnpm dlx shadcn@latest add <components...>for adding components specifically
Frontend Architecture
- Entry point:
src/main.tsx - Main component:
src/App.tsx - Tauri API integration via
@tauri-apps/api/core - Development server runs on port 1420
- HMR on port 1421
Backend Architecture
- Main Rust entry:
src-tauri/src/main.rs - Library:
src-tauri/src/lib.rs - Tauri configuration:
src-tauri/tauri.conf.json - Build script:
src-tauri/build.rs
Documentation
The docs/shadcn-ui/ directory contains MDX documentation for various shadcn/ui components, suggesting this project may be using or planning to use shadcn/ui component library.
Safety and Warnings
- Never, EVER run any
pnpm tauri *commands. Not even with flags like--no-watch!!!
Development Best Practices
- Always run
pnpm tscafter making many changes to TypeScript code - Always run
cargo checkfor Rust code compilation verification
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.

