AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

cloudflare

Discover and choose Cloudflare products for apps, APIs, AI agents, storage, networking, and security. Use for architecture and product selection, including when the user describes a need without naming a Cloudflare product; then find the relevant skill or documentation.

Original source
cloudflare
License
Apache-2.0
Pinned revision
e44f580f9c4fa3bf268e284ae7706c7954ba31fd

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read cloudflare--cloudflare at revision e44f580f9c4fa3bf268e284ae7706c7954ba31fd, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 135

references/pages-functions/patterns.md

Pages Functions Request Design

Choose where behavior belongs before adapting an example.

| Task | Documentation | | --- | --- | | Share authentication, logging, and error handling | Middleware | | Choose request handlers and asynchronous completion behavior | API reference | | Keep asset requests outside Function invocation where appropriate | Routing | | Use custom or framework-generated routing | Advanced mode | | Integrate storage or another service | Bindings | | Exercise the assembled application locally | Local development |

Define the response owner and middleware scope before adding authentication or response transformations. Test protected routes, rejected requests, and static fallbacks together. Choose consistency and concurrency requirements before using storage for session state or rate limiting; a generic read-modify-write example is not a complete policy.

See Pages project decisions for framework and migration work.