application-tracker / rails-api
CLAUDE.md1 starsChanged 9 months agoMITView on GitHub
Rails API-only backend for the job application tracker. Run from the repository root unless noted:
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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
- Distinctive: line 14
Run from the repository root unless noted:
- Distinctive: line 28
Keep database/model attributes snake_case and API JSON keys camelCase.
- Very specific: line 31
Keep CSV import/export out of CSV_STACKS until feature 007 is implemented for Rails.
≈ “Common” is an estimate: at least 1 in 5 of the 25,680 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
rails-api Guidance
Rails API-only backend for the job application tracker.
Stack
- Ruby 3.3+ with Rails API mode
- ActiveRecord + PostgreSQL schema
ruby_rails - RSpec request/model tests
- Port: 5180
Commands
Run from the repository root unless noted:
npm run install:rails-api
npm run migrate:rails-api
npm run dev:rails-api
npm run test:rails-api
npm run test:api:rails-api
npm run lint:rails-api
npm run audit:ci:rails-apiPatterns
- Keep database/model attributes snake_case and API JSON keys camelCase.
- Store enum-like values as strings and validate against the core spec values; do not convert values like
given offer,enterprise-software, orcompany-websiteinto Ruby enum identifiers in the API contract. - Route user-visible mutations through service objects so exactly one application snapshot is recorded per mutation.
- Keep CSV import/export out of
CSV_STACKSuntil feature 007 is implemented for Rails. - The macOS system Ruby 2.6 is too old for this package. Use Ruby 3.3+ before running Bundler or Rails commands.
Gemfile.lockdeclares Bundler 2.7.2; runbundle installnormally so local and CI use the lockfile's Bundler metadata instead of npm-script version pins.- Root npm scripts run Rails commands through
rails-api/bin/with-ruby, which uses an existing Ruby 3.3+ onPATH,RUBY_33_PREFIX, or Homebrewruby@3.3on either Apple Silicon or Intel macOS. - RSpec uses the configured Rails test database, which defaults to the shared
app_trackerdatabase andruby_railsschema. Avoid runningnpm run test:rails-apiagainst the same schema whiledev:rails-apiis mutating it, or setTEST_DATABASE_URLto an isolated database.
In this repository28 other files it gives its agents.
- angular-spring-ui/CLAUDE.mdCLAUDE.md
- angular-ui/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- fastapi/CLAUDE.mdCLAUDE.md
- go-api/CLAUDE.mdCLAUDE.md
- hono-api/CLAUDE.mdCLAUDE.md
- lambda-api/CLAUDE.mdCLAUDE.md
- nest-api/CLAUDE.mdCLAUDE.md
- nest-history-api/CLAUDE.mdCLAUDE.md
- nuxt-api/CLAUDE.mdCLAUDE.md
- spring-api/CLAUDE.mdCLAUDE.md
- svelte-ui/CLAUDE.mdCLAUDE.md
- tanstack-ui/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- vue-ui/CLAUDE.mdCLAUDE.md
- .github/agents/copilot-instructions.mdCopilot instructions
- .github/copilot-instructions.mdCopilot instructions
- add-react-componentSkill
- add-react-hookSkill
- add-react-testSkill
- debugSkill
- document-featureSkill
- e2e-testSkill
- fix-buildSkill
- perf-auditSkill
- refactorSkill
- run-e2eSkill
- update-depsSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

