# Group documents into themes and build a knowledge map

Groups scattered documents or information into clear themes and maps how topics connect, which document covers what, and where gaps are.

- Topic: Research & Summaries
- Framework: Few-Shot
- Level: Standard
- Tags: Plan, Fill-in Template
- Source: https://www.thinkwithprompt.com/prompts/group-documents-into-themes-and-build-a-knowledge-map

## Prompt

```text
Organize the information below into themes and build a knowledge map.

**Material:** [PASTE documents, notes, or summaries - label each one, e.g. "Doc 1: Pricing policy 2024"]
**Purpose:** [e.g. "understand everything we know about our customers", "prepare to take over a project", "plan a knowledge base"]
**Audience:** [who will use the map]

Steps:
1. Identify the main themes (usually 5-10). Name each in plain words and define it in one sentence.
2. Assign every key piece of information to a theme. If something fits two themes, place it in the best one and cross-reference it.
3. Show how themes relate (depends on, causes, contradicts, is part of).

Return:
1. **Theme summary** - each theme with a 2-3 sentence synthesis of what the material says.
2. **Knowledge map** - an indented outline: Theme > Subtopic > key points, with the source document for each.
3. **Coverage table:** | Theme | Documents that cover it | Depth (thorough / partial / mentioned) | Last updated if known |
4. **Connections** - the most important relationships between themes.
5. **Gaps and overlaps** - themes with thin or no coverage, and themes covered repeatedly.
6. **Optional diagram code** - a simple Mermaid mind map I can paste into a diagram tool.

Use only the material provided; don't add knowledge from outside it unless labeled (outside context).
```

## What to fill in

- who will use the map

Free to copy and use. From ThinkWithPrompt (https://www.thinkwithprompt.com/), a library of 2,663 curated AI prompts.
