-
Notifications
You must be signed in to change notification settings - Fork 4.1k
feat: Add Guide Mode slash command for beginner onboarding #10341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: Add Guide Mode slash command for beginner onboarding #10341
Conversation
Add /guide command that provides interactive step-by-step discovery: - Asks 5 discovery questions to understand user needs - Helps beginners learn how to work with AI effectively - Creates better context for subsequent coding tasks - Follows existing built-in-legacy command patterns Closes continuedev#10340
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 issue found across 2 files
Prompt for AI agents (all issues)
Check if these issues are valid — if so, understand the root cause of each and fix them.
<file name="core/commands/slash/built-in-legacy/guide.ts">
<violation number="1" location="core/commands/slash/built-in-legacy/guide.ts:45">
P2: The guide command yields all remaining questions and the completion message in a single run without waiting for user input, so the step‑by‑step interactive flow isn’t actually interactive.</violation>
</file>
Since this is your first cubic review, here's how it works:
- cubic automatically reviews your code and comments on bugs and improvements
- Teach cubic by replying to its comments. cubic learns from your replies and gets better over time
- Ask questions if you need clarification on any suggestion
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
| }; | ||
|
|
||
| // Wait for first answer and continue with remaining questions | ||
| for (let i = 1; i < discoveryQuestions.length; i++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: The guide command yields all remaining questions and the completion message in a single run without waiting for user input, so the step‑by‑step interactive flow isn’t actually interactive.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At core/commands/slash/built-in-legacy/guide.ts, line 45:
<comment>The guide command yields all remaining questions and the completion message in a single run without waiting for user input, so the step‑by‑step interactive flow isn’t actually interactive.</comment>
<file context>
@@ -0,0 +1,76 @@
+ };
+
+ // Wait for first answer and continue with remaining questions
+ for (let i = 1; i < discoveryQuestions.length; i++) {
+ yield {
+ role: "assistant" as const,
</file context>
Summary
This PR adds Guide Mode - a new
/guideslash command that helps beginners learn how to work with AI effectively.Closes #10340
Problem
New developers transitioning to AI-assisted coding struggle with:
Solution
Guide Mode provides a structured, educational onboarding experience through the
/guideslash command.How It Works
Usage:
Discovery Questions:
Example Flow:
Changes
New File:
core/commands/slash/built-in-legacy/guide.tsModified:
core/commands/slash/built-in-legacy/index.tsBenefits
For Users:
For Continue:
Testing
The implementation follows Continue's existing built-in-legacy command patterns and is compatible with:
Example Usage
I've opened issue #10340 describing this feature. This implementation follows Continue's established patterns for built-in slash commands and is ready for review!
Continue Tasks:▶️ 2 queued — View all
Summary by cubic
Adds Guide Mode: a new /guide slash command that walks beginners through five discovery questions to set clear project context and improve follow-up commands. Addresses onboarding gaps and unclear prompts in #10340.
Written for commit ff1815a. Summary will update on new commits.