Логотип Igniteui Angular Generate From Image Design

Igniteui Angular Generate From Image Design

Организация
IgniteUI
igniteui-angular-generate-from-image-design

Реализует представления приложения Angular по изображениям дизайна с помощью компонентов Ignite UI Angular. Использует MCP-серверы (igniteui-cli, igniteui-theming, angular-cli), чтобы находить компоненты, создавать темы и следовать рекомендациям. КОГДА ИСПОЛЬЗОВАТЬ: если пользователь предоставляет изображение дизайна (скриншот, макет или каркас) и хочет преобразовать его в работающее представление Angular с компонентами igniteui-angular либо просит «реализовать этот дизайн», «создать этот интерфейс», «преобразовать этот макет» или «создать страницу по этому изображению» в проекте Ignite UI Angular. КОГДА НЕ ИСПОЛЬЗОВАТЬ: если дизайн представлен файлом Figma или URL Figma, независимо от использованного набора компонентов (используйте igniteui-angular-figma-to-app; переходите к этому навыку, только если MCP Figma недоступен и пользователь предоставил экспортированное изображение); для вопросов об API отдельного компонента (используйте igniteui-angular-components или igniteui-angular-grids); для изменений только темы, когда не нужно создавать представление (используйте igniteui-angular-theming).

Add to TypingMind

Обзор

ИздательIgniteUI
Репозиторийigniteui-angular
Название навыкаigniteui-angular-generate-from-image-design
Звёзды
599
Форки
161
Файлы в комплекте
2
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

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

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

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

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

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

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

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

Установка

Установите навык ИИ Igniteui Angular Generate From Image Design в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

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

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/IgniteUI/igniteui-angular/tree/master/skills/igniteui-angular-generate-from-image-design
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/IgniteUI/igniteui-angular.git /tmp/igniteui-angular
mkdir -p .claude/skills
cp -r /tmp/igniteui-angular/skills/igniteui-angular-generate-from-image-design .claude/skills/igniteui-angular-generate-from-image-design
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

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

Включите навык Igniteui Angular Generate From Image Design в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Igniteui Angular Generate From Image Design, как только появляется подходящий для него запрос.

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

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

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

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

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

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

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

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

Implementing Ignite UI Angular Views from Design Images

Required Steps Before Coding

Complete these steps in order before writing any implementation code:

  1. Analyze the image and identify all visible regions and UI patterns.
  2. Read references/component-mapping.md and references/gotchas.md.
  3. This skill is Angular-only. Check package layout or licensing only when imports, packages, or theming depend on it.
  4. To apply a theme, use the theming workflow from this skill and the dedicated igniteui-angular-theming skill; use the igniteui-theming MCP tools instead of styling from memory.
  5. Call get_doc for every chosen component family before using it.
  6. Only then start coding.

The igniteui-cli and igniteui-theming MCP servers are required. Before step 1, verify both by calling list_components (with framework: "angular") and detect_platform. If either tool is not available, configure the servers yourself by running npx -y igniteui-cli ai-config (or ig ai-config) from the project root, ask the user to reload the editor or agent session, and stop. Continue without them only if the user explicitly asks to — then fall back to the reference files of the igniteui-angular-components and igniteui-angular-grids skills and the igniteui-angular-theming skill's manual Sass workflow, and mark every API detail you could not verify as unverified.

Workflow

  1. Analyze the design image - Read the image, identify every UI section, component, layout structure.
  2. Confirm package layout if needed - this skill is Angular-only; check package layout or licensing only when imports, packages, or theming depend on it
  3. Discover components - Call list_components with targeted filters to find matching components for each UI pattern
  4. Look up component docs - Call get_doc for every chosen component family before coding
  5. Generate theme - (a) To generate a theme, first extract colors and create a color palette using create_palette or create_custom_palette depending on the scenario. Then extract elevations and call create_elevations. Then extract typography and call create_typography. Then call create_theme with the palette, elevations, and typography. (b) After a theme exists, prefer using design tokens or scoped semantic CSS variables over raw literals. (c) For every Ignite UI component, call get_component_design_tokens, map extracted image tokens to token roles, then call create_component_theme with the tokens differing from the global theme for the specific component.
  6. Install DV packages - if the design uses charts, maps, gauges, or sparklines, resolve and install the compatible DV packages (with approval)
  7. Implement - Build the screenshot-first layout, data, and view components
  8. Refine - Use the set_size, set_spacing, set_roundness tools to refine the view's visual fidelity against the image, then iterate on implementation and theming until the view matches the design closely
  9. Validate - Build, test, run, compare against the image, and fix differences

