RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/CLAUDE.md/thoughtbot/guides

CLAUDE.md

rails/ai-rules/CLAUDE.md
CLAUDE.md

Quality

72/100

Scores the file, not the repository.

Length

153 words

3 headings · 1 code blocks

Repository

9.6k

— · pushed 0 days ago

Last changed

2 days ago

First indexed 2 days ago.
thoughtbot/guides/rails/ai-rules/CLAUDE.mdRawGitHub
1# Project: [APP_NAME]
2 
3[One sentence: what the app does and who it serves.]
4 
5## Commands
6 
7```bash
8bin/dev # Start dev server and worker
9bin/rails spec # Full test suite (Suspenders rake task)
10bundle exec rspec spec/models # Model specs only
11bundle exec rspec spec/requests # Request specs only
12bundle exec rspec spec/path/to/file_spec.rb # Run all tests in file
13bundle exec rspec spec/path/to/file_spec.rb:72 # Run just the test at line 72
14bundle exec rubocop # Lint
15bundle exec rubocop -a # Auto-fix lint issues
16bin/rails db:migrate # Run migrations
17bundle audit # Check gem vulnerabilities
18bin/ci # Run all tests, linters, and security scanners
19bin/rails routes # View routes
20```
21 
22## Rules
23 
24Short constraints in .claude/rules/:
25 
26rules/models.md — models conventions
27rules/controllers.md — controller conventions
28rules/testing.md - **MUST write tests first** TDD guidelines
29rules/security.md — security guidelines
30rules/views.md — No logic in views, presenter usage, Turbo conventions
31rules/database.md — Indexes, N+1, migration rules, query guidelines
32 

Commands it names

  • bundle exec rspec spec/models
  • bundle exec rspec spec/requests
  • bundle exec rspec spec/path/to/file_spec.rb
  • bundle exec rspec spec/path/to/file_spec.rb:72
  • bundle exec rubocop
  • bundle exec rubocop -a
  • bundle audit

Sections

  • Project: [APP_NAME]
  • Commands
  • Rules

What it covers

do-not

Stack — with the evidence

ruby

(0.80)

javascript

(0.60)

github-actions

(0.60)

Format

CLAUDE.md

Claude Code's memory file. Shaped like AGENTS.md but with two things it lacks: @path imports, so shared rules live in one place, and a user-scope layer that follows the developer across repos rather than shipping with the code.

What the corpus says about it

Repository

Owner
thoughtbot
Language
—
License
—
Archived
no

All configs in this repo

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
livewire/livewireCLAUDE.md · 24kCLAUDE.mdphpvitest+4setupbuildteststyle+4100/1003 days ago
filamentphp/filamentCLAUDE.md · 32kCLAUDE.mdphplaravel+5buildtestlint-formatstyle+7100/1003 days ago
stacklok/toolhiveCLAUDE.md · 2.0kCLAUDE.mdgogithub-actionsbuildteststylearch+4100/1003 days ago
dotCMS/corecore-web/CLAUDE.md · 949CLAUDE.mdjavanode+13teststylearchtesting-strategy+3100/1003 days ago
Adit-Jain-srm/NightmareNetCLAUDE.md · 45CLAUDE.mdtypescriptpython+18buildtestlint-formatstyle+6100/1003 days ago
microsoft/playwrightCLAUDE.md · 94kCLAUDE.mdtypescriptjavascript+10buildtestlint-formatstyle+7100/1003 days ago
nimbalyst/nimbalystpackages/android/CLAUDE.md · 1.4kCLAUDE.mdtypescriptnode+16setupbuildstylearch+2100/1003 days ago
bagisto/bagistoCLAUDE.md · 28kCLAUDE.mdphplaravel+8setupbuildteststyle+5100/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack