generate-style
Generate the host repository STYLE.md with one or more art-style templates plus a primary art pipeline and allowed alternatives. Use when creating or replacing the project visual contract.
SKILL.mdskills/generate-style/SKILL.md
GitHubWhen to use
Use when ../STYLE.md is missing or when the user wants to regenerate it after changing the repository art style mix.
Workflow
- If
../STYLE.mdis missing, ask the user which templates from./.styles/apply unless the user already named the desired style. Default the art pipeline toPROOF_TO_MODELunless the user names another one. - Support multiple templates for mixed art-direction repositories.
- Normalize
imagegentoCLOUD, use canonicalLOCALfor direct Bubo generation, normalizeproof-to-model,proof to model, or2d-to-3dtoPROOF_TO_MODEL,threejstoCODE, andblender,blend, orbpytoBLENDER. Record exactly one primary and repeatable allowed alternatives. - Add repeatable optional external library roots only when the user explicitly configures them. Preserve existing entries during regeneration unless the user replaces or clears them; never prompt for them during startup or initial setup.
- Generate
../STYLE.mdfrom the selected style and pipeline templates using concise read directives by default. - Use inline mode only when the user explicitly asks for fully embedded template content.
- Validate the generated contract and treat it as authoritative afterward.
Output
- A
STYLE.mdcontaining at least one style, exactly one primary pipeline, allowed pipelines, prompt-override scope, no-silent-fallback policy, and optional read-only external library roots. - Style-contract validation output.
Guardrails
- Default new contracts to
PROOF_TO_MODEL; this never authorizes image generation, downloads, or promotion. Reject CSS3/CSS/vector/css-vector selections with migration guidance. - Do not silently select a different pipeline when the chosen one is unavailable.
- Do not use a task-local override to rewrite
STYLE.md. - Do not invent, require, or probe an external asset-library path when none is configured.
- LOCAL selection configures policy only. Use
use-bubo-local-generationfor separate readiness, authorized setup and bounded execution; keep exact model/tool pins in Bubo and preserve existing media budgets/reviews.
Commands
./commands/generate-style.sh "<STYLE1>" ["STYLE2" ...]./commands/generate-style.sh --pipeline CLOUD --allow-pipeline CODE "<STYLE1>"./commands/generate-style.sh --pipeline BLENDER --allow-pipeline PROOF_TO_MODEL "<STYLE1>"./commands/generate-style.sh --asset-library studio=/absolute/path/to/models "<STYLE1>"./commands/generate-style.sh --clear-asset-libraries "<STYLE1>"./commands/generate-style.sh --inline "<STYLE1>" ["STYLE2" ...]./commands/validate-style-contract.sh [STYLE.md]