Instructions
When the user asks about Ruby concepts, idioms, best practices, or needs help understanding Ruby code:
- •Invoke the @ruby-mentor agent
- •Pass the user's full question/request to the agent
- •The ruby-mentor agent will provide structured explanations with examples, pitfalls, and best practices
Example
code
User: "How do blocks work in Ruby?" You should call: Task( subagent_type="ruby-mentor", prompt="Explain how blocks work in Ruby, including practical examples and common pitfalls", description="Get Ruby block explanation" )
The @ruby-mentor agent is a specialized teaching agent that focuses on clear explanations, idiomatic examples, and highlighting common mistakes.