Логотип App Icon Gen

App Icon Gen

Сообщество
xzhih
app-icon-gen

Use when creating, repairing, converting, packaging, or verifying app icons for any platform from briefs, references, brand marks, SVG/logo/text assets, generated concepts, or existing icons; use the optional Apple adapter when Icon Composer output is requested.

Обзор

Издательxzhih
Репозиторийapp-icon-skill
Название навыкаapp-icon-gen
Звёзды
14
Форки
2
Файлы в комплекте
43
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 43

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

  • Открытый исходный код

    Издатель навыка на GitHub — xzhih. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ App Icon Gen в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/xzhih/app-icon-skill/tree/main/skills/app-icon-gen
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/xzhih/app-icon-skill.git /tmp/app-icon-skill
mkdir -p .claude/skills
cp -r /tmp/app-icon-skill/skills/app-icon-gen .claude/skills/app-icon-gen
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык App Icon Gen в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык App Icon Gen, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык App Icon Gen не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

App Icon Gen

Create reusable cross-platform icon source assets from a JSON spec. The normal route is semantic layered authoring: a small set of meaningful SVG/base-shape layers or deliberately clean PNG fallback layers, rounded preview assets, unrounded app/source assets, and verification evidence. Apple Icon Composer packaging is an optional adapter, not the default contract.

This skill may export rendered PNGs with Icon Composer's bundled ictool when it is locally available on macOS. It does not prove app integration or final platform rendering beyond those exported PNG files.

Hard Contract

For every new or repaired icon, use one generation root: the user-facing delivery directory.

  • target_platforms is optional metadata. Accept the user's platform labels without inferring, expanding, or rejecting non-Apple platforms.
  • Always deliver reusable SVG/PNG source assets first. After reviewing them, ask whether the user wants a native platform export; do not claim a native Android, Windows, Web, tvOS, or visionOS package without its dedicated adapter.
  • Request Apple packaging with an Apple target (iOS, iPadOS, macOS, or watchOS) or an Apple deliverable_type. Only then create a .icon bundle and optional apple/ renders.
  • When watchOS is requested through the Apple adapter, review the circular crop and 1088px Default render separately.
  • Write the current spec at <delivery>/tmp/work/spec.json before generation.
  • When a user source image/vector or selected generated concept exists, keep exactly one visible source evidence file at <delivery>/<delivery-name>.origin.png or <delivery>/<delivery-name>.origin.svg; put unselected candidates under <delivery>/tmp/work/.
  • Put every intermediate artifact under <delivery>/tmp/work/ as it is created: masks, threshold tests, extracted foregrounds, traced candidates, comparison images, notes, and repair scratch.
  • Generate with author-icon --spec <delivery>/tmp/work/spec.json --out <delivery>.
  • Reruns may overwrite generated root files, layers/, .icon/, apple/, and tmp/reports/; they must preserve existing tmp/work/ except for replacing tmp/work/spec.json with the current spec, and preserve .origin.png/.origin.svg unless the selected source changes.
  • Do not generate a full package in another directory and reorganize or copy it into the delivery directory.
  • Do not patch generated layers/, .icon/Assets, or icon.json; update the spec and regenerate.

Normal delivery layout:

text
<delivery>/
  <delivery-name>.preview.svg
  <delivery-name>.preview.png
  <delivery-name>.svg
  <delivery-name>.png
  <delivery-name>.origin.png or <delivery-name>.origin.svg  # when source evidence exists
  <Name>.icon/                        # optional Apple adapter
  apple/                              # optional Apple renders
    iOS/{Default,Dark,TintedLight,TintedDark,ClearLight,ClearDark}.png
    macOS/{Default,Dark,TintedLight,TintedDark,ClearLight,ClearDark}.png
    watchOS/Default.png
  layers/
  tmp/
    reports/
    work/
      spec.json

The visible delivery root must stay limited to .svg, .png, .preview.svg, .preview.png, .origin.png, .origin.svg, .icon, apple/, layers/, and tmp/.

