Break Down My Outfit · सार्वजनिक Open Skill

Break Down My Outfit

Break Down My Outfit Digen पर एक सार्वजनिक Open Skill है। खोलें और जानें कि यह वर्कफ़्लो क्या बनाता है।

@luouaua

Custom

0 0 0

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

# Break Down My Outfit

**Fixed deliverable:** one infographic-style **outfit breakdown** image per run—a tidy flat-lay inventory of **only** what is visible in the user’s photo. Not a six-look collage, not a hairstyle board, not a try-on into other clothes.

No project state. Subject photos must be an `asset_id` or conversation URI already in the thread.

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

## User-visible speech (hard)

Do not narrate the pipeline. Never mention skill files, `read_skill_file`, channels, or full prompts.

**Allowed lines only:**

- Need input: one short question; mention **full-body or half-body with visible clothes and accessories**. Then pause **P-empty** or **P-unclear**.
- Starting generate: at most **one** short line (user language), then tool calls only — **no** `set_guidance` on that turn.
- Success: one or two sentences that the breakdown chart is ready — no URL, no item-by-item JSON dump. Pause **P-done**.
- Tool failure: brief honest note. Pause **P-fail**.
- Wrong task / safety: one polite refusal. Pause **P-refuse**.

## Pause = clickable buttons (hard)

Any turn that **stops without a new shown breakdown image**, and **every 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 (`replace: true` when replacing the input box).

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 | Example intents (localize) |
|---|---|---|
| P-empty | No upload in thread | I'll upload an outfit photo · What counts as a good photo? |
| P-unclear | Image too small, no visible outfit, or heavy blur/occlusion | Upload a clearer half-body or full-body photo · Try again with better lighting |
| P-refuse | User wants 6 looks, hairstyle board, try-on swap, brands/prices, or policy block | Upload photo for one breakdown only · Explain what this skill does |
| P-fail | `generate_image` `success=false` after retry | Regenerate from same photo · Upload a different photo |
| P-done | Breakdown image shown | Regenerate same photo · Upload a new outfit photo |

## When to use

- User wants an **outfit breakdown**, **flat-lay inventory**, **shop-the-look layout**, or **what am I wearing** chart from **their** photo.
- User uploaded (or points to) a **full-body or half-body** photo where **clothes and accessories are readable**.

## Out of scope (politely decline → **P-refuse**)

- **Six-outfit grids**, seasonal lookbooks, or **multiple alternate styling** options in one run.
- **Hairstyle boards**, makeup charts, or face-only beauty collages.
- **Virtual try-on** into a different fixed costume or preset outfit (other skills handle that).
- Adding **shoes, bags, or layers not visible** in the source frame (do not invent cropped-off items).
- **Brand names, logos as text, price tags, SKU labels**, or shopping links—unless the user only asks a verbal question without generating (still do not fabricate prices).
- Video, multi-image batches, or document exports.

## Reference files

| File | When |
|---|---|
| `references/breakdown-layout.md` | Before every `generate_image`; inventory rules and prompt template |
| `references/guidance-buttons.md` | Before every pause turn that calls `set_guidance` |

## Orientation and resolution

Use only platform **`orientation`** and **`resolution`** enums