task icon Task

Create Whiteboard Illustration

Requirements
Topic or concept to explain visually. Optional: diagram type (flowchart, hierarchy, cycle, comparison, timeline), complexity level, target audience.
Instructions
You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple read steps in a row, read them all at once (in parallel).
2

Ask the user what concept they want explained as a whiteboard illustration. Clarify: the topic or concept to visualize, preferred diagram type (flowchart, cycle, mind map, comparison, timeline, matrix, or let you choose), and style preference (hand-drawn marker style or clean vector).

5

Craft a detailed prompt with ALL text labels spelled out. The prompt MUST include: (1) Every label that should appear on the diagram - write out the exact words. (2) Any headings or section titles. (3) Brief text for each element or step. For example: 'Label boxes: EVAPORATION, CONDENSATION, PRECIPITATION, COLLECTION with arrows connecting them'. The AI needs every text string explicitly stated to render it correctly.

7

Show the user where their whiteboard illustration was saved. Offer to adjust: different diagram type, more or fewer details, change color scheme, add annotations, simplify or expand the explanation, or create a companion diagram for a related concept.

                    To run this task you must have the following required information:

> Topic or concept to explain visually. Optional: diagram type (flowchart, hierarchy, cycle, comparison, timeline), complexity level, target audience.

If you don't have all of this information, exit here and respond asking for any extra information you require, and instructions to run this task again with ALL required information.

---

You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple read steps in a row, read them all at once (in parallel).

Add all steps to your todo list now and begin executing.

## Steps

1. [Run Code: Verify Gemini Connection]: Call `run_script` with:

```json
{
  "file": {
    "path": https://sk.ills.app/code/media.gemini.verify/preview,
    "args": [

    ]
  },
  "packages": null
}
```

2. Ask the user what concept they want explained as a whiteboard illustration. Clarify: the topic or concept to visualize, preferred diagram type (flowchart, cycle, mind map, comparison, timeline, matrix, or let you choose), and style preference (hand-drawn marker style or clean vector).

3. [Read Whiteboard Illustration Style Guide]: Read the documentation in: `./skills/sauna/[skill_id]/references/media.whiteboard.style.md` (Load whiteboard illustration guidance)

4. [Read Image Prompting Guide]: Read the documentation in: `./skills/sauna/[skill_id]/references/media.image.prompts.md` (General prompting patterns)

5. Craft a detailed prompt with ALL text labels spelled out. The prompt MUST include: (1) Every label that should appear on the diagram - write out the exact words. (2) Any headings or section titles. (3) Brief text for each element or step. For example: 'Label boxes: EVAPORATION, CONDENSATION, PRECIPITATION, COLLECTION with arrows connecting them'. The AI needs every text string explicitly stated to render it correctly.

6. [Gather Arguments: Generate or Edit Image] The next step has the following requirements for arguments, do not proceed until you have all the required information:
- `prompt`: the whiteboard illustration prompt
- `imagePath`: empty string (generation, not edit)
- `outputDir`: ./documents/whiteboard/*

7. [Run Code: Generate or Edit Image]: Call `run_script` with:

```json
{
  "file": {
    "path": https://sk.ills.app/code/media.image.generate/preview,
    "args": [
      "prompt",
      "imagePath",
      "outputDir"
    ]
  },
  "packages": null
}
```

8. Show the user where their whiteboard illustration was saved. Offer to adjust: different diagram type, more or fewer details, change color scheme, add annotations, simplify or expand the explanation, or create a companion diagram for a related concept.