Pular para o conteúdo
Kitbay
SkillOficial

gateway-workers

Apache-2.0Atualizado em 10 de nov. de 20263.337Estrelas no GitHub

This Cloudflare skill covers Workers that Cloudflare Gateway calls through the Forward action in an HTTP policy, part of Cloudflare One.

O que a skill ensina

This Cloudflare skill covers Workers that Cloudflare Gateway calls through the Forward action in an HTTP policy, part of Cloudflare One. It tells the agent to start from the Forward guide and a Worker template, export a GatewayMiddleware entrypoint that handles the request, read identity and device posture from the Gateway context, and continue the original request at most once or return its own response. It also explains what Gateway inspects, known limits such as WebSockets bypassing the Worker, and how to test through a scoped Forward policy rather than by calling the Worker directly.

O que faz

  • Write a GatewayMiddleware Worker for the Gateway Forward action
  • Read identity and device posture from Gateway context
  • Return synthetic responses or pass requests on to the origin
  • Test a Worker through a scoped Gateway Forward policy