什么是 cloudwerk-handlers?
Cloudflare Workers 上 Cloudwerk 应用程序的处理程序、中间件和组件模式。在编写路由处理程序、中间件、页面/布局组件或客户端交互组件时使用。在涉及 CloudwerkHandler、响应帮助程序(json、重定向)、Cloudflare 绑定(D1、KV、R2)、中间件组合、PageProps、LayoutProps 或客户端指令的任务上触发。 来源:squirrelsoft-dev/cloudwerk。
Cloudflare Workers 上 Cloudwerk 应用程序的处理程序、中间件和组件模式。在编写路由处理程序、中间件、页面/布局组件或客户端交互组件时使用。在涉及 CloudwerkHandler、响应帮助程序(json、重定向)、Cloudflare 绑定(D1、KV、R2)、中间件组合、PageProps、LayoutProps 或客户端指令的任务上触发。
通过命令行快速安装 cloudwerk-handlers AI 技能到你的开发环境
来源:squirrelsoft-dev/cloudwerk。
Handler, middleware, and component patterns for Cloudwerk applications. Covers the signature conventions for route handlers, middleware, and page/layout components, plus how to use Cloudflare bindings and response helpers.
| 1 | Handler Patterns | CRITICAL | handler- | | 2 | Middleware Patterns | HIGH | middleware- | | 3 | Component Patterns | HIGH | component- |
Read individual rule files for detailed explanations and code examples:
Cloudflare Workers 上 Cloudwerk 应用程序的处理程序、中间件和组件模式。在编写路由处理程序、中间件、页面/布局组件或客户端交互组件时使用。在涉及 CloudwerkHandler、响应帮助程序(json、重定向)、Cloudflare 绑定(D1、KV、R2)、中间件组合、PageProps、LayoutProps 或客户端指令的任务上触发。 来源:squirrelsoft-dev/cloudwerk。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/squirrelsoft-dev/cloudwerk --skill cloudwerk-handlersCloudflare Workers 上 Cloudwerk 应用程序的处理程序、中间件和组件模式。在编写路由处理程序、中间件、页面/布局组件或客户端交互组件时使用。在涉及 CloudwerkHandler、响应帮助程序(json、重定向)、Cloudflare 绑定(D1、KV、R2)、中间件组合、PageProps、LayoutProps 或客户端指令的任务上触发。 来源:squirrelsoft-dev/cloudwerk。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/squirrelsoft-dev/cloudwerk --skill cloudwerk-handlers 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/squirrelsoft-dev/cloudwerk