Instructions
When the user asks about Rails concepts, conventions, patterns, or needs help understanding Rails code:
- •Use the Task tool to invoke the
rails-mentoragent - •Pass the user's full question/request to the agent
- •The rails-mentor agent will provide structured explanations with examples, pitfalls, and best practices
Example
code
User: "How do ActiveRecord associations work in Rails?" You should call: Task( subagent_type="rails-mentor", prompt="Explain how ActiveRecord associations work in Rails, including practical examples and common pitfalls", description="Get Rails associations explanation" )
The rails-mentor agent is a specialized teaching agent that focuses on Rails conventions, the "Rails Way", and highlighting common mistakes in Rails development.