[create-cloudflare] Add best practices links to generated AGENTS.md#12563
[create-cloudflare] Add best practices links to generated AGENTS.md#12563petebacondarwin merged 2 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: 65cf460 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
/bonk are you able to review in this repository? if so please review |
|
Claude finished @irvinebroque's task —— View job Changeset Review
✅ All changesets look good The changeset
|
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
Direct AI coding agents to fetch Workers best practices, Durable Objects rules, and Workflows rules before writing code in new projects.
…l references Move Durable Objects and Workflows best practices links out of the preamble and into a conditional section at the bottom of AGENTS.md. These are now clearly marked as optional, only to be referenced if the user's app uses those features.
acbdb2d to
65cf460
Compare
|
Codeowners approval required for this PR:
Show detailed file reviewers |
Changeset ReviewFile:
|
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
No associated issue — this is a small content improvement to the generated AGENTS.md.
Summary
Updates the
AGENTS.mdcontent generated bycreate-cloudflarefor new Workers projects to direct AI coding agents to fetch and understand the latest best practices before writing any code. Adds links to:These are placed in the preamble, immediately after the initial retrieval directive ("STOP. Your knowledge..."), so agents encounter them before any other guidance.
getAgentsMd()is written to disk without checking specific content