LogoClawIndex
案例技能关于
LogoClawIndex

ClawIndex

OpenClaw Skills 与 Use Case 索引

ClawIndex 是一个生态驱动的 OpenClaw Skills 与真实 Use Case 索引站。

索引

Skills·
Cases

Meta

关于·
声明·
邮箱·
GitHub
© 2026 ClawIndex 保留所有权利。

create-page - 基于 Clean Architecture 模式创建 Next.js 页面

遵循 Clean Architecture 模式(Repository、Presenter、View)在 Next.js 中创建新页面、特性或模块。

标签

更新于: 2026-09-10

能力

典型输入

典型输出

该技能可以做什么

  • 定义 Repository 接口契约
  • 实现 Mock Repository
  • 创建 Server Component 页面
  • 实现 Presenter 业务逻辑
  • 拆分 Server 与 Client Presenter 工厂
  • 创建 Client 状态 Hook
  • 创建 View UI 组件

输入

  • 页面命名占位符
  • 参考文档 CREATE_PAGE_PATTERN.md

输出

  • Repository 接口文件
  • Mock Repository 文件
  • Server Page 页面文件
  • Presenter 类文件
  • Presenter 工厂文件
  • Client usePresenter Hook 文件
  • View 组件文件

要求

  • Next.js
  • TypeScript
  • Supabase
  • Tailwind CSS

来源

  • 规范: SKILL.md
nextjs
typescript
clean-architecture
supabase
tailwind
页面创建
定义 Repository 接口契约
实现 Mock Repository
创建 Server Component 页面
实现 Presenter 业务逻辑
页面命名占位符
参考文档 CREATE_PAGE_PATTERN.md
Repository 接口文件
Mock Repository 文件
Server Page 页面文件