feat: add Meta-Prompter as a built-in default mode#11784
Draft
roomote[bot] wants to merge 1 commit intomainfrom
Draft
feat: add Meta-Prompter as a built-in default mode#11784roomote[bot] wants to merge 1 commit intomainfrom
roomote[bot] wants to merge 1 commit intomainfrom
Conversation
Adds a new "Meta-Prompter" mode to DEFAULT_MODES that helps users refine vague, underspecified prompts into precise, actionable instructions for Roo's specialized modes. The mode follows a structured 5-step workflow: 1. Interview the user with targeted clarifying questions 2. Read relevant files for concrete context 3. Draft a refined prompt for the target mode 4. Explain what was vague and what assumptions were made 5. Offer one revision round Tool groups: read, mcp (read-only access with MCP support) Closes #11783
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related GitHub Issue
Closes: #11783
Description
This PR attempts to address Issue #11783 by adding a new built-in Meta-Prompter mode to Roo Code. Feedback and guidance are welcome.
The Meta-Prompter mode helps users refine vague, underspecified prompts into precise, actionable instructions optimized for Roo's specialized modes (Code, Debug, Architect, Ask, Orchestrator).
Key implementation details:
DEFAULT_MODESinpackages/types/src/mode.tswith slugmeta-prompter["read", "mcp"](read-only access with MCP support, matching Ask mode's pattern)Design choice: The YAML only specified
["read"]for tool groups, but I added"mcp"to match Ask mode's pattern, since MCP access allows querying external resources when refining prompts.Test Procedure
shared/__tests__/modes.spec.ts(45 tests)shared/__tests__/modes-empty-prompt-component.spec.ts(7 tests)core/prompts/__tests__/system-prompt.spec.ts(11 tests)Pre-Submission Checklist
Documentation Updates
Additional Notes
The mode definition is based on the YAML file attached to issue #11783 by @votrinhan88, with the updated string formatting fixes from their follow-up comment.
Interactively review PR in Roo Code Cloud