rails-generators
✓Create expert-level Ruby on Rails generators for models, services, controllers, and full-stack features. Use when building custom generators, scaffolds, or code generation tools for Rails applications, or when the user mentions Rails generators, Thor DSL, or automated code generation.
Installation
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:
Create expert-level Ruby on Rails generators for models, services, controllers, and full-stack features. Use when building custom generators, scaffolds, or code generation tools for Rails applications, or when the user mentions Rails generators, Thor DSL, or automated code generation. Source: el-feo/ai-context.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/el-feo/ai-context --skill rails-generators- Source
- el-feo/ai-context
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is rails-generators?
Create expert-level Ruby on Rails generators for models, services, controllers, and full-stack features. Use when building custom generators, scaffolds, or code generation tools for Rails applications, or when the user mentions Rails generators, Thor DSL, or automated code generation. Source: el-feo/ai-context.
How do I install rails-generators?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/el-feo/ai-context --skill rails-generators Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/el-feo/ai-context
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01