Skip to content

feat: add AGENTS.md to 5 templates (batch 1)#960

Open
zeke wants to merge 5 commits intocloudflare:mainfrom
zeke:z/agents-md-batch-1
Open

feat: add AGENTS.md to 5 templates (batch 1)#960
zeke wants to merge 5 commits intocloudflare:mainfrom
zeke:z/agents-md-batch-1

Conversation

@zeke
Copy link
Contributor

@zeke zeke commented Mar 17, 2026

This PR adds AGENTS.md files to 5 templates picked as a representative sampling across different complexity levels and Cloudflare products. It's intended as a conversation-starter — if we like this approach, we can ship it and generate AGENTS.md files for all the other templates too.

Templates covered:

  • d1-template (simple, D1)
  • durable-chat-template (Durable Objects, WebSockets, PartyKit)
  • react-router-starter-template (framework SSR, Vite)
  • saas-admin-template (D1, Workflows, Astro, API auth)
  • postgres-hyperdrive-template (Hyperdrive, external Postgres)

Each AGENTS.md covers:

  • What the template does and when to use it
  • Setup commands and prerequisites
  • Configuration table of bindings, secrets, and environment variables
  • How the architecture works and how to extend it
  • Deployment steps
  • Relevant official Cloudflare Skills and MCP servers (including the Cloudflare API MCP) specific to the products used in that template
  • A note asking agents to keep the file up to date as the template changes

✨ cc @kristianfreeman who pointed me at @CameronWhiteside's AGENTS.md on the pay-per-crawl template

@github-actions
Copy link
Contributor

Preview link not generated: you must be on a branch, not on a fork.
Collaborators may enable previews for this pull request by attaching the allow preview label.
If you are already a collaborator, please create a branch rather than forking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant