什么是 routing-patterns?
按照专业模式和最佳实践审查、生成和更新 Rails 路线。涵盖 RESTful 资源路由、代码可重用性的路由问题、浅层嵌套策略和高级路由配置。 来源:rolemodel/rolemodel-skills。
按照专业模式和最佳实践审查、生成和更新 Rails 路线。涵盖 RESTful 资源路由、代码可重用性的路由问题、浅层嵌套策略和高级路由配置。
通过命令行快速安装 routing-patterns AI 技能到你的开发环境
来源:rolemodel/rolemodel-skills。
Purpose This skill helps AI agents review, generate, and update Rails routes following professional patterns and best practices. It covers RESTful resource routing, route concerns for code reusability, shallow nesting strategies, and advanced route configurations that can be applied to any Rails application.
Define concerns at the top of routes.rb for behaviors shared across multiple resources. This keeps your routes DRY and maintainable.
Apply concerns using the concerns: option with an array of symbols:
按照专业模式和最佳实践审查、生成和更新 Rails 路线。涵盖 RESTful 资源路由、代码可重用性的路由问题、浅层嵌套策略和高级路由配置。 来源:rolemodel/rolemodel-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/rolemodel/rolemodel-skills --skill routing-patterns按照专业模式和最佳实践审查、生成和更新 Rails 路线。涵盖 RESTful 资源路由、代码可重用性的路由问题、浅层嵌套策略和高级路由配置。 来源:rolemodel/rolemodel-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/rolemodel/rolemodel-skills --skill routing-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/rolemodel/rolemodel-skills