This skill should be used when the user asks to "build a research prompt", "create a deep research query", "enhance my research question", "structure a research prompt", "help me write a research prompt", or needs help transforming research topics into comprehensive prompts for product comparisons, technical documentation, academic literature, market analysis, or any domain requiring structured deep research.
Expert system for constructing high-quality research prompts through adaptive interviewing and best-practice application.
When user provides a topic, immediately categorize it:
Ask questions ONE AT A TIME. Wait for the response before proceeding.
Generate questions that directly probe the specific research topic. Use the category examples below as inspiration, not scripts. Each question should surface something the user has not yet specified about the actual topic.
If the AskUserQuestion tool is available, use it to provide a more structured interview experience with clear options. This enhances usability but is not required - fall back to conversational questions if the tool is unavailable.
When to use AskUserQuestion:
When to use conversational questions:
Before proceeding with interview questions, clarify when:
"What specific aspect of [TOPIC] are you most interested in exploring?"
Use these as inspiration only - adapt questions to the actual topic at hand:
Product/Service examples:
Example with AskUserQuestion (if available):
Technical examples:
Example with AskUserQuestion (if available):
Academic examples:
Example with AskUserQuestion (if available):
Business examples:
General examples:
"Any specific angle or outcome you haven't mentioned that should shape this research?"
Use this template structure:
# Research Objective
[Clear statement synthesized from topic and clarifications]
# Context and Scope
- Purpose: [Why this research matters]
- Boundaries: [Time, geography, domain limits]
- Focus Areas: [3-5 specific aspects to emphasize]
# Research Requirements
## Investigation Depth
Primary questions:
1. [Main research question]
2. [Key sub-question 1]
3. [Key sub-question 2]
Secondary considerations:
- [Related area if relevant]
- [Adjacent topic to explore]
Explicitly exclude: [What NOT to research]
## Evidence Standards
- Source types: [Academic, industry, user-generated, etc.]
- Recency: [How current sources must be]
- Credibility: [Minimum authority level]
- Citations: [How to reference sources]
## Analysis Framework
[INSERT CATEGORY-SPECIFIC FRAMEWORK - see below]
## Output Structure
### Required Sections:
1. Executive Summary (3-5 key findings)
2. Detailed Analysis by Subtopic
3. Supporting Evidence with Citations
4. Practical Implications
5. Confidence Levels and Limitations
6. Further Research Needed
### Format Requirements:
- Hierarchical headings for navigation
- Data visualization descriptions where helpful
- Balance depth with readability
- Include both synthesis and details
# Quality Instructions
## Reasoning Approach
- Think step-by-step through each research aspect
- Build from foundational understanding to nuances
- Explicitly address source contradictions
- Validate through multiple independent sources
## Critical Evaluation
- Cross-reference all major claims
- Distinguish facts from interpretations
- Note confidence levels for findings
- Acknowledge information gaps
[Additional topic-specific instructions from interview]
Insert appropriate framework based on category:
## Analysis Framework
- Feature comparison matrix across top options
- Price-performance analysis
- Real user experience synthesis
- Expert review aggregation
- Long-term value assessment
- Common issues and solutions
## Analysis Framework
- Implementation complexity assessment
- Performance and scalability analysis
- Code examples and patterns
- Best practices vs anti-patterns
- Tool ecosystem and dependencies
- Migration and maintenance considerations
## Analysis Framework
- Theoretical foundations and evolution
- Methodological approaches comparison
- Key findings synthesis across studies
- Debates and controversies mapping
- Research gaps identification
- Future direction assessment
## Analysis Framework
- Market dynamics and size
- Competitive landscape mapping
- Customer segment analysis
- Growth drivers and barriers
- Risk and opportunity assessment
- Strategic recommendations
## Analysis Framework
- Historical context and evolution
- Multiple perspective comparison
- Cultural and societal impacts
- Current state assessment
- Future implications
- Related topic connections
For complete example prompts across all categories, see references/example-prompts.md.
For advanced prompting techniques (CoT, self-consistency, role-based framing), see references/prompt-techniques.md.
Apply these only when directly relevant to what the user discussed. Do not add enhancements speculatively.
Add: "Begin by establishing clear definitions and scope based on authoritative consensus, then proceed with focused analysis."
Add: "Present multiple viewpoints with supporting evidence. Clearly distinguish between consensus, debate, and speculation."
Add: "Note the recency of this domain. Prioritize latest developments while acknowledging rapid change and limited long-term data."
Add: "Develop systematic comparison criteria before analysis. Ensure fair, parallel evaluation across all options."
Add: "Include practical examples, common gotchas, and real-world considerations beyond theoretical knowledge."
Before generating the final prompt, first output a summary of what was discussed:
"Based on the discussion, the prompt will focus on:
Then, if AskUserQuestion is available:
Use it to confirm next steps:
If AskUserQuestion is not available:
Ask conversationally: "Anything to add or remove before generating it?"
After confirmation, preface final prompt with: "Here's your enhanced research prompt. Copy and use this for comprehensive deep research:"
[Complete enhanced prompt in code block for easy copying]
Before outputting, verify the prompt includes:
To validate the generated prompt contains all required sections, run:
python scripts/validate_prompt.py prompt.txt
The validator checks for required sections, recommended elements, and provides a quality score. Use this before delivering the final prompt to ensure completeness.