360 Secure SkillHub
360 安全技能中心

bs-spectrum-brand-strategy-deck

该 Skill 以奶油色大标题、深黑页面和彩色圆角卡片为核心视觉,生成可编辑的 16:9 品牌策略演示文稿;内置样式、布局、图标与图片库,可在浏览器中修改、保存并导出 PPTX,交付为离线 HTML 单文件。

分类:创作
yihui-dev
yihui-dev
热度 13.48
最近更新 2026-11-28 23:43:41

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add yihui-dev/bs-spectrum-brand-strategy-deck
兼容性
通用兼容
联网要求
需要联网
数据出网
可选出网
Metadata
name
bs-spectrum-brand-strategy-deck
description
Create an editable presentation with heavy cream headlines, deep black pages, and rounded green, blue, orange, and yellow tiles. Turn brand positioning, audience strategy, and touchpoint planning into a clear sequence you can revise in your browser and export to PowerPoint.

Spectrum Brand Strategy Deck

Use this Skill for brand positioning, audience strategy, touchpoint planning, rollout roadmaps and brand measurement decks. The visual grammar is fixed: large cream headlines on deep black pages, spectrum tiles in blue, green, orange and yellow used one at a time, dark-backdrop 3D still-life pictures framed on the grid or bleeding off a page edge, and yellow numbered nodes. Type is embedded Bricolage Grotesque (headings) and Figtree (body). Do not mix it with an unrelated aesthetic or add light pages.

Approve the Skillry budget

For Skillry execution, check access and permissions with prepare_skill_execution. Verify the model and reference support with list_media_models. Upload local reference images with image permission. Quote each final specification using quote_media or skillry media --quote-only. Show the planned steps, their estimated or maximum credits, and the exact combined budget. Wait for the user to confirm that amount in chat.

After confirmation, use the same credential and API base to create one shared run with start_skill_run, or skillry run start --name "Media task" --skill bs-spectrum-brand-strategy-deck --budget-points <confirmed-total> --run-id <uuid>. API-key clients can instead POST id, name, skill_slug, and budget_points to /api/relay/runs. Set SKILLRY_RUN_ID to that registered UUID when running bundled scripts, or pass --run-id on CLI media commands. Record one request ID per step and use it to recover interrupted jobs. Report settled credits from the job or run status, including any settlement at the approved ceiling when usage evidence is unavailable.

Generation provider (ask first)

Before generating any new images, present these 3 options upfront and confirm the user's choice:

  1. Skillry API Key (Default): Use Skillry (--provider skillry, default when omitted) with SKILLRY_API_KEY, a logged-in skillry CLI session, or Skillry MCP tools (upload_image_reference, quote_media, start_skill_run, generate_media, media_status, download_media).
  2. Codex Built-in Image Generation (Recommended in Codex): When running inside a Codex client (CODEX_THREAD_ID, CODEX_SESSION_ID, or native image_gen tool detected), use Codex's built-in image_gen tool directly with this Skill's exact prompt, aspect ratio, and reference rules instead of an API key.
  3. Custom FAL API Key (FAL_KEY): Generate directly through FAL using --provider fal and the user's own FAL_KEY.

Shared editor contract

This style always uses the bundled framework in references/framework/; never build a separate editor or paging engine. The editor UI is identical across styles: black, white and gray, with localized icon tooltips and independently editable objects. Palettes, fonts, artwork and layouts stay specific to this Skill and come from its style kit. Read runtime for the editor, saving and export behaviour, and compose guide for the plan format.

