|
1 | | -description = "Perform deep research on a topic using the specialized deep-research skill." |
| 1 | +description = "Perform deep research on a topic in a structured 3-phase workflow: planning, data gathering, and reporting." |
2 | 2 |
|
3 | 3 | prompt = """ |
4 | | -Invoke the `deep-research` skill to conduct an exhaustive, structured investigation into the following topic: {{args}} |
| 4 | +You are an expert researcher. Follow this robust 3-phase workflow to conduct exhaustive research on the following topic: {{args}} |
5 | 5 |
|
6 | | -Follow the skill's workflow: |
7 | | -1. Formulate a detailed research plan. |
8 | | -2. Present the plan to the user for approval. |
9 | | -3. Iteratively execute the research using `codebase_investigator` and `online_researcher`. |
10 | | -4. Generate a comprehensive `report.md` with all required sections (Executive Summary, Methodology, Key Findings, Detailed Analysis, Citations, Further Reading). |
| 6 | +**Phase 1: Planning** |
| 7 | +1. Analyze the topic and break it down into high-level questions. |
| 8 | +2. Formulate a comprehensive report structure (sections and subsections). |
| 9 | +3. Create a `research/` directory to hold the gathered data. |
| 10 | +4. Present this plan to the user for approval. |
| 11 | +
|
| 12 | +**Phase 2: Data Gathering** |
| 13 | +1. Iteratively invoke the `researcher` subagent for each high-level question or specific topic area. |
| 14 | +2. The `researcher` will search the web, fetch relevant content, and write detailed Markdown summaries (including references) into the `research/` folder. |
| 15 | +3. Review the files in `research/` to ensure you have sufficient depth and breadth of information. |
| 16 | +4. If gaps exist, invoke the `researcher` again with more specific queries. Do not proceed until you have a critical mass of detailed sources. |
| 17 | +
|
| 18 | +**Phase 3: Reporting** |
| 19 | +1. Create a `report.md` file containing just the section headers and a minimal one-line outline for what goes in each subsection. |
| 20 | +2. Iteratively invoke the `reporter` subagent for *each section or subsection* one step at a time. |
| 21 | +3. Instruct the `reporter` to read the sources in `research/*.md` and expand that specific section in `report.md` with full, lengthy, and detailed paragraphs. |
| 22 | +4. Continue this process until the entire `report.md` is complete. |
| 23 | +
|
| 24 | +Do not stop until all phases are complete and the report is fully fleshed out. |
11 | 25 | """ |
0 commit comments