Workflow

  1. Inspect supplied sources before asking questions: attachments, paths, app metadata, existing assets, screenshots, SVG/logo files, .icon bundles, and project-local source vectors.
  2. Choose one route: source conversion, generated concept, direct semantic authoring, or existing package refinement. Record target platforms only when they are known.
  3. Read only the route-specific references below.
  4. Write or update <delivery>/tmp/work/spec.json; keep layers in bottom-to-top visual order. If source evidence exists, copy the selected source or concept to <delivery>/<delivery-name>.origin.png or <delivery>/<delivery-name>.origin.svg.
  5. Generate directly into the delivery directory. The generic SVG/PNG assets are always written. When the Apple adapter is requested and Icon Composer.app's ictool is available, it additionally writes Apple renders under apple/.
  6. Run verify; add --reference when a reference image exists. Normalize the reference first only when its canvas/size/mask differs from the preview canvas.
  7. Inspect generated preview/app assets at full size and 64px plus the applicable verification evidence. If an Apple adapter exists, also inspect .icon/Assets, icon.json, and any requested Apple renders. Record visual-review.json when a human decision is needed; do not treat missing optional platform exports as a generic failure.
  8. If verification or inspection fails, repair the spec, regenerate, and verify again.

Run commands from the skill directory, or use an absolute --prefix to scripts/. Node package metadata lives in scripts/package.json; do not run npm install at the skill root.

bash
npm --prefix scripts ci

delivery="/absolute/path/to/my-icon"
mkdir -p "$delivery/tmp/work"

npm --prefix scripts run author-icon -- \
  --spec "$delivery/tmp/work/spec.json" \
  --out "$delivery"

npm --prefix scripts run verify -- --out "$delivery"

With a reference:

bash
npm --prefix scripts run verify -- \
  --out "$delivery" \
  --reference "/absolute/path/to/reference.png"

Use absolute paths for script inputs and outputs.

author-icon refuses to replace a non-empty directory it does not own. It refreshes only leaf files in the previous style report's validated generated_files ownership manifest, fails closed when that manifest disagrees with the safe report-derived file set, removes generated directories only after they become empty, and preserves other files even when they sit inside layers/, .icon/, or apple/. Clean an unowned directory outside this workflow only after inspecting it yourself.

Verification Evidence Ladder

Do not repair or switch routes from side-by-side and mean delta alone. Choose evidence by failure type and use it before changing the spec:

  • Whole-icon likeness: inspect reference-side-by-side.png first for overall style, scale, mass, and obvious drift.
  • Geometry, placement, proportion, and layer alignment: inspect reference-overlay.png before deciding a foreground is shifted, too small/large, or the wrong shape.
  • Color, background, glow, shadow, antialiasing, and material drift: inspect reference-diff.png and the verifier diagnostics before changing fills or adding/removing material.
  • Rounded app-mask/frame drift: treat frame_or_rounded_mask_residual_dominated as frame normalization evidence rather than foreground shape failure; inspect the interior diff before repairing the mark.
  • Severe local mismatch: read local_sample_gate, local_samples, and tile_heatmap; translate hotspots into a concrete repair hypothesis instead of treating them as another score.
  • Smooth symbolic marks, mascots, loops, ribbons, and brand-like contours: use overlay/diff plus bbox/centroid or shape-facts when the visual error is ambiguous.
  • Simple SVG primitives: run geometry-audit on the affected layer after repair; a numeric pass does not excuse wobbly curves, bad tangents, or path noise.
  • PNG fallback: inspect the isolated PNG asset and png_layer_hygiene; reference mean success is not enough.

Repair order for reference-driven work: geometry/placement first, then scale/proportion, then color/background, then renderer/material differences. Only choose PNG fallback after the relevant SVG route has failed with evidence from overlay/diff/local diagnostics or isolated asset inspection; for clean separable silhouettes, the relevant SVG route includes component-level traced SVG before PNG fallback.

Reference Routing

  • references/source-requirements.md: provenance, identity risk, source classification, background route, and PNG fallback risk.
  • references/concept-prompts.md: no source artwork exists and image generation or direct concept authoring is needed.
  • references/semantic-icon-design.md: JSON design contract shared by no-reference image generation and direct semantic authoring.
  • references/style-directions.md: SVG-convertible style directions for semantic_icon_design.
  • references/semantic-authoring.md: JSON spec structure, semantic_review, source_analysis, layer order, text, and PNG fallback decisions.
  • references/cookbook.md: route is ambiguous or the icon matches a known family such as geometric marks, letterforms, text, material references, or overlapping plates.
  • references/icon-composer.md: .icon structure, fill formats, Icon Composer material boundaries, asset formats, and icon.json.
  • references/verification.md: verifier behavior, reference comparison, visual-review sidecars, batch summaries, and review gates.
  • references/optimization-methods.md: geometry polish, bitmap extraction, shape diagnostics, localized repair, or foreground cleanup.
  • references/failure-modes.md: dirty PNGs, wrong semantics, preview/fill drift, source-vector needs, path repair, or misleading numeric passes.
  • references/golden-examples.md: small known-good specs and anti-patterns.
  • examples/semantic-image-prompts/README.md: index of no-reference image prompt examples; read only the matching example file after choosing a style direction.

Completion Gate

Complete only when all applicable checks are true:

  • Required root assets, layers/, tmp/reports/style-report.json, and tmp/work/spec.json exist. .icon/ and apple/ exist only when the Apple adapter was requested.
  • When a source/reference/generated concept drove the package, <delivery-name>.origin.png or <delivery-name>.origin.svg exists at the delivery root and is not imported into .icon/Assets.
  • Preview SVG/PNG are the rounded local visual contract; root SVG/PNG are the unrounded app/source canvas.
  • An Apple adapter, when requested, contains clean .icon/Assets rather than a single flattened app icon unless the accepted route is a documented PNG fallback.
  • svg_material_warnings and package warnings are empty. Every png_layer_hygiene entry passes the edge/residue checks; the array may be non-empty for legitimate clean PNG assets.
  • For reference matching, side-by-side, overlay, and diff were generated and inspected; overlay/diff/local diagnostics were used to justify any repair or route change; mean delta, visual_delta_gate, and local_sample_gate either pass the route target or the accepted semantic tradeoff is recorded.
  • No simple background is duplicated into .icon/Assets; no preview-only rim, glow, bevel, shadow, highlight, border, or mask artifact is imported as source material.

Do not widen completion into Icon Composer import, app integration, publication, or platform-specific final rendering unless the user explicitly asks for that.

Final response must include the delivery path, generic source assets, target-platform metadata when supplied, optional adapter outputs, source evidence when applicable, and the preview/assets actually inspected. Ask before claiming or attempting a native export not supported by an installed adapter.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ App Icon Gen?

Use when creating, repairing, converting, packaging, or verifying app icons for any platform from briefs, references, brand marks, SVG/logo/text assets, generated concepts, or existing icons; use the optional Apple adapter when Icon Composer output is requested.

Зачем использовать App Icon Gen в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. App Icon Gen — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить App Icon Gen в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/xzhih/app-icon-skill/tree/main/skills/app-icon-gen. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать App Icon Gen?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать App Icon Gen?

С любым количеством. В TypingMind вы можете использовать App Icon Gen с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ App Icon Gen?

Навык опубликован на GitHub. Издатель — xzhih. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип affaan-m

Frontend Slides

affaan-m
СообществоПопулярный

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a…

40.4K
270.2K
Файлы: 2
Открыть
Логотип affaan-m

Plan Canvas

affaan-m
СообществоПопулярный

Open plans and HTML artifacts in a local browser canvas where the human annotates elements, chats, and approves or requests changes without leaving the page. Use when presenting a plan for review, or…

40.4K
270.2K
Файлы: 1
Открыть
Логотип mattpocock

Improve Codebase Architecture

mattpocock
СообществоПопулярный

Просканируйте кодовую базу в поисках возможностей для дальнейшего развития, представьте их в виде наглядного HTML-отчёта, а затем тщательно разберите выбранный вами вариант.

22.3K
264.4K
Файлы: 2
Открыть
Логотип mattpocock

Grilling

mattpocock
СообществоПопулярный

Неустанно расспрашивайте пользователя о плане, решении или идее, подвергая их жесткой проверке. Используйте, если пользователь хочет проверить свои рассуждения на прочность или использует любую из фраз-триггеров со словом «grill».

22.3K
264.4K
Файлы: 1
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