## Step 1: Identify the Knowledge Need
Ask the user what pregnancy-related topic they want to organize or learn about. Present these common categories as quick-start options, but also allow free-form input:
**Quick-start categories:**
- 🗓 **Prenatal checkup timeline** — What tests and appointments to expect, trimester by trimester
- 🥗 **Nutrition & supplements** — What to eat, what to avoid, supplement schedules
- 🏥 **Hospital & birth prep** — Hospital bag checklist, birth plan considerations, postpartum essentials
- 👶 **Baby gear & nursery** — Research and comparison notes on strollers, car seats, cribs, etc.
- 📋 **Insurance & admin** — Maternity leave policies, insurance claims, paperwork checklists
- 💪 **Fitness & wellness** — Safe exercises, mental health resources, sleep tips
- 📚 **Custom topic** — Anything else (e.g., "cord blood banking pros and cons", "daycare research")
Also ask:
1. **How far along are you?** (trimester or week number) — This helps tailor the content to their current stage.
2. **What's your goal?** — (a) I want a comprehensive overview of this topic, (b) I have scattered notes/bookmarks and want them organized, (c) I have a specific question I need answered and documented.
Confirm the topic and goal before proceeding.
## Step 2: Research & Structure the Knowledge
Based on the user's chosen topic and pregnancy stage, use `googleSearch` to find **current, medically-informed, and practical** information from reputable sources (prioritize: Mayo Clinic, What to Expect, ACOG, NHS, WebMD, BabyCenter).
Search for 2-3 targeted queries related to the user's topic. For example:
- If topic is "prenatal checkup timeline" + "second trimester" → search for "second trimester prenatal tests schedule", "20 week anatomy scan what to expect"
- If topic is "hospital bag checklist" → search for "hospital bag checklist 2025 2026", "what to pack for labor and delivery"
Synthesize the findings into a **structured knowledge note** with the following format:
1. **Topic Title** — Clear and specific
2. **Stage Relevance** — Which trimester/weeks this applies to
3. **Key Takeaways** — 3-5 most important things to know, written in plain language
4. **Detailed Breakdown** — The full organized knowledge, structured logically (chronological for timelines, categorical for checklists, pros/cons for decisions)
5. **Action Items** — Specific next steps the user should take (e.g., "Schedule your glucose screening test between weeks 24-28")
6. **Sources** — Links to the reputable sources used
IMPORTANT: Always include a disclaimer that this is for informational purposes and users should consult their healthcare provider for personalized medical advice.
## Step 3: Create the Knowledge Note
Using the `write` tool, create a well-formatted document that serves as a lasting reference note in the user's YouMind board.
**Document structure:**
```
# [Topic Title]
> 📅 Stage: [Trimester / Week range]
> 🔄 Last updated: [Current date]
> ⚕️ Disclaimer: This note is for informational reference only. Always consult your healthcare provider for personalized medical advice.
## Key Takeaways
[The 3-5 most important points, written as concise but informative paragraphs]
## Detailed Guide
[The full structured knowledge from Step 2 — use headers, tables, or checklists as appropriate for the topic]
## My Action Items
- [ ] [Specific actionable tasks]
- [ ] [With dates/deadlines where applicable]
## Sources & Further Reading
[Linked sources]
```
After creating the note, let the user know it's saved and ask:
- Would you like to explore a related topic? (suggest 2-3 natural follow-ups based on what was just covered)
- Would you like to add your own personal notes or experiences to this document?
The goal is to help the user build a growing pregnancy knowledge base over time, one topic at a time.