-
-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
Currently, there's a proposal for a separate cortex tutor command (see cortexlinux/cortex-distro#30), but this creates redundancy since cortex ask can already provide educational content, explanations, and best practices. Having two similar commands adds confusion for users and fragments the learning experience.
Proposed solution
Enhance the existing cortex ask command to include tutor-like capabilities without adding a separate command or flag. The enhanced ask command should:
- Provide structured learning content when users ask educational questions
- Include code examples and best practices in responses
- Offer step-by-step tutorials when appropriate
- Track learning progress for returning users (optional)
- Suggest related topics to explore
Example interactions:
# Educational queries work naturally
cortex ask "explain how Docker containers work"
cortex ask "what are best practices for nginx configuration"
cortex ask "teach me about systemd services"
# System-specific queries still work
cortex ask "what packages need updating"
cortex ask "why is my disk full"
The key insight is that cortex ask should be intelligent enough to detect when a user wants to learn vs. when they need system diagnostics, and respond appropriately.coderabbitai
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request