Перейти к содержанию
Skillpedia
Интерфейсы (UI/UX)28k · #9944

wox-theme-creator

Что он делает

Этот скилл создаёт или редактирует файлы тем в формате JSON для лончера Wox. Он нужен тем, кто хочет настроить внешний вид Wox или поделиться созданной темой.

Когда использовать

  • ✓Когда вы хотите создать новую цветовую тему для лончера Wox.
  • ✓Когда вы хотите переделать существующую тему Wox, сохранив её облик.
  • ✓Когда нужно настроить прозрачность или параметры для конкретной платформы в теме.

Ссылка на скилл

https://github.com/Wox-launcher/Wox/blob/master/.agents/skills/wox-theme-creator/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/Wox-launcher/Wox/blob/master/.agents/skills/wox-theme-creator/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Создай тёмную тему для Wox с мягкими синими акцентами, которую легко читать?”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Агент подбирает согласованную палитру, проверяет, что текст и состояния остаются читаемыми, и пишет корректный файл темы, который можно протестировать локально.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Wox Theme Creator

Create a deliberately designed theme with a coherent palette, readable states, and a valid authored JSON document. Prefer schema v2 for new themes. Preserve the requested output location and existing theme identity when editing; generate a fresh UUID for a new theme.

Embedded theme editor

When invoked by Wox's theme editor, work on the supplied current draft and editable property list. These are the authoritative available fields. Apply the design guidance below; return only the requested JSON patch of changed properties, preserving unrelated values and theme identity. Do not require repository access, filesystem tools, or a new theme file. The editor validates the patch and handles preview, undo, and saving. A normal AI Chat or repository authoring session continues to use the document workflow below.

Source of truth

Paths below are relative to the Wox repository root. Read the current implementation before choosing fields; do not invent theme tokens or copy resolved runtime values into a new theme.

  • wox.core/common/theme_schema_v2.go: complete v2 document, accepted fields, color/geometry defaults, validation, and platform resolution.
  • wox.core/resource/themes/: built-in themes as working examples.
  • wox.core/common/theme_surfaces.go and theme_package.go: image surface declarations, resource validation, and package parsing.
  • wox.core/common/theme_schema_v1.go: legacy wire format and behavior, needed when converting an old theme.
  • wox.core/common/theme_runtime.go and theme.go: independent runtime representation, schema dispatch, and Wox version checks. These are not the authored JSON schema.

Each schema owns its complete document and parser. Missing SchemaVersion or historical zero means v1. Loading must not rewrite old files. Changing v2 default semantics would change sparse themes; a new format belongs in a separately registered schema, not a retrofit of v1 or v2.

Image-backed themes

Wox 2.4.4 adds optional image surfaces to schema 2. Existing v1/v2 JSON files, color defaults, window materials, and Action Panel placement are unchanged. Use MinWoxVersion: "2.4.4" when publishing a theme using these fields.

Package layout

A .wox-theme file is a ZIP archive with theme.json at its root, not inside an enclosing folder:

ming.wox-theme
  theme.json
  assets/lacquer.png
  assets/palace-frame.png
  assets/crest.png

Open the package with Wox, or select the file and invoke Wox's selection query. The installer shows its name and an Install action. Installation validates all entries before replacing <theme-directory>/<ThemeId>/; failed staging leaves the previous package intact. Plain <ThemeId>.json themes remain supported. Resource-backed themes are excluded from Cloud Sync. Theme editor color changes and Save As retain the image declarations and assets.

The package accepts PNG and JPEG images. Paths are case-sensitive, slash-separated, relative to the package root. Absolute paths, traversal, symlinks, Windows device names, and case-colliding archive entries are rejected. Limits are 128 archive entries, 32 MiB uncompressed data, and 16 megapixels across all images. Nine-slice source cuts must leave a nonempty center. Assets for inactive platforms must also be included. No network image URLs or executable theme code are supported.

Example theme.json

{
  "SchemaVersion": 2,
  "MinWoxVersion": "2.4.5",
  "ThemeId": "6cf090bd-ef04-44e9-aa61-cbe0e1dc2275",
  "ThemeName": "明",
  "BaseBackgroundColor": "#721D16",
  "BaseTextColor": "#FFF0CA",
  "BaseAccentColor": "#F4C453",
  "AppBackgroundColor": "transparent",
  "OverlayBackgroundColor": "#721D16",
  "OverlayFontColor": "#FFF0CA",
  "Surfaces": {
    "App": {
      "ContentInsets": {"Top": 110, "Right": 48, "Bottom": 32, "Left": 48},
      "Background": {
        "Source": "assets/lacquer.png",
        "Mode": "tile",
        "Size": {"Width": 128, "Height": 128}
      },
      "Frame": {
        "Source": "assets/palace-frame.png",
        "Mode": "nineSlice",
        "Slice": {"Top": 160, "Right": 96, "Bottom": 96, "Left": 96},
        "Insets": {"Top": 80, "Right": 48, "Bottom": 48, "Left": 48}
      },
      "Decorations": [{
        "Source": "assets/crest.png",
        "Anchor": "topCenter",
        "Offset": {"X": 0, "Y": 0},
        "Size": {"Width": 120, "Height": 110}
      }]
    },
    "ActionContainer": {
      "Background": {"Source": "assets/lacquer.png", "Mode": "t
Частые вопросы

В каком формате темы?

Темы хранятся в JSON-файлах по схеме тем Wox, и для новых тем скилл рекомендует более новую версию схемы.

Может ли он редактировать существующую тему?

Да. При редактировании он сохраняет идентичность темы, а для новой темы создаёт новый идентификатор.

Можно ли проверить тему?

Да. Скилл описывает локальную отладку, чтобы вы видели, как тема выглядит в Wox.

Подробности

Оригинальное описание автора

Design, create, and refine Wox theme JSON files, including schema v2 base colors, optional styles, transparency, platform overrides, and local debugging. Use for authoring themes or converting an existing theme while preserving its appearance.

repo: Wox-launcher/Wox

Популярность

Звёзды на GitHub
28k
Место в рейтинге
#9944
Лицензия
GPL-3.0
Обновлён
01.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы