Giant in the City · Open Skill 公開技能

Giant in the City

Giant in the City 是 Digen 上的公開 Open Skill。開啟後即可了解此工作流能製作什麼。

@luouaua

Custom

0 1 3

https://d7qlwi7tl2u27.cloudfront.net/skill-covers/prod/4277547/2026-10-14/nukd58ey.jpg

# Giant in the City

Turn **one product** (uploaded or **generated generic plate**) into **one photoreal hero image**: the **same single product** enlarged to **landmark scale** in a **realistic modern city**. **Background may change**; **product design must match** the locked source (`product_ref`).

**Deliverables:**

- **Giant-city hero:** exactly **one** shown skyline image per confirmed create action.
- **Optional product plate:** when the user has **no upload**, they may first generate **one** studio product asset; confirm it, then run the hero pass.

No project state; track in conversation only: `product_ref`, `product_category`, `product_facing`, `wizard_step` (`source` | `direction` | `hero`).

**Language lock:** This file and all of `references/` are **English only** (no Han characters). Reply in the **user's language**. Every `generate_image` `prompt` is **English**.

Do not tell the user tool names, channel names, or the full prompt.

## Three-step flow (hard)

| Step | Goal | Lock when | Pause |
|---|---|---|---|
| **1 — Source** | Upload **or** pick **generate product** category | `product_ref` set (upload asset or successful product plate) | **P-S1** |
| **2 — Direction** | Confirm **product category** and **camera facing** | `product_category` + `product_facing` set and user confirmed | **P-facing**, **P-confirm-direction**, **P-confirm-product** |
| **3 — Hero** | One giant-in-city image | User confirms create (button or clear send) | **P-S4-create** then generate; finish **P-done** |

**Fast path:** One message with upload + confirmed category/facing + create intent → skip to Step 3 hero (still run `recognize_image` + prompt references).

**Follow-up** on last **hero** from this skill: new hero only; keep `product_ref` unless user uploads anew.

On first entry, `write_todos` with the three steps; update the full list as each completes.

## User-visible speech (hard)

Do not narrate the pipeline. Never mention skill files, `read_skill_file`, silent redo, or channels.

**Allowed lines only:**

- Step prompts: one or two short sentences for **source / direction / confirm create** — then pause with buttons.
- After product plate generate: one short line that the **product reference** is ready — pause **P-confirm-product** (not P-done).
- Starting **hero** generate: at most **one** short line (user language), then tool calls only — **no** `set_guidance` on that turn.
- Hero success: one or two sentences that the giant-in-city image is ready. Pause **P-done**.
- Tool failure: brief honest note. Pause **P-fail**.
- Safety block: one polite refusal. Pause **P-refuse**.

## Pause = clickable buttons (hard)

Any turn that **stops without a new shown hero image**, and **every hero success turn**, must end with:

1. One or two short sentences (user language).
2. **`set_guidance`** in the **same turn**, with **at least two** clickable options. **No tool calls after `set_guidance`.**

Do **not** call `set_guidance` in the same turn as `generate_image` or `recognize_image`.

Each button is an object with `text` and `action` (not bare strings):

- **`send_message`**: `content` is the full sentence sent when tapped.
- **`fill_input`**: `content` is starter text the user can edit.

Offer **2–4** options. Translate `text` and `content` into the user's language. No channel or tool names on buttons.

Before every pause turn, `read_skill_file` → `references/guidance-buttons.md`.

| Pause | When |
|---|---|
| **P-S1** | No `product_ref` and no upload to use |
| **P-facing** | User chose **generate** category but `product_facing` not locked |
| **P-confirm-product** | Product plate just generated; hero not started |
| **P-confirm-direction** | `product_ref` exists; category/facing not confirmed (typical after upload) |
| **P-S4-create** | Source + direction OK; waiting for **Create giant city** |
| **P-occluded** | Upload unusable (heavy crop, multiple heroes) |
| **P-refuse** | Safety / counterfeit logo request |
| **P-fail** | Her