·rails-generators
</>

rails-generators

el-feo/ai-context

為模型、服務、控制器和全棧功能創建專家級 Ruby on Rails 生成器。在為 Rails 應用程序構建自定義生成器、腳手架或代碼生成工具時,或者在用戶提到 Rails 生成器、Thor DSL 或自動代碼生成時使用。

9安裝·0熱度·@el-feo

安裝

$npx skills add https://github.com/el-feo/ai-context --skill rails-generators

SKILL.md

Build production-ready Rails generators that automate repetitive coding tasks and enforce architectural patterns. This skill covers creating custom generators for models, service objects, API scaffolds, and complete features with migrations, tests, and documentation.

Generator location: lib/generators/[name]/[name]generator.rb Template location: lib/generators/[name]/templates/ Test location: test/generators/[name]generatortest.rb

Rails 8 introduced the authentication generator (rails generate authentication) which demonstrates modern generator patterns including:

為模型、服務、控制器和全棧功能創建專家級 Ruby on Rails 生成器。在為 Rails 應用程序構建自定義生成器、腳手架或代碼生成工具時,或者在用戶提到 Rails 生成器、Thor DSL 或自動代碼生成時使用。 來源:el-feo/ai-context。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/el-feo/ai-context --skill rails-generators
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 rails-generators?

為模型、服務、控制器和全棧功能創建專家級 Ruby on Rails 生成器。在為 Rails 應用程序構建自定義生成器、腳手架或代碼生成工具時,或者在用戶提到 Rails 生成器、Thor DSL 或自動代碼生成時使用。 來源:el-feo/ai-context。

如何安裝 rails-generators?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/el-feo/ai-context --skill rails-generators 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/el-feo/ai-context

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-01