calesthio/openmontage

visual-style

Create, extract, and apply portable visual design systems via visual-style.md files.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/calesthio/openmontage --skill visual-style

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Visual Style

Create, extract, and apply portable visual design systems. A visual-style.md file defines colors, typography, layout, motion, and mood in one file that any AI tool can consume.

Quick Reference

ModeTriggerWhat it does
Create"Create a visual-style.md for..."Build a style from scratch via guided prompts
Extract"Extract a visual-style.md from [URL/image/video]"Analyze a source and generate a style file
Apply"Apply this visual-style.md to [tool]"Use a style with a specific connector
Gallery"Show me available visual styles"Browse and use example styles

Default Workflow

Create

  1. Gather vibe — Ask about mood, era, references, inspiration
  2. Define colors — Primary (2+), accent, neutrals with hex values and roles
  3. Set typography — Display, body, caption families + weight/style rules
  4. Layout & motion — Grid system, transitions, pacing
  5. Generate — Output complete visual-style.md using references/templates/minimal.visual-style.md or references/templates/full.visual-style.md
  6. Preview — Show a small HTML swatch or describe the visual result
  7. Optionally apply — Ask if user wants to use it with a connector

Questions to batch:

  1. What's the vibe? (mood keywords, era, references)
  2. Any specific colors? (or derive from the vibe?)
  3. Typography preference? (clean, editorial, technical, playful?)
  4. What tool will you use this with? (HeyGen, slides, paper.design, Figma?)

Extract

  1. Receive source — URL, image, video, or PDF
  2. Load extractor — Read the appropriate extractor reference file
  3. Analyze — Identify colors, typography, layout, motion, mood
  4. Generate — Output complete visual-style.md with source_url set
  5. Validate — Ensure all required fields are present

Apply

  1. Read the style — Load the visual-style.md file
  2. Ask which connector — Or detect from context
  3. Load connector — Read the appropriate connector reference file
  4. Transform — Map style fields to tool-specific format
  5. Generate output — Produce tool-ready instructions or code

Gallery

  1. List styles — Show available styles from references/gallery/
  2. Preview — Describe the selected style's visual character
  3. Load — Read the full visual-style.md
  4. Apply — Use with a connector

Format Quick Reference

Required fields

yaml
name: "Style Name"
version: "1.0"
style_prompt_short: "1-2 sentence elevator pitch"
style_prompt_full: "Detailed generation prompt — THE most important field"
colors:
  primary:
    - name: "Color Name"
      hex: "#000000"
      role: "how this color is used"

`style_prompt_full` is king. If a tool can only read one field, it reads this one. Everything else is structured data for tools that want finer control.

Full spec: references/spec.md

Reference Files

Connectors (Apply mode)

ConnectorUse caseFile
HeyGen Video AgentAI video generationreferences/connectors/heygen-video-agent.md
HTML SlidesWeb presentationsreferences/connectors/html-slides.md
paper.designDesign documentsreferences/connectors/paper-design.md
FigmaDesign tool stylesreferences/connectors/figma.md

Extractors (Extract mode)

Gallery (pre-built styles)

Templates & Spec

Best Practices

  1. `style_prompt_full` is king — Always usable as a standalone generation prompt
  2. One style, one file — No multi-style bundling
  3. Assets are URLs — Never embed binary data
  4. Show, don't tell — Generate previews when creating styles
  5. Opinionated defaults, flexible extensions — Core schema is fixed; x_* for tool-specific config

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills