A compact Agent Skill for highly simplified, rounded, subtly neo-skeuomorphic IP mascot logos.
feat: add product-aware logo direction workflow
s1dashu82330297d137
diff --git a/README.md b/README.mdindex 81760f3..9d543a6 100644--- a/README.md+++ b/README.md@@ -9,7 +9,8 @@ It follows the open Agent Skills format and is designed to work with any compati## What it enforces- One dominant silhouette built from roughly 6–10 basic shapes-- One- or two-color IP artwork on a separate solid background+- Two-color or three-color total palettes, including the background+- Three candidates by default: three distinct IP directions when the subject is open, or three controlled variants when the subject is specified- A quantified restrained-color default: softened chromatic backgrounds, warm neutrals, and explicit silhouette/detail contrast targets- Thick, rounded forms without sharp or fragile details- A 75–85% lower-corner crop with paired identifying features preserved@@ -37,7 +38,13 @@ Ask your AI agent for an IP mascot logo, for example:Create a two-color rounded ghost IP logo on a deep navy background.```-The skill asks for a monochrome or multicolor choice when the request does not already specify one. Multicolor defaults to two IP colors plus one separate background color.+The skill does not ask for a monochrome or multicolor choice by default. It produces one two-color logo with one IP color plus one background, and two three-color logos with two IP colors plus one background. A two-color logo uses background-colored negative space for facial marks rather than introducing a third color.++When the user already names an IP subject, all three candidates explore that subject through controlled variations. When the subject is open, the skill defaults to three genuinely different IP directions tied to different product attributes or brand promises.++If the skill runs inside a product repository, it inspects relevant read-only context before asking questions. A direct logo-generation request with enough product context proceeds immediately. An exploratory request receives three proposed directions first. If the product context is insufficient, the skill asks one consolidated round of background questions, then proposes three directions for confirmation.++Compatible agents may generate the three candidates in parallel with subagents. Codex can use ImageGen when available; other agent environments may use any configured image generator. If no generator is available, the skill asks the user to provide or enable one instead of pretending that an image was generated.When the user does not supply a palette, the skill favors clearly chromatic but restrained backgrounds rather than neon color or muddy gray. It uses OKLCH target bands when numeric control is available, prefers warm off-white with charcoal or deep navy, and keeps the normal design to no more than three semantic colors including the background.diff --git a/SKILL.md b/SKILL.mdindex 9a3a658..233f4f2 100644--- a/SKILL.md+++ b/SKILL.md@@ -1,6 +1,6 @@---name: ip-as-logo-description: Generate highly simplified personified IP mascot logos with Flat-first geometry, rounded heavy forms, and extremely subtle neo-skeuomorphic shading. Use when creating an animal, creature, robot, ghost, plant, object, or other character as a minimal square logo or app-icon artwork, especially when the user wants an oversized corner composition, one- or two-color IP design, and a solid background without an app-icon frame.+description: Generate highly simplified personified IP mascot logos with Flat-first geometry, rounded heavy forms, and extremely subtle neo-skeuomorphic shading. Use when creating an animal, creature, robot, ghost, plant, object, or other character as a minimal square logo or app-icon artwork, including when the agent should infer three distinct IP directions from product-repository context before generating two-color or three-color logo candidates.---# IP as Logo@@ -9,12 +9,24 @@ Create a logo first and a character second. Reduce the subject to a compact symb## Workflow-1. Ask before generating: `这次希望 IP 使用单色设计还是多色设计?` Skip only when the user already specified the color mode. Treat multicolor as two IP colors by default; use more only when explicitly requested.-2. Confirm the subject and solid background color. If the user supplies a background palette, reserve every supplied color for backgrounds only unless they explicitly say otherwise. Never move a background-only color into the IP, facial marks, highlights, or shadows.-3. Abstract the subject using the complexity budget below.-4. Generate each distinct asset with a separate ImageGen call. Do not use existing logos as references when testing prompt-only reproducibility.-5. Inspect the output against every rejection rule. Retry with one targeted correction when practical; never hide a failed constraint with silent post-processing.-6. Preserve the model's native square output. Report the saved path, prompt/color mapping, dimensions, opacity, and any remaining deviation.+1. Parse the request for an explicit IP subject, available product context, and whether the user wants discussion or immediate execution. Do not ask the user to choose a color mode unless they explicitly want to control it.+2. When the user has not specified an IP subject and the current workspace is a product repository, inspect relevant read-only context before asking questions. Prefer the README, product docs, package or app metadata, landing-page copy, manifests, and design tokens. Treat context as sufficient when the product purpose, primary audience, and intended personality can be inferred with reasonable confidence.+3. Route the interaction according to intent and context:+ - For a direct execution request with sufficient product or repository context, do not ask for confirmation. Infer three distinct, product-relevant IP directions and generate them immediately.+ - For an exploratory request, present three concise IP directions first and ask which direction or set the user wants generated.+ - When product context is insufficient, ask one consolidated round of background questions covering what the product does, who it serves, and how it should feel. Do not start a second background questionnaire. After the answer, propose three IP directions and wait for confirmation; if the user delegates the choice, proceed directly.+4. Choose candidate subjects deliberately:+ - When the user explicitly specifies an IP subject, keep that subject across the three candidates and vary only composition, silhouette treatment, secondary color region, or personality emphasis.+ - When the user does not specify an IP subject, use three genuinely different IP subjects or metaphors. Tie each one to a different product attribute or brand promise; do not return three arbitrary animals with no rationale.+5. Produce three candidates by default: candidate A is a two-color logo, while candidates B and C are three-color logos. If the user specifies a color count or number of candidates, follow it instead. Keep required product cues, identifying features, complexity limits, and any supplied palette consistent enough for useful comparison.+6. Determine the available image-generation path before promising output. In Codex, use ImageGen when it is available. In any other agent environment, use an available configured image generator; if none is available, ask the user whether they can provide or enable one. Do not fabricate generated results.+7. If the runtime supports subagents, optionally assign one candidate to each subagent and run them in parallel. Give every subagent the same product brief, shared constraints, and one distinct IP or variation assignment. If subagents are unavailable, generate the candidates through separate image-generation calls or jobs.+8. If the user supplies a background palette, reserve every supplied color for backgrounds unless they explicitly say otherwise. In a two-color logo, allow the background color to reappear only as negative-space facial cutouts, not as a separate painted IP region.+9. Abstract each subject using the complexity budget below. Generate every candidate independently; do not use existing logos or sibling candidates as image references when testing prompt-only reproducibility.+10. Inspect every output against every rejection rule. Retry with one targeted correction when practical; never hide a failed constraint with silent post-processing.+11. Preserve each model's native square output. Label the default set A, B, and C, then report each IP direction and rationale, saved path, prompt/color mapping, dimensions, opacity, and any remaining deviations. Ask which candidate the user wants to refine.++When proposing directions before generation, describe each in one compact line: `<IP subject> — <product connection> — <defining silhouette>`. Do not turn the discovery phase into a long branding workshop unless the user asks for one.## Complexity budget@@ -43,8 +55,10 @@ Create a logo first and a character second. Reduce the subject to a compact symb## Color and canvas-- Use one IP color for monochrome mode, or exactly two IP colors for the default multicolor mode. Reuse those colors for facial marks; do not introduce a third highlight color.-- Add one separate solid background color. Count semantic colors, not lighter or darker shading variants: the normal maximum is two IP colors plus one background color.+- Define color modes by the total semantic colors in the finished logo, including the background:+ - **Two-color logo:** exactly one IP color plus one background color. Form eyes and mouth as negative-space cutouts that reveal the background; do not add a separate facial-feature color.+ - **Three-color logo:** exactly two IP colors plus one background color. Reuse one IP color for facial marks and keep the second IP color in one large continuous region.+- Do not count lighter or darker shading variants as additional semantic colors when they remain within the limits below. Use more than three semantic colors only when the user explicitly requests them.- Prefer a warm off-white such as cream or parchment over pure white, and charcoal or deep navy over pure black. Use pure black or white when the user requests it or when it provides the clearest result.- Prefer backgrounds with a clear hue and restrained saturation: terracotta, muted coral, dusty plum, sage or forest green, glaucous or denim blue, ochre, and similar softened colors. Avoid neon, electric, candy-bright, and primary-color intensity unless explicitly requested. Also avoid reducing chroma until the color reads gray, muddy, or lifeless.- Evaluate color in OKLCH when numeric control is available; do not use HSL saturation as the primary quality test. Use these default target bands:@@ -53,7 +67,7 @@ Create a logo first and a character second. Reduce the subject to a compact symb- cream or parchment background: `L 0.92–0.98`, `C 0.01–0.06`.- Treat `C < 0.05` on a chromatic background as likely too gray and `C > 0.20` as likely too saturated. These are defaults, not overrides for a user-supplied color.- Maintain at least `3:1` relative-luminance contrast between the dominant IP silhouette and the background, and at least `4.5:1` between small facial marks and the surface beneath them. If the requested palette misses these targets, preserve the requested background and adjust the IP colors first.-- Build a two-color IP from large continuous regions such as a face mask, hat, shell, belly, or visor. Do not scatter the second color into small decorative patches.+- In a three-color logo, build the second IP color from a large continuous region such as a face mask, hat, shell, belly, or visor. Do not scatter it into small decorative patches.- Keep highlight and shade variants in the same hue family: shift OKLCH hue by no more than about `5°`, chroma by no more than `0.02`, and lightness by roughly `±0.03–0.05` around the base color. Keep total peak-to-peak lightness variation at or below `0.10`.- Keep the background visually solid. Across unobstructed background areas, target no more than about `0.02` OKLCH lightness variation and `0.01` chroma variation; reject visible vignettes or directional gradients. Report model drift rather than silently flattening it in post-processing.- Require a fully opaque, edge-to-edge background. Do not generate transparency, an extra white border, outer frame, card, container, rounded App-icon mask, or artificially rounded image corners.@@ -62,21 +76,22 @@ Create a logo first and a character second. Reduce the subject to a compact symb## Prompt skeleton```text-Create one highly simplified IP mascot logo, not a character illustration.-Background: fully opaque edge-to-edge solid <background>; this color is background-only.+Create one highly simplified IP mascot logo candidate, not a character illustration.+Background: fully opaque edge-to-edge solid <background>; use this color only for the background, except where two-color mode reveals it through negative-space facial cutouts.Subject: <subject> reduced to one rounded continuous silhouette and one defining feature.Complexity: 6–10 basic shapes, at most two internal color regions, only two eyes and one mouth, readable at 32 × 32.-IP palette: exactly <one/two> colors, excluding every background-only color.+Color count: exactly <two/three> semantic colors in the complete logo, including the background. For two colors, use one IP color and background-colored negative-space facial cutouts. For three colors, use two IP colors and keep the second IP color in one continuous region.Color behavior: softened but clearly chromatic background; warm off-white and charcoal/deep navy are preferred neutrals; silhouette/background contrast >= 3:1 and facial-detail contrast >= 4.5:1; keep shading in the same hue family.Composition: upright, emerging from the lower-left or lower-right, filling 75–85%; show both paired identifying features.Style: Flat-first with one diffuse internal highlight and one broad internal shade, 8–12% tonal variation, visible but extremely subtle.-Forbid: illustration detail, repeated anatomy, thin lines, sharp points, third colors, pure flatness, strong 3D, clay, plastic, toy rendering, texture, gloss, bevel, external shadow, text, border, transparency, App mask, or rounded canvas corners.+Forbid: illustration detail, repeated anatomy, thin lines, sharp points, colors beyond the selected total count, pure flatness, strong 3D, clay, plastic, toy rendering, texture, gloss, bevel, external shadow, text, border, transparency, App mask, or rounded canvas corners.```## Reject the output when- It reads as an illustration rather than a symbol, exceeds the complexity budget, or fails at small size.-- A background-only color appears inside the IP, the background is transparent, or the palette exceeds the selected color mode.+- The palette exceeds the selected total color count; a two-color logo adds a separate facial-feature color; or a three-color logo scatters its second IP color into decorative patches.+- A background-only color appears as a painted IP region rather than a negative-space cutout, or the background is transparent.- A default chromatic background is neon or candy-bright, or is desaturated until it reads gray or muddy; small facial marks lack clear contrast.- Any contour is thin, sharp, spiky, or visually fragile.- An ear, horn, wing, gill, bell, or other paired identifier is missing or cropped.