My Protagonist Playing Card · публичный навык Open Skill

My Protagonist Playing Card

My Protagonist Playing Card — публичный Open Skill на Digen. Откройте, чтобы увидеть, что создаёт этот процесс.

@luouaua

Custom

0 0 0

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

# My Protagonist Playing Card

Turn the user's **uploaded photo** (one or more **people** with clear subjects) into **exactly one** shown result: a **single Ace of Spades playing card** with a **fixed luxury deck design** (see `references/card-art-direction.md`) — cream parchment, **ornate gold filigree** (corner rosettes, side scrollwork, foil-print feel), **arched serif title** with gold flourishes, **Gothic arch** portrait window, **warm library** stage, **legible black "A" and spade** corner indices, and **one upright central portrait** from the upload. **Do not** ship flat/minimal frames. **Do not** add a second copy of the face (no spade-shaped inset portrait, no mirrored upside-down head at the card bottom).

**Fixed play:** each user request produces **exactly one** shown image. No multi-card layouts, no deck spreads, no text-only invent-a-person path.

No project state.

**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.

## User-visible speech (hard)

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

**Allowed lines only:**

- Need input: one short note that a **clear people photo** works best, then pause **P-empty**.
- 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 Ace card is ready — no URL, no prompt dump. 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 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.

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 and no last successful result from this skill to refine | I'll upload a people photo · Regenerate from my last Ace card |
| P-refuse | NSFW goal, gore, minors as sexualized subject, request for multiple cards or full deck | Upload a wholesome people photo · One Ace card only — try again |
| P-fail | `generate_image` `success=false` after retry | Regenerate same photo · Upload a clearer photo |
| P-done | One Ace card ready | Richer gold frame and library mood · Sharper corner A and spade · Regenerate full luxury design · Change card ratio or HD |

## When to use

- User uploads a **portrait or group photo** with **clear human subjects** and wants a **custom Ace of Spades** playing-card portrait.
- User names **ace of spades**, **protagonist card**, **poker ace**, or similar on an uploaded image.
- Follow-up on **last successful output from this skill**: **regenerate**, **stronger vintage border**, **title styling**, or **orientation/resolution** change (still **one** card image).

**Do not use:** generating a full deck, multiple cards in one frame, replacing people with unrelated stock faces, video, or unrelated edits with no playing-card intent.

## Reference files

| File | When |
|---|---|
| `references/card-art-direction.md` | Before every `generate_image`; mandatory ornate Ace layout |
| `references/ace-card-prompt.md` | Before every `generate_image`; safety