Step 1: Analyze the Design Image

Read the input image carefully. For each visual section, identify:

  • Layout structure: grid rows/columns, sidebar, navbar, content area proportions, and estimated fixed widths or percentages for major regions.

Note: Do not guess the exact CSS properties at this stage; just identify the high-level structure and relative proportions. Do not try to fit the view into exact breakpoints or pixel values. Try to generate a flexible layout that preserves the observed proportions and can adapt to different screen sizes. You will refine the exact CSS rules in Step 8 after building a first version of the view.

  • Component type: chart, list, card, map, gauge, table, form, etc.
  • Color palette: primary, secondary, surface/background, accent, text colors
  • Typography: font sizes, weights, letter-spacing patterns
  • Surface styling: borders, border-radius, shadows, elevation, divider treatments
  • Data patterns: what mock data is needed (time series, lists, KPIs, geographic)
  • Spacing system: translate observed padding and gaps into a small reusable scale derived from the design

Before writing code, create a decomposition table with one row per visible region containing:

RegionVisual roleCandidate componentCustom CSS requiredData type
Example: sidebar item listrepeated rows with icon + labelIgxListComponentyes - item height, icon sizedomain-appropriate mock data
Example: top barbrand + tabs + searchIgxNavbarComponentyes - multi-zone flex layoutn/a
Example: side panelalways-visible navigationIgxNavigationDrawerComponentyes - width, item stylingn/a

Start every region with the most appropriate Ignite UI component from references/component-mapping.md. Only fall back to plain semantic HTML when the component DOM structure is fundamentally incompatible with the design after CSS overrides are considered. Document the reason for any plain-HTML fallback in a code comment.

Before writing code, produce a compact implementation brief that captures:

  • chosen components per region
  • fallback HTML regions
  • theme strategy
  • package needs
  • major assumptions

After the table, translate the image into CSS Grid rows and columns first. Preserve desktop proportions before adding responsive behavior, then define explicit breakpoint stacking rules for smaller screens.

Step 2-3: Use MCP Tools for Discovery

This skill is Angular-only. Check package layout or licensing only when imports, packages, or theming depend on it.

If you need to confirm package layout or licensing state, act on the result immediately:

  • If the project uses Open Source package layout, use igniteui-angular for all core imports.
  • If the project is unlicensed or uses Open Source package layout, do not mark any core UI components as blocked or premium-only during implementation.
  • If the result indicates a licensed package layout, follow the licensed import paths shown in the component reference when needed.

Then call list_components with framework: "angular" and relevant filters to find components matching each UI pattern. Common filters:

  • chart, sparkline - for data visualization
  • list view, card, avatar, badge - for data display
  • nav, navbar, drawer - for navigation
  • progress, gauge - for metrics
  • map - for geographic displays
  • grid - for tabular data

Use narrow search terms to reduce noisy MCP results. Search for the specific UI pattern you need, such as list view instead of list.

For component-to-Ignite-UI mapping, see references/component-mapping.md.

Step 4: Look Up Component API

For every chosen component category that appears in the list_components results, call get_doc with its doc name field (not the result title). The doc catalog covers only a subset of components — for categories without a doc, read the matching reference files from the igniteui-angular-components / igniteui-angular-grids skills and use search_api for member-level API lookups. Read one or the other before coding — it gives exact usage patterns, inputs, and template structure.

Call search_docs for feature-based questions (e.g., "how to configure [component] for [specific behavior or styling need]") — it searches only the docs in the catalog.

Step 5: Generate Theme with MCP

Use this skill for the image-to-view theming workflow only. The dedicated igniteui-angular-theming skill remains the source of truth for palette-token behavior, global theme rules, and broader theming-system guidance.

5a - Existing app guard (always run first)

Before generating any theme code, inspect the project's global stylesheet (typically styles.scss). Look for an active @include theme(...) or @include palette(...) call that already references a palette variable.

  • Existing theme found -> the global palette is already set. Do not call create_theme or create_palette unless the user explicitly wants a global theme change. Instead:
    1. Inspect the existing theme definition and any exposed palette tokens or semantic CSS variables
    2. Reuse the current design system, variant, and palette tokens wherever they already match the design image
    3. Skip to 5c and apply only minimal scoped overrides for the new view's components
  • No theme found / blank/default palette -> proceed with 5b to generate a fresh global theme.

