Create Treasure Map
Requirements
Address, place name, or coordinates for the map center.
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 for the location they want to turn into a treasure map. Get a specific address, landmark, or city name. Also ask if they want a specific spot marked with X, any particular landmarks highlighted, or a custom title.
6
Craft a detailed edit prompt to transform the captured map into a treasure map. Use the style guide: aged parchment, hand-drawn elements, compass rose, decorative borders. Include any user-requested customizations (X marks, titles, specific landmarks).
8
Show the user where their treasure map was saved. Offer to adjust the style (more aged, different borders, add/remove elements) or create another map for a different location.
To run this task you must have the following required information:
> Address, place name, or coordinates for the map center.
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 for the location they want to turn into a treasure map. Get a specific address, landmark, or city name. Also ask if they want a specific spot marked with X, any particular landmarks highlighted, or a custom title.
3. [Gather Arguments: Capture Static Map] The next step has the following requirements for arguments, do not proceed until you have all the required information:
- `location`: the address or location
- `zoom` (default: "13"): 13
- `style` (default: "street"): street
- `outputDir`: ./documents/treasure-maps/*
4. [Run Code: Capture Static Map]: Call `run_script` with:
```json
{
"file": {
"path": https://sk.ills.app/code/geo.maps.capture/preview,
"args": [
"location",
"zoom",
"style",
"outputDir"
]
},
"packages": null
}
```
5. [Read Treasure Map Style Guide]: Read the documentation in: `./skills/sauna/[skill_id]/references/media.treasuremap.style.md` (Load treasure map aesthetic guidance)
6. [Read Image Prompting Guide]: Read the documentation in: `./skills/sauna/[skill_id]/references/media.image.prompts.md` (General edit prompting patterns)
7. Craft a detailed edit prompt to transform the captured map into a treasure map. Use the style guide: aged parchment, hand-drawn elements, compass rose, decorative borders. Include any user-requested customizations (X marks, titles, specific landmarks).
8. [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 transformation prompt
- `imagePath`: absolute path to the captured map image
- `outputDir`: ./documents/treasure-maps/*
9. [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
}
```
10. Show the user where their treasure map was saved. Offer to adjust the style (more aged, different borders, add/remove elements) or create another map for a different location.