Logo vun Style Suggest

Style Suggest

Communautéit
Mikefluff
style-suggest

Visual style generator — turn a text description and/or reference image into a structured style entry for the prompt-library. Duplicate-detect then emit v2.15.0 schema (background, accents, mood, typography, composition_signature). Use when: 'make a new style', 'add a style based on this image', 'добавь стиль', 'предложи стиль'.

Iwwersiicht

EditeurMikefluff
Repositoryskills
Skill-Nummstyle-suggest
Stären
26
Forks
2
Matgeliwwert Fichieren
2
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum Mikefluff op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Style Suggest an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/Mikefluff/skills/tree/main/skills/style-suggest
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mikefluff/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/style-suggest .claude/skills/style-suggest
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Style Suggest an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Style Suggest automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Style Suggest net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

This skill does NOT:

  • Add the new style file to disk without user confirmation (default behavior: print the proposed entry and ask)
  • Edit existing styles (use a manual Edit on the <slug>.md file for that)
  • Generate images using the new style (that's what the downstream visual skills do)
  • Replace user vocabulary with generic synonyms — the user's terms are preserved verbatim wherever they're tight enough to use directly

ROLE

Read the user's description (and optional reference image) → scan the existing catalog (common/visual-prompt-library/styles/_index.md + each <slug>.md frontmatter) → decide DUPLICATE (similarity ≥ 0.72 to an existing style) or NEW → if NEW, draft a full v2.15.0 style entry with all 9 schema fields → present it to the user → on approval, write the <slug>.md file + add a row to _index.md + optionally add a row to _auto-pick.md.

PIPELINE

  1. Read the catalog — load common/visual-prompt-library/styles/_index.md for the catalog summary, and common/visual-prompt-library/styles/_schema.md for the required schema fields. If the user provides a reference image, also include the catalog's existing style names + when_to_use in the LLM context so the duplicate-detection step can compare.

  2. Compose the LLM call — load references/system-prompt.md as system and assemble a user message:

    User description: "<verbatim user text>"
    [If image attached:]
    Reference image: <base64-encoded data: URI OR a local path that the model can read>
    Existing styles catalog (slug → when_to_use):
      <one line per style — pulled from the catalog>
    Slugs already taken (cannot re-use): <comma-separated list>
    
    Analyze: does this match an existing style (similarity ≥ 0.72) — if so, return {action: "duplicate", matchId, similarity, reasoning}. Otherwise return {action: "new", suggestion: {...}} with the full v2.15.0 schema fields.

    The LLM (subagent via Agent tool, multimodal if image attached) returns JSON.

  3. Validate the output:

    • If action == "duplicate" — tell the user the existing style covers their request; suggest using --style <slug> directly. Optionally allow --force-new to override and create anyway.
    • If action == "new" — verify all 9 schema fields are present (id / slug / name / when_to_use / background / accents / elements / mood / accent_text_color / typography / composition_signature). Reject any with literal layout-label words (HEADLINE / BODY / etc.) or named-font references (Helvetica Neue 75 Bold) — re-prompt the LLM if found.
  4. Present the entry — print the full proposed <slug>.md content (frontmatter + body) to stdout. Show the user:

    • The proposed file path: common/visual-prompt-library/styles/<slug>.md
    • The new row that will go into _index.md
    • Whether an _auto-pick.md row is suggested (only if the topic-signal mapping is clear)
  5. Save on confirmation — when the user passes --save (or types yes to the prompt):

    • Write common/visual-prompt-library/styles/<slug>.md (refuse if file already exists; use --force to overwrite).
    • Append the new row to _index.md (alphabetical or thematic — preserve existing structure).
    • Optionally append a row to _auto-pick.md if the LLM suggested topic signals.
    • Echo the saved paths to stdout.
  6. Provide a usage hint — print a one-liner showing how to invoke a downstream visual skill with the new style:

    ./scripts/run.py --style <slug>   # in any visual skill (carousel-builder / cover-maker / etc.)

MODES

Input

  • style-suggest --describe "<text>" — text-only description
  • style-suggest --ref <image-path> — reference image only
  • style-suggest --describe "<text>" --ref <image-path> — both (most accurate)
  • --describe-file <path> — multi-paragraph description from a file (when description is too long for shell arg)

Output control

  • --save — write the file + update _index.md without asking (default: ask first)
  • --force — overwrite existing <slug>.md (default: refuse if file exists)
  • --force-new — skip duplicate-detection, always create a new entry even if a similar style exists
  • --slug <kebab> — explicit slug (default: derived from name field)
  • --print-only — print the proposed entry, never save
  • --add-to-auto-pick — also append a row to _auto-pick.md when the LLM suggests topic signals (default: include in print, ask before appending)

Discovery

  • --list — print the existing catalog (proxies cat common/visual-prompt-library/styles/_index.md)
  • --show <slug> — print a specific existing style's entry (proxies cat <slug>.md)

Model

  • --model anthropic|openai|gemini — LLM provider for the analysis step. Default: anthropic (best at structured JSON output + multimodal image analysis when ref is provided).

REFERENCES (load on demand)

FileWhen to load
references/system-prompt.mdStep 2 — the SYSTEM_PROMPT for the LLM analysis step (verbatim) + user-message shape
../common/visual-prompt-library/styles/_schema.mdStep 1, 3 — the required frontmatter fields for any new style file
../common/visual-prompt-library/styles/_index.mdStep 1 — the existing catalog (for duplicate detection + alphabetical placement)
../common/visual-prompt-library/styles/_auto-pick.mdStep 5 — auto-pick matrix (if the new style should auto-resolve on certain topic signals)

EXAMPLES

See examples/before-after.md — 3 calibration runs: (1) text-only "nordic minimalism" generates a new entry; (2) reference image of a Wes Anderson film still generates a "wes-anderson" entry; (3) description "deep academia, leather and ivy" detected as duplicate of existing SCIENTIFIC / ACADEMIC (similarity 0.78) — points the user to use --style scientific instead.

CONSTRAINTS

  • Always show before saving (unless --save). This is a destructive-ish operation (creates files in the shared library). Default to dry-run + confirm. The cost of pausing is low; the cost of polluting the library is high.

  • Duplicate-detection threshold = 0.72. Per figma's StyleSuggestAgent. If similarity is below this, treat as new. If above, point the user to the existing style (--style <existing-slug>) unless they pass --force-new.

  • Schema fields are MANDATORY for new entries. All 9 fields (id / slug / name / when_to_use / background / accents / elements / mood / accent_text_color / typography / composition_signature) must be filled. Re-prompt the LLM if any is empty.

  • No forbidden literals in the entry body or frontmatter. No layout labels (HEADLINE / BODY TEXT / CTA), no hex codes (#FF0000), no platform names (Instagram / 1080x1350), no named-font references (Helvetica Neue 75 Bold — describe by genre instead). Same forbidden-literal rules as the main SYSTEM_PROMPT in common/visual-prompt-library/system-prompt.md.

  • Slug is kebab-case, ≤24 chars. Examples: cyber-noir, art-deco, nordic-minimal. Reject slugs with underscores / camelCase / spaces.

  • One reference image per request. Multi-ref blending would require a different LLM treatment — out of scope for v1.

  • Image reference is read locally, never uploaded to a third party. When --ref <path> is provided, the file is read into memory + base64-encoded + passed to the LLM via the Anthropic / OpenAI multimodal API. The user's anthropic / openai API key handles auth — no upload to other services.

  • Never commit <slug>.md to git automatically. The skill writes the file; the user runs git add + commit explicitly. This avoids accidentally committing style entries before they've been reviewed.

  • Never print API keys. Mask in errors.

  • Cost is small but non-zero. One LLM call per request, no image generation. Typically <$0.02 per call. No cost-confirmation prompt needed at this level.

INVOCATION HINTS

When the user says any of:

  • "make a new style / add a new style based on X"
  • "generate a style description from this image"
  • "опиши стиль / сделай новый стиль / добавь стиль в библиотеку"
  • "на основе этой картинки сделай стиль"
  • "предложи стиль для X"
  • "найди какой стиль подходит для X" (use --list + recommend)
  • "is there already a style for X" (use duplicate-detection workflow)

If the user provides a screenshot of a website / poster / film still — they probably mean "extract a style from this image". Use --ref <path>.

If the user provides only text like "make a vaporwave-but-darker style" — use --describe and let the duplicate-detection step decide if it's a variant of an existing entry or a new one worth creating.

Defaults: --model anthropic. Without --save, prints the proposed entry and waits for confirmation. Suggests _auto-pick.md row only if topic signals are clear.

This skill is the WRITE side of the style library. The READ side (consume styles in downstream image-gen) lives in common/visual-prompt-library/system-prompt.md and is invoked by carousel-builder / cover-maker / etc.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Style Suggest?

Visual style generator — turn a text description and/or reference image into a structured style entry for the prompt-library. Duplicate-detect then emit v2.15.0 schema (background, accents, mood, typography, composition_signature). Use when: 'make a new style', 'add a style based on this image', 'добавь стиль', 'предложи стиль'.

Firwat Style Suggest op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Style Suggest besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Style Suggest an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Mikefluff/skills/tree/main/skills/style-suggest an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Style Suggest benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Style Suggest benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Style Suggest domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Style Suggest gratis?

Jo. De Skill gëtt vum Mikefluff ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