·go-chi-router
</>

go-chi-router

按照 Go 模块化架构约定生成 Chi 路由器实现(来自 bricks 包的 Chi 路由器、带有 chi.Route 接口的 Fx DI、REST 端点)。在内部/modules/<module>/http/chi/router/ 中创建或修改 HTTP 路由注册时,请始终使用此技能,包括任何新的路由器文件、CRUD 路由(GET、POST、PUT、DELETE)、自定义操作端点、版本化 API、带有中间件的路由组或将路由器连接到模块的 fx.go。

14安装·1热度·@cristiano-pacheco

安装

$npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-chi-router

如何安装 go-chi-router

通过命令行快速安装 go-chi-router AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-chi-router
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:cristiano-pacheco/ai-tools。

SKILL.md

查看原文

Generate Chi router implementations for Go backend HTTP transport layer.

Use POST with a verb suffix for non-CRUD state transitions. Use nested paths for sub-resources.

Use router.Group to scope middleware to a subset of routes without affecting others.

按照 Go 模块化架构约定生成 Chi 路由器实现(来自 bricks 包的 Chi 路由器、带有 chi.Route 接口的 Fx DI、REST 端点)。在内部/modules/<module>/http/chi/router/ 中创建或修改 HTTP 路由注册时,请始终使用此技能,包括任何新的路由器文件、CRUD 路由(GET、POST、PUT、DELETE)、自定义操作端点、版本化 API、带有中间件的路由组或将路由器连接到模块的 fx.go。 来源:cristiano-pacheco/ai-tools。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-chi-router
分类
</>开发工具
认证
收录时间
2026-02-26
更新时间
2026-03-10

Browse more skills from cristiano-pacheco/ai-tools

快速解答

什么是 go-chi-router?

按照 Go 模块化架构约定生成 Chi 路由器实现(来自 bricks 包的 Chi 路由器、带有 chi.Route 接口的 Fx DI、REST 端点)。在内部/modules/<module>/http/chi/router/ 中创建或修改 HTTP 路由注册时,请始终使用此技能,包括任何新的路由器文件、CRUD 路由(GET、POST、PUT、DELETE)、自定义操作端点、版本化 API、带有中间件的路由组或将路由器连接到模块的 fx.go。 来源:cristiano-pacheco/ai-tools。

如何安装 go-chi-router?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-chi-router 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/cristiano-pacheco/ai-tools

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-26