Commit graph

3 commits

Author SHA1 Message Date
Matt Kane
7f12c81944
[docs] Add AGENTS.md for AI coding agents (#11716)
* Add AGENTS.md for AI coding agents and simplify CLAUDE.md

* Add PR template instructions to AGENTS.md

* Add no-changeset-required label instruction
2025-12-19 15:35:16 +00:00
Matt Kane
47dde2e021
ci: use Claude to review changesets (#11599)
* Get Claude to review changesets

* Run on pull_reuest_target

* Extract changeset rules into readme

* Use GitHub API instead of checking out PR code

This avoids the CodeQL security warning about checking out untrusted
code in a privileged workflow. Claude now uses `gh` CLI to inspect
PR contents via the API instead of having the files on disk.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Add changeset guidelines to CLAUDE.md

Reference the detailed guidelines in .changeset/README.md and document
the preferred workflow using `pnpm changeset add --empty`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Format

* Apply suggestions from code review

Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>

* Address review feedback

- Add note about automatic dependency releases (no need to include dependent packages)
- Add CI-only changes to list of things not requiring changesets
- Call out that experimental features should be mentioned in changeset descriptions
- Remove unnecessary id-token permission
- Update prompt to note major version constraints from README
- Instruct Claude to fail the check (exit 1) for blocking issues

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Address additional review feedback

- Change 'workspaces' to 'packages' in README (fixtures aren't relevant)
- Add note that breaking changes to experimental features are not major
- Add use_sticky_comment to avoid multiple comments on the same PR
- Keep direct_prompt (verified correct for beta version)
- Keep GH_TOKEN env for gh CLI compatibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Migrate to claude-code-action v1

- Change @beta to @v1
- Change direct_prompt to prompt (per migration guide)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
2025-12-11 14:54:57 +00:00
Somhairle MacLeòid
af4a0c1fae
Add CLAUDE.md for Claude Code guidance (#9563)
* Add CLAUDE.md for Claude Code guidance

Provides essential development commands, architecture overview, and guidelines for future Claude Code instances working in this repository.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update CLAUDE.md with PR template guidance

Add important notes about PR template requirements discovered during development.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update CLAUDE.md

Co-authored-by: Carmen Popoviciu <cpopoviciu@cloudflare.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Carmen Popoviciu <cpopoviciu@cloudflare.com>
2025-06-20 19:37:09 +00:00