DevPrep

All topics › AI-assisted development

What goes into CLAUDE.md, AGENTS.md and Cursor rules for an iOS project?

Middle PRO

Essence

Agents read the project rules file at the start of every session: Claude Code reads CLAUDE.md, Codex and a number of other tools read AGENTS.md, Cursor reads rules in .cursor/rules/. It's essentially onboarding for a new developer, except the reader is a model and it reads it every time. A good file saves dozens of repetitions in prompts and prevents typical mistakes.

The rest of this answer, with code and interview follow-ups, is in the DevPrep app.

Read the full answer in DevPrep

Practice this before your interview

DevPrep turns these answers into one-minute challenges: what does this code print, find the bug, mock interviews. One challenge a day.

Get DevPrep on the App Store