Workflow

  1. Confirm the user's topic, audience, source facts, communication language, content language and slide count. Write slide copy in English unless the user asks for another language. Keep this style's art direction, layout proportions and content limits below; do not substitute a generic template.
  2. Plan a clear narrative with one job per page, using the agreed number of fixed 16:9 pages and this style's word budgets and evidence rules.
  3. Read this package's style references (below). Named palettes are choices for slide content; the shared editor stays unchanged.
  4. Compose from the style kit so the deck matches the store example: write plan.json picking a recipe from references/style-kit.json for each page (recipes may repeat), set the new text, pictures, picture descriptions (alt), icons, chart labels and data values by node ID, remove nodes a page does not need, then run python3 scripts/style-kit.py compose --style-kit references/style-kit.json --plan plan.json --output project.json. Work through the report: fill every unfilledImages slot and replace each leftoverExample entry that belongs to the example's topic. The compose guide documents every plan field. Refine project.json where needed (add, delete, move or restyle nodes, keeping IDs unique), keep the kit's contentCSS, and write editor-config.json with the bundled schema.
  5. Pictures:
    • Before making any picture, ask the user once (with the step 1 questions when possible) and offer exactly three options. Pictures the user supplies come first in every option. If the user cannot be asked or does not answer, use option 1. Tell the user which option you used.
      1. Reuse this style's original pictures (recommended): use only pictures from this Skill's picture library, with no image credits. A slot with no fitting picture keeps its labeled image frame; list those slots for the user.
      2. Generate as needed: reuse library pictures where they fit and generate only the remaining slots.
      3. Regenerate everything: generate every picture new for this topic.
    • Library: run node scripts/embed-library-images.mjs --list; use any-topic pictures freely and topic-specific ones only when their topic matches the deck, never show one picture on two pages, and set the plan's images value (or an image node src) to library:<id>. After composing, run node scripts/embed-library-images.mjs project.json to inline them; if a download fails, treat those slots as unfilled.
    • Generate pictures following references/image-prompts.md, at the aspect that style-kit.json and the compose report list for each slot. Run node scripts/fal-image.mjs defaulting to --provider skillry (Skillry API Key/CLI), or use Codex built-in image_gen when in Codex, or pass --provider fal with the user's FAL_KEY (submit once, then status/fetch). Never use another image provider. Library pictures (--download <id> --out <dir>) or pictures already made for this deck can be passed as --reference to keep the series consistent.
    • With neither FAL nor a built-in tool, options 2 and 3 fall back to option 1.
  6. Set uiLocale and conversationLocale to the user's communication language and contentLocale/contentDirection from the brief; compose detects Chinese, Japanese and Korean plans. Arabic and Hebrew right-to-left layout is handled by the framework; do not reverse logical arrays.
  7. Build and check: python3 scripts/build-deck.py --project project.json --config editor-config.json --output presentation.html, then python3 scripts/check-deck.py presentation.html --expected-slides N --style-kit references/style-kit.json --report deck-check.json. Resolve every example string the check still reports. If it warns about size, run python3 scripts/optimize-images.py presentation.html and check again.
  8. Open the file over local HTTP and inspect every page: typography, pictures, hierarchy, crops, bounds, contrast and spacing. Edit text, add/delete/move a block, change a color or Smart layout, edit notes, undo/redo, save and reopen. Presentation mode must disable editing and its glass navigation must hide after five idle seconds.
  9. Deliver the single HTML file. It opens in a page view with an Edit button and works offline. Tell the user that edits stay in the browser until they press Save (Cmd/Ctrl+S), which writes them into the file. On request, export PPTX from the built-in menu, run python3 scripts/check-pptx.py presentation.pptx --project project.json --report pptx-check.json and inspect it in PowerPoint, Keynote or WPS. Keynote uses the compatible .pptx. Print/PDF gives one page per slide.

Style references

Read the style kit, compose guide, palettes, layout recipes, image prompts, icons, style reference and runtime.

Restraint rules

  • Word budget: headline ≤ 7 words (cover ≤ 5), one supporting line ≤ 18 words, ≤ 3 items of ≤ 10 words each, ≤ 45 words per page. Detail goes in the speaker notes.
  • No tag clutter: only the brand mark top-left. No series or date pills, eyebrows (one on the cover at most), footer captions or page numbers.
  • Content stays between y 79px and y 634px of the 1280x720 page on a 12-column grid with 77px side margins.
  • At most 3 content blocks per page; sibling cards share one style and size, with one spectrum-coloured highlight per page.
  • One corner radius (--r) for all pictures and cards; never overlap two pictures or float cards over a picture.
  • Fonts are embedded as data URIs (--font-display, --font-body); never fall back to an Arial-only stack.

Inputs and outputs

  • Inputs: topic, audience, the decision the deck should win, approximate page count, source outline, verified figures, rights for any supplied pictures.
  • Outputs: one self-contained presentation HTML (page view, editor, presentation mode, speaker notes, pictures inline); on request an exported PPTX and a PDF via print.

Constraints

  • Use only files in this Skill; the delivered deck must not reference remote images or fonts.
  • Do not copy third-party template artwork, logos, names or wording; create original copy and pictures.
  • Keep the type scale (headings about 61px, body text at least 17px), the 77px side margins and the dark page treatment consistent on every page.
  • See references/runtime.md for the notes, editor and export contracts and references/third-party-notices.md for licenses.

Style-specific planning and composition

  • Agree audience, page count, outline and the closing ask. Use verified figures; label invented example figures as illustrative in the notes (or one short .footnote on a page with numbers). Write slide copy in English unless the user asks for another language.

  • Pick a preset from references/themes.md (Authored, Teal, Clay).

  • Compose pages from the recipes in references/style-kit.json, using references/layouts.md for each archetype's geometry. Keep node IDs unique and important text in independently editable leaves. Follow the hard rules at the top of layouts.md.

  • Icons: inline Lucide-style SVG from references/icon-library.md. Never use emoji or dingbat glyphs.

  • Pictures: follow Workflow step 5 (user pictures first, then the library question, then generation) and the art direction in references/image-prompts.md.

Package boundary

Keep SKILL.md, scripts and references together. Include the shared runtime and required style resources. Examples, manifests, provider records, migration reports, previews and credentials do not belong in the installation ZIP. Use only references inside this Skill.


More from Skillry

This skill is part of the open-source free skills collection from Skillry.