[angular/angular-cli] fix(@schematics/angular): generate CLAUDE.md for Claude Code instead of AGENTS.md (PR #33818)
DRANK
## PR Checklist Please check to confirm your PR fulfills the following requirements: - [x] The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines - [x] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added / updated (for bug fixes / features) ## PR Type What kind of change does this PR introduce? - [x] Bugfix - [ ] Feature - [ ] Code style update (formatting, local variables) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] CI related changes - [ ] Documentation content changes - [ ] Other... Please describe: ## What is the current behavior? When using `ng new` or `ng generate ai-config` and selecting `Claude Code`, it incorrectly generates `AGENTS.md` for Claude Code. Issue Number: #33817 ## What is the new behavior? Generates `CLAUDE.md` instead of `AGENTS.md` when `Claude Code` is selected, aligning with Anthropic's official Claude Code documentation for project instructions. ## Does this PR introduce a breaking change? - [ ] Yes - [x] No ## Other information This fixes a regression introduced in 22.1.0 where generating AI configuration for Claude Code (`claude-code`) incorrectly grouped it with other tools that generate `AGENTS.md`. According to Anthropic's official Claude Code documentation, the tool explicitly looks for a `CLAUDE.md` file in the project directory at the start of every session to serve as its system ruleset and permanent memory.
For this, I only hope Claude Code will support AGENTS.md soon. 🥲
fix(schematics/angular): generate CLAUDE.md for Claude Code instead of AGENTS.md by lacolaco
github.com/angular/angula…