5b - Global theme generation (new projects only)

Follow this order - MCP guidance first, image extraction second:

  1. Read MCP guidance first - call theming://guidance/colors/rules (or get_theming_guidance) before looking at the image. This tells you the available theme inputs and any luminance or variant constraints.
  2. Resolve the design system - infer it from the existing workspace, explicit user request, or the closest visual match in the design. Do not assume one if a stronger signal exists.
  3. Extract from the image - now that you know the available slots, extract values only for the inputs you actually need.
  4. Call create_theme or create_palette with the extracted seed values:
create_theme({
  primaryColor: "<color extracted from image for primary slot>",
  secondaryColor: "<color extracted from image for secondary slot>",
  surfaceColor: "<color extracted from image for surface/background slot>",
  variant: "<resolved theme variant>",
  platform: "angular",
  licensed: <detected licensing state>,
  fontFamily: "<font extracted from image or existing app>",
  designSystem: "<resolved design system>"
})

Read and act on any luminance warnings returned. If the design needs multiple surface depths that a single generated surface color does not cover, use create_custom_palette or define semantic CSS variables for the additional depths in styles.scss.

Use create_palette for straightforward designs with a small, coherent color system. Use create_custom_palette when the design has multiple distinct surface depths, several accent families, or when the generated palette cannot reliably match the screenshot.

5c - Per-component token discovery and mapping (always run)

Scope: this step applies only to core Ignite UI Angular components (grid, list, navbar, drawer, card, inputs, chips, etc.). DV components - charts, maps, gauges, and sparklines - have no Sass design tokens. Skip this step for them and set their visual properties exclusively via component inputs as described in references/gotchas.md and in Step 7.

For every core Ignite UI component chosen in Steps 3-4, follow this MCP-first loop - query MCP before touching the image:

  1. Discover (MCP first) - call get_component_design_tokens(component) before looking at the image for that component. Read the full token list with names, types, and descriptions. Identify which tokens correspond to visible surfaces, text, borders, icons, and interaction states.
  2. Extract (image second) - now that you know the exact token names, go to the image region for that component and read the exact token value for each relevant token slot. Do not guess; zoom into the component region.
  3. Generate - call create_component_theme(component, platform, licensed, tokens) passing only the tokens whose resolved value differs from the global theme. This produces scoped SCSS with the minimal override set.

Example - theming a grid:

  • get_component_design_tokens("grid") returns header-background, content-background, row-hover-background among many others
  • Look at the grid region in the image -> extract the color intent for header, row background, and hover state
  • Resolve each value to a palette token or local semantic CSS variable
  • Call create_component_theme("grid", ...) with only { "header-background": "<resolved token>", "content-background": "<resolved token>", "row-hover-background": "<resolved token>" }

Apply the generated theme block using @include tokens(<theme-name>); as returned by create_component_theme.

Do not run create_component_theme for regions built with custom HTML/CSS only.

5d - Theming sequence summary

Apply in this exact order:

  1. Inspect styles.scss -> existing theme or blank?
  2. Create or update a theme: create_theme (Step 5b)
  3. For each Ignite UI component: get_component_design_tokens -> map image design tokens -> resolve values to design tokens or semantic CSS variables -> create_component_theme (Step 5c)
  4. Use get_color after palette generation whenever a palette token can represent the final color intent

If you use typography mixins with a comma-separated font family list, wrap the font families in parentheses as described in references/gotchas.md.

Step 6: Install DV Packages

Core UI components ship with igniteui-angular in Open Source projects and may use @infragistics/igniteui-angular in licensed setups. Charts, maps, gauges, and sparklines require additional DV packages. These packages are version-sensitive: determine the installed Ignite UI version, resolve the compatible published DV package version, and install only the package set required by the selected components. See references/component-mapping.md for package names and import patterns.

If DV packages are missing, identify the exact packages and versions required first, then ask for approval before installing packages or changing dependency manifests.

In standalone Angular apps, DV chart, map, and gauge packages are imported via modules in the component imports array, not as standalone components.

Step 7: Implement

Structure

  • Layout: use Ignite UI layout and data-display components as the starting point for standard regions, then apply CSS Grid/Flexbox and component overrides to match the screenshot. Only substitute plain semantic HTML when an Ignite UI component remains structurally incompatible after a genuine attempt
  • Data: use typed mock data that matches the design's density and domain; add models/services only when they help the implementation
  • View: keep layout, spacing, typography, and surface styling in SCSS rather than inline attributes
  • Theming: apply the resolved design system and theme variant from Step 5, and keep color usage aligned with palette tokens or local semantic CSS variables

Implementation Checks

  • Follow Angular and repo conventions from AGENTS.md and .github/copilot-instructions.md
  • Use references/component-mapping.md for component-choice and semantic-fallback rules
  • Use references/gotchas.md for components, theming, and API edge cases instead of re-encoding those rules inline
  • Favor Ignite UI components over custom HTML when both approaches can reach similar visual fidelity
  • Import standalone pipes explicitly when their template syntax requires them
  • Preserve spacing, hierarchy, and data density before adding extra interactivity
  • Avoid generic placeholders when the image shows domain-specific content
  • Document brief assumptions when the image is ambiguous instead of silently guessing

Step 8: Refine

After the first implementation pass, use the set_size, set_spacing, and set_roundness tools to adjust the view's visual properties and close the gap with the image. Focus on the most visually distinctive elements first (e.g., panel proportions, chart shape, button prominence) before tuning smaller details (e.g., row heights, spacing between regions).

Step 9: Validate

Use this validation loop explicitly:

  1. Build
  2. Test
  3. Run the app
  4. Visually compare against the image
  5. Adjust and repeat

In terminal-only environments, the user performs the visual comparison and provides feedback on any mismatches. Only perform the visual check directly when the environment has browser and screenshot capabilities available to the agent.

Use this checklist during the first visual comparison:

  • panel proportions
  • control density
  • chart shape
  • legend placement
  • button prominence
  • row heights
  • spacing between regions

Fix TypeScript or template errors immediately during the build/test steps. Use the build output, component docs, references/gotchas.md, and the user's visual feedback to close the remaining gaps. Typical adjustments include:

  • revisiting chart data density, smoothing, or marker visibility
  • adjusting layout ratios, region spacing, or row heights
  • correcting navigation mode, panel chrome, or component choice
  • tuning map/filter treatment and dark-surface hierarchy
  • re-examining the original design for overlooked sections or missing imports

After the build succeeds with zero errors, refine layout proportions, color values, missing sections, and typography until the view matches closely.

Related Skills

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

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

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

Что делает навык ИИ Igniteui Angular Generate From Image Design?

Реализует представления приложения Angular по изображениям дизайна с помощью компонентов Ignite UI Angular. Использует MCP-серверы (igniteui-cli, igniteui-theming, angular-cli), чтобы находить компоненты, создавать темы и следовать рекомендациям. КОГДА ИСПОЛЬЗОВАТЬ: если пользователь предоставляет изображение дизайна (скриншот, макет или каркас) и хочет преобразовать его в работающее представление Angular с компонентами igniteui-angular либо просит «реализовать этот дизайн», «создать этот интерфейс», «преобразовать этот макет» или «создать страницу по этому изображению» в проекте Ignite UI...

Зачем использовать Igniteui Angular Generate From Image Design в TypingMind?

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

Как установить Igniteui Angular Generate From Image Design в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/IgniteUI/igniteui-angular/tree/master/skills/igniteui-angular-generate-from-image-design. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Igniteui Angular Generate From Image Design?

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

Со сколькими моделями ИИ можно использовать Igniteui Angular Generate From Image Design?

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

Бесплатен ли навык ИИ Igniteui Angular Generate From Image Design?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — IgniteUI. Вы платите только своему поставщику ИИ за использованные токены.

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

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

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

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

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

Brand Discovery

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

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

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

Competitive Platform Analysis

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

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

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

Frontend Slides

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

Создавайте впечатляющие HTML-презентации с множеством анимаций с нуля или преобразуйте файлы PowerPoint. Используйте этот навык, если пользователь хочет подготовить презентацию, преобразовать PPT/PPTX в веб-формат или создать слайды для…

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

Plan Canvas

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

Открывайте планы и HTML-артефакты в локальном браузерном холсте: пользователь может оставлять пометки на элементах, общаться и одобрять результат или запрашивать изменения, не покидая страницу. Используйте, когда нужно представить план на проверку или…

40.4K
270.2K
Файлы: 1
Открыть

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

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