What Is CLAUDE.md, Now Adopted by Apple | The New Standard for AI-Driven Development
Starting from the fact that the Apple Support app repository ships with a CLAUDE.md file, this article explains how CLAUDE.md has become the new infrastructure for AI-driven development, the 5 elements every engineer should include in their own project today (overview, conventions, structure, commands, and prohibited actions), and how to use it in PR reviews — all via the fastest path to implementation.
The fact that the Apple Support app repository includes CLAUDE.md signals that a new infrastructure for AI-driven development has become standard equipment in professional environments. This is not a hobbyist trick — it's a file that belongs in production repositories, and you should start using it today.
The 5 things to write are: project overview, coding conventions, directory structure, common commands, and prohibited actions. Placing this at the root of your repository alone is enough for the AI to return team-standard code from the very first session, dramatically reducing review costs and the effort spent explaining things in prompts.
In monorepos, hierarchical management via subdirectory placement is also possible, and when combined with @claude calls in PR comments, it can be extended to automated design-decision reviews. The most impactful element is the list of prohibited actions — it avoids pitfalls far more reliably than prompt-level control.
目次 (21)
- 1. The Day Apple Shipped CLAUDE.md in Their App
- 2. What Is CLAUDE.md: A Mechanism for Handing Your Project's "Blueprint" to the AI
- CLAUDE.md Eliminates the Cost of Explaining Project Conventions Every Time
- Without CLAUDE.md, the AI Guesses from Scratch and the Risk of Structural Mistakes Increases
- Place It at the Root for Automatic Loading; Monorepos Can Use Hierarchical Placement for Flexible Management
- 3. The 5 Elements Engineers Should Write in CLAUDE.md Today
- ① Project Overview
- ② Coding Conventions
- ③ Directory Structure Explanation
- ④ Common Commands
- ⑤ Prohibited Actions
- 4. CLAUDE.md in Action for PR Integration: The Latest on @claude Calls
- Just Write @claude in a PR Comment and Claude Responds with Full Code Awareness
- May 2026 Update: Improved Flexibility in Triggering
- Why CLAUDE.md Improves the Accuracy of PR Responses
- 5. The Revenue Impact of CLAUDE.md-First Development
- A 30-Minute Upfront Investment That Saves Over 10 Hours Per Month
- Engineers Who Can Write CLAUDE.md Stand Out in Project Ramp-Up Speed and Billing Rates
- AI Output Becomes Consistent and Onboarding Costs Drop Dramatically for Teams
- Differentiating Yourself as Someone Who Can Write CLAUDE.md
- Sources
1. The Day Apple Shipped CLAUDE.md in Their App
In 2026, a video by YouTube creator danifurmenek (reference: YouTube) exploring the Apple Support app codebase was published, confirming that a CLAUDE.md file was present at the root of the repository.
Apple is one of the organizations with the strictest code quality standards in the world. The fact that they include a "context file for AI" in a production repository sent a quiet shockwave through the development community.
Many people likely wondered, "Why Apple?" The answer is simple: the more context you give an AI assistant, the more accurate it becomes. By providing the project's conventions, prohibited actions, and directory structure upfront, the AI starts every conversation already knowing "what the right answer looks like for this project." Even an organization of Apple's caliber sees value in standardizing this approach.
CLAUDE.md is not a "hobbyist trick." As of 2026, it is the new infrastructure of professional AI-driven development.
2. What Is CLAUDE.md: A Mechanism for Handing Your Project's "Blueprint" to the AI
CLAUDE.md is a text file placed at the root directory of a repository. When Claude Code starts a session, it automatically reads this file and begins working with the project-specific rules already in memory.
CLAUDE.md Eliminates the Cost of Explaining Project Conventions Every Time
Any engineer who has used an AI assistant has likely experienced this:
"In this project, we use interface over type in TypeScript."
"We use Jest, not Vitest, for testing."
"Please never modify anything under /src/legacy/."
Communicating these things via prompt every time is tedious. It's also a waste of context window tokens. Writing them in CLAUDE.md means you never have to explain them again each session.
Without CLAUDE.md, the AI Guesses from Scratch and the Risk of Structural Mistakes Increases
Without CLAUDE.md, the AI infers your repository's structure from zero. The risk of proposing code that doesn't match your style, or accidentally including files that must not be deleted, goes up. With CLAUDE.md, the AI behaves like a dedicated partner that understands "this team's standards" from the very start.
Place It at the Root for Automatic Loading; Monorepos Can Use Hierarchical Placement for Flexible Management
The basic setup is to place it at the root of the repository. A CLAUDE.md placed in a subdirectory is read when working within that directory. For monorepo projects, you can place overall rules at the root and package-specific rules in each package.
3. The 5 Elements Engineers Should Write in CLAUDE.md Today
Many people are unsure what to write in CLAUDE.md. The following 5 elements serve as a minimum viable template.
① Project Overview
Briefly describe what the repository builds and the primary tech stack.
## Project Overview
Admin dashboard repository for a SaaS product built with Next.js 15 + TypeScript.
The backend is separated into a different repository (api-server).
By understanding the repository's purpose, the AI's suggestions stay on target. Knowing it's an "admin dashboard" changes the tone of UI design recommendations and the priority of security requirements.
② Coding Conventions
Specify naming rules, formatter settings, and testing policies.
## Coding Conventions
- TypeScript: prefer type aliases over interface
- Component filenames use PascalCase
- Tests go under src/__tests__/ (using Vitest)
- Comments are in English by default. JSDoc is only added to public functions.
Writing out conventions ensures the AI-generated code matches the team's style from the very first attempt. Review costs drop significantly.
③ Directory Structure Explanation
List what lives where. It doesn't need to be exhaustive.
## Directory Structure
src/
components/ Reusable UI components
features/ Feature-based modules (Feature-Sliced Design)
hooks/ Custom hooks
lib/ Integration code for external services
types/ Type definition files (*.d.ts)
With this in place, the AI can choose the right location when creating new files. Structural mistakes — like putting code that belongs in lib/ into components/ — decrease.
④ Common Commands
Write out the steps for building, testing, and running locally.
## Common Commands
- Start dev server: npm run dev
- Run tests: npm test
- Type check: npm run typecheck
- Build: npm run build
When the AI executes tasks automatically, it will use the correct commands. By accurately knowing the project's custom script names, it stops looping through irrelevant commands and failing.
⑤ Prohibited Actions
Specify files that must not be deleted, immutable design decisions, and dependencies that must not be touched.
## Prohibited Actions
- Do not modify files under /src/legacy/ (managed by a separate team)
- Do not change the "engines" field in package.json
- Never reference or load .env.production
- Do not change experimental flags in next.config.js
This "prohibited list" may be the most important element. The AI makes suggestions in good faith, but without knowing project-specific constraints, it can inadvertently step on landmines. Explicitly stating what must not be done is far more reliable than trying to control it through prompts.
4. CLAUDE.md in Action for PR Integration: The Latest on @claude Calls
Just Write @claude in a PR Comment and Claude Responds with Full Code Awareness
Claude Code has a feature where writing @claude in a pull request (PR) comment triggers a response from Claude. It's a mechanism that lets you consult the AI about review requests, bug discussions, and implementation decisions — all within the PR context.
For example in code review, you can drop a comment like "please confirm this logic works as intended" or "point out areas with insufficient test coverage," and Claude will read the code and return a specific response. Every team member effectively gains an AI reviewer.
May 2026 Update: Improved Flexibility in Triggering
In an update published by Anthropic on 2026-05-02 (reference: commit history), @claude, @Claude, @CLAUDE, and other case variations are now correctly recognized and responded to.
This is a subtle update, but it's a meaningful improvement for team development. Engineers have different typing styles — some write @claude, others write @Claude. Previously, these differences could prevent a response from triggering, but going forward it works consistently regardless of capitalization.
Why CLAUDE.md Improves the Accuracy of PR Responses
Without CLAUDE.md, when @claude is called, it responds without knowing "the right answer for this project." It might propose changes that violate coding conventions, or try to place files in the wrong location ignoring directory structure rules.
With CLAUDE.md, Claude responds with both the PR context and the project-specific rules in hand. It can make judgments like: "This project uses type alias by convention, so this PR using interface violates the rules."
The higher the quality of your CLAUDE.md, the more accurate @claude's responses become. It's a straightforward relationship.
5. The Revenue Impact of CLAUDE.md-First Development
A 30-Minute Upfront Investment That Saves Over 10 Hours Per Month
Writing a CLAUDE.md takes about 30 minutes to an hour the first time — just fill in the 5 elements.
Now consider the time saved after writing it.
| Scenario | Without CLAUDE.md | With CLAUDE.md | Time Saved |
|---|---|---|---|
| Context explanation at session start | 5–10 min | 0 min | 5–10 min/session |
| Fixing convention-violating code | 10–20 min | Rarely occurs | 10–20 min/instance |
| PR review round-trips | 2–3 rounds | Reduced to 1–2 rounds | 1 round's worth |
For an engineer who opens 3 AI sessions per day, context explanation alone saves up to 30 minutes per day. That's 2.5 hours per week. Over 10 hours per month. A 1-hour investment in CLAUDE.md pays for itself within a month.
Engineers Who Can Write CLAUDE.md Stand Out in Project Ramp-Up Speed and Billing Rates
For freelance engineers, project ramp-up speed directly affects income. Every new engagement comes with a cost to understand the repository, but when a well-written CLAUDE.md is in place, the AI handles that onboarding work.
Furthermore, engineers who can write — or get others to write — a good CLAUDE.md can differentiate themselves as someone who "knows how to leverage AI." When pitching to clients, being able to say "I can also set up the AI-driven development environment" becomes an advantage in billing rate negotiations going forward.
AI Output Becomes Consistent and Onboarding Costs Drop Dramatically for Teams
The reduction in onboarding costs is especially significant. When a new member joins, CLAUDE.md means the AI can immediately answer questions about project rules. "How do I write tests for this project?" — ask the AI and you get an answer aligned with the CLAUDE.md conventions. Dependence on senior members decreases and ramp-up speed improves.
Since every team member references the same CLAUDE.md when using the AI, the quality of AI output becomes consistent. The inconsistency of "A gets great code when they ask, but B gets a different style" disappears.
Differentiating Yourself as Someone Who Can Write CLAUDE.md
CLAUDE.md is just a text file, but writing it well requires both an understanding of "how the AI works" and the ability to distill "what the project's essential rules actually are." Engineers who possess both become key players who elevate the entire team's AI usage.
A technique practiced by world-class development teams like Apple's can now be introduced into an individual's repository in just one hour. It's never too late to start.
-
Apple Support app CLAUDE.md case study (danifurmenek, YouTube): https://www.youtube.com/watch?v=6QD9UBcOj-I
-
Anthropic
claude-code-action@claude call trigger improvement commit (2026-05-02): https://github.com/anthropics/claude-code-action/commit/38f25dd747e111e9f0e211e855dc251fb03413c4
Clauder Navi Editorial Team