souls-house
CLAUDE.md48 starsChanged 2 months agoMITView on GitHub
Before major work, read docs/architecture.md and docs/decisions/README.md; follow the reviewed issue/PR and deployment gates in ADR 0002. Every user-visible change adds an entry under config/changelog/ in the same PR (and new capabilities go on the features page): see CONTRIBUTING.md. This is a Rails 8 + Svelte 5 application using Inertia.js. Always check the /docs/ folder for detailed documentation before making changes. 📁 /docs/ - All detailed documentation lives here Archived plans in docs/.bak/ are historical, not implementation instructions. Start with…
- Deletes or force-pushes
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- public/llms.txtllms.txt
- architectureSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
15 rules. About 0 are common, 7 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 3
Before major work, read docs/architecture.md and docs/decisions/README.md.
- Very specific: line 5
Every user-visible change adds an entry under config/changelog/ in the same PR (and new capabilities go on the features page): see …
- Distinctive: line 18
Only run migrations that are additive or safely reversible
- Distinctive: line 19
If you need to test something destructive, use the test database only
- Distinctive: line 25
If you need to test something, use the existing running server
- Distinctive: line 45
Start with /docs/overview.md which indexes all documentation:
- Very specific: line 54
Check /docs/architecture.md for patterns and structure
- Distinctive: line 55
Follow existing code conventions in similar files
- Very specific: line 56
Run tests after changes: rails test
- Very specific: line 58
Test features using the agent-browser skill (invoke with /agent-browser)
- Very specific: line 75
Read the docs first: - Check /docs/ before implementing
- Distinctive: line 76
Follow patterns: - Look at existing code for conventions
- Very specific: line 77
Test your changes: - Run rails test after modifications
- Distinctive: line 78
Security matters: - Never commit secrets, use credentials
- Very specific: line 79
Preserve development data: - Never run destroy_all or db:reset in development
≈ “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
Before major work, read docs/architecture.md and docs/decisions/README.md; follow the reviewed issue/PR and deployment gates in ADR 0002.
Every user-visible change adds an entry under config/changelog/ in the same PR (and new capabilities go on the features page): see CONTRIBUTING.md.
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
🚨 CRITICAL DATABASE RULES - NEVER VIOLATE THESE 🚨
NEVER WIPE OR RESET THE DEVELOPMENT DATABASE
- NEVER run
rails db:dropin development - NEVER run
rails db:resetin development - NEVER run
rails db:setupon an existing database - NEVER run destructive ActiveRecord commands like
User.destroy_allin development console - NEVER truncate tables in development
- The development database contains important data that must be preserved
- Only run migrations that are additive or safely reversible
- If you need to test something destructive, use the test database only
NEVER KILL THE DEVELOPMENT SERVER
- NEVER kill the Rails server process (pid in tmp/pids/server.pid)
- NEVER kill background bash processes running
bin/dev - The development server runs on port 3100 (not 3000)
- If you need to test something, use the existing running server
Essential Information
This is a Rails 8 + Svelte 5 application using Inertia.js. Always check the /docs/ folder for detailed documentation before making changes.
Quick Start
bin/dev # Start development server (Rails + Vite)
bin/rails db:prepare # Prepare the intended local database
bin/rails test # Run testsDocumentation Structure
📁 /docs/ - All detailed documentation lives here
Archived plans in docs/.bak/ are historical, not implementation instructions.
Start with /docs/overview.md which indexes all documentation:
- Architecture - Application structure, patterns, and technology stack
- Testing - Testing strategy and how to write/run tests
- Commands - Complete development command reference
Critical Information
When Creating New Features
- Check
/docs/architecture.mdfor patterns and structure - Follow existing code conventions in similar files
- Run tests after changes:
rails test - Check linting:
bin/rubocop - Test features using the
agent-browserskill (invoke with/agent-browser)
Technology Stack
- Backend: Rails 8 with PostgreSQL
- Frontend: Svelte 5 with Inertia.js
- Styling: Tailwind CSS + DaisyUI + ShadcnUI
- Build: Vite
Key Directories
/app/frontend/- Svelte components and frontend code/app/controllers/- Rails controllers (render Inertia components)/config/routes.rb- Application routes/docs/- Detailed documentation
Always Remember
- NEVER WIPE THE DEVELOPMENT DATABASE - See
/docs/database-safety.md - Read the docs first - Check
/docs/before implementing - Follow patterns - Look at existing code for conventions
- Test your changes - Run
rails testafter modifications - Security matters - Never commit secrets, use credentials
- Preserve development data - Never run
destroy_allordb:resetin development
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.

