agentleFS
Piebald-AIPiebald-AI/claude-code-chats/CLAUDE.md

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
  1. Distinctive:

    IMPORTANT: When running shadcn/ui commands, always use:

    line 32
  2. Very specific:

    Never, EVER run _any_ pnpm tauri * commands.

    line 57
  3. Very specific:

    Always run pnpm tsc after making many changes to TypeScript code

    line 61
  4. Very specific:

    Always run cargo check for Rust code compilation verification

    line 62

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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 reload
  • pnpm build - Build for production (TypeScript compilation + Vite build)
  • pnpm preview - Preview production build
  • pnpm tauri - Run Tauri CLI commands

Tauri-specific Commands

  • pnpm tauri dev - Start Tauri development mode
  • pnpm tauri build - Build Tauri application for distribution
  • cargo check - Check Rust compilation (run from src-tauri/)
  • npx tsc --noEmit - Check TypeScript compilation

shadcn/ui Integration

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

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 tsc after making many changes to TypeScript code
  • Always run cargo check for Rust code compilation verification

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.