Logo system
Load this module only when the user asks to create, extend, document, or apply a logo. A request for other branded graphics does not authorize a redesign.
Route
Existing official logo
Use the supplied file as authoritative.
- Analyze source geometry, variants, colors, clear space, and minimum-size guidance from source files/brandbook.
- Record its exact local path, public URL, upload ID, or job ID in the Brand Lock. Upload it only when a Higgsfield generation stage requires that file.
- Reuse or deterministically place the exact asset.
- Generate only requested variants/applications.
Never ask an image model to redraw a logo merely to change its background, size, placement, or colorway. Use SVG/PPTX/image compositing when the source supports it.
Partial logo system
Examples: only a primary logo exists; no monochrome/reverse version, symbol, clear-space rule, or lockup.
- Preserve the primary mark.
- Propose only missing variants.
- Derive variants from source geometry rather than inventing a second style.
- Ask before separating a symbol from a wordmark if the source does not demonstrate that they may be used independently.
New logo
Run only when explicitly requested.
- In an interactive new-identity flow, complete the palette review in
concept-boards.mdfirst. Require a user-selected and persisted palette before generating logo candidates. Color/style preferences from intake are not palette selection. Only explicit auto/no-question mode may select the palette internally; it must callapprove_paletteand receive a successful state response before generating logo candidates. - Load
brandkit-design-brain.mdand runPROPOSE_LOGO_MECHANISMSwith the brief, references, visual axes, and selected palette. - Require exactly three distinct symbol-only candidate specifications.
- Apply
logo-prompt-enhancer.mdexactly once per candidate, building one complete structured candidate input per application. - Run
higgsfield model get recraft_v4_1 --json, then submit the three enhanced prompts as three separatehiggsfield generate create recraft_v4_1 --model_type vector --wait --jsonrequests with exact hex arrays in--colorsand the selected--background_color. - Use the three Recraft SVG result URLs directly. Do not pass them through the HTML preview script or any SVG normalizer/editor.
- Show all three SVGs per the logo review in
inline-widgets.mdin every mode, including explicit auto/no-question mode; never return them only as bare URLs. Then send a normal message inviting the user to review and comment when interaction is allowed. - When the user selects one SVG, run
logo-inspect --source <selected SVG URL or absolute path>. It validates the source and fingerprints the mark after ignoring a detected full-canvas Recraft background without modifying the approved SVG. - Immediately save that exact asset and the returned
geometry_fingerprintwith the Brandkit state script'sapprove_logoaction. Continue to typography only when the original request requires text/type; a logo-only request does not.
Enhancer contract
For each of the three Design Brain mechanisms, assemble the complete structured candidate input defined in logo-prompt-enhancer.md:
{
brand_context: {
name,
offering,
industry,
positioning,
audience,
values
},
visual_axes: {
restrained_expressive,
geometric_organic,
familiar_experimental
},
candidate: {
mark_type,
central_idea,
visual_mechanism,
distinctive_element,
shape_logic,
treatment,
style_register,
user_style_directive,
composition
},
palette: {
count,
user_requested_more_than_three,
roles
},
reference_signals,
forbidden_elements
}
Apply that reference's full contract to produce one enhanced prompt per candidate. Use only that enhanced prompt as the candidate's Recraft prompt. Never merge the three enhanced prompts into one request.
Exact hex colors never enter the enhanced prompt prose. Pass them directly in each Recraft request's colors and background_color params.
Set user_requested_more_than_three: true only when the user explicitly asks for a logo with more than three colors. Otherwise pass exactly the one, two, or three logo colors the concept requires, even if the broader brand palette contains more. Never add colors merely to reach three.
In explicit no-question mode, rank the three candidates privately but still show all three and stop for the user's logo selection. Never write approval state for an unselected brand mark.
Exactly three comparable SVG candidates
All three must:
- Be true SVG outputs returned directly by Recraft V4.1 vector mode
- Use the same aspect ratio, palette parameters, background, and generation quality
- Belong to the selected draft palette and user-defined direction
- Differ in mark construction, not presentation quality
- Stay simple enough to reproduce faithfully with vector geometry
- Express one visual concept only; never fuse two metaphors unless the user's own request explicitly described that exact fusion
- Include one concrete distinctive silhouette, negative-space device, motif treatment, or unexpected locked color-role pairing
- Preserve any explicit user-requested style in the candidate and enhanced prompt
- Use one, two, or three logo colors as the concept requires; three is a maximum, not a default, unless the user explicitly requested more
- Avoid generic swooshes, arbitrary initials, stock startup symbols, tiny details, gradients/effects unless concept-critical, and mockup scenes
Typography is selected afterward. Every enhancer prompt must include “no text” in its constraint tail. Monograms may contain only their explicitly requested initials.
If prompt enhancement or the Recraft call fails, retry once with the same candidate specification. If it fails again, stop and report the error. Never substitute GPT Image or select a winner for the user yourself.
During typography selection, the mark and wordmark must feel like one lockup:
- Match stroke/weight and corner character
- Balance mark height against cap/x-height
- Use deliberate gap and optical alignment
- Avoid a detailed/heavy mark beside a weak or unrelated wordmark
Never reproduce or cite a reference mark as the target.
Color revision and optional variant export
Logo approval requires only the selected color Recraft SVG. Monochrome/reverse variants are optional. Do not announce, prepare, generate, or save them unless the user explicitly requested them.
When logo files or a confirmed production method require export:
- Load exact logo-export payloads, then keep the exact Recraft SVG as the geometry source.
- Write
"$BRANDKIT_WORKDIR/logo-export.json", then runpython3 "$SKILL_ROOT/scripts/brandkit.py" logo-exportwithinclude_monochrome: falseby default. This creates only the approved color SVG and transparent 2048×2048 PNG. - Set
include_monochrome: trueonly after an explicit request for monochrome/reverse files or when a user-confirmed output requires one-color production. Then setprimary_colorto the dominant approved source color. - Pass
replacementsonly for a requested full-color revision. - Do not call Recraft or GPT Image for a color-only change.
logo-inspect and logo-export use the same canonical fingerprint, so a removed full-canvas Recraft background cannot create a false geometry mismatch. The export script fingerprints every generated variant. Any geometry mismatch is a hard stop. Optional black/white variants are deterministic derivatives of the approved color SVG, not separate concepts or image-model recolors.
For a user-requested solid palette-color/one-color variant, pass that target hex once as single_color. The script recolors every actual SVG paint automatically and adds the SVG/transparent PNG pair. Never inspect source paints or construct per-fill replacements for a monochrome variant.
The script accepts Recraft hex, rgb(), and rgba() paint values and removes a detected full-canvas background. A failed color match reports the available source colors itself. If export still fails, stop and report the exact error. Never inspect or create copies with ad-hoc shell commands, grep, sed, regex scripts, or manual SVG rewriting.
Only when the user explicitly requests logo files, deliver the requested local SVG/PNG paths. Use the PNG as a later Higgsfield image reference; local image paths auto-upload during generation. Keep the SVG as the authoritative editable source.
System deliverables
Produce only requested items:
- Primary horizontal lockup
- Secondary/stacked lockup
- Symbol/monogram
- Wordmark
- Small-size/favicon treatment
- Clear-space diagram
- Minimum-size guidance
- Approved backgrounds
- Incorrect-use examples
Clear space and minimum size
For an existing identity, copy official rules. If none exist, propose rules and mark them inferred:
- Define a repeatable unit
xfrom a stable feature (symbol width, cap height, or dominant stroke), not an arbitrary pixel count. - Apply
xconsistently around each lockup. - Test at intended digital and print sizes.
- Create a simplified small-size treatment only with user approval; do not silently remove details from the primary mark.
Editable output
- Three original Recraft SVG candidates
- Approved Recraft SVG source for the selected mark
- Full-color SVG and 2048×2048 PNG exports
- Black/white SVG and PNG variants only when explicitly requested or production-required
- PPTX brand-guide pages when requested
SVG wordmarks remain editable text and require the approved font to be installed. Do not promise native AI/EPS/Figma/Canva/PSD.
Logo QA
- Exact spelling and glyph order
- No altered proportions or invented details
- No unintended gradients, shadows, bevels, or effects
- Correct palette and contrast
- Black and white variants have the exact approved geometry and one solid color
- Exactly three candidates generated with identical Recraft parameters
- Selected mark and later wordmark treatment look optically complete together
- Legible silhouette at small size
- Clear-space and minimum-size examples match the actual asset
- Every mockup/template uses the approved anchor, not a regenerated copy