igniteui-react-generate-from-image-design — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited igniteui-react-generate-from-image-design (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Before writing any implementation code, you must complete these steps in order:
igniteui-react-customize-theme skill; use the igniteui-theming MCP tools instead of styling from memory. This skill is React-only, so hardcode platform: "react" in theme-generation calls.get_doc for every chosen component family before using it.list_components with targeted filters to find matching components for each UI pattern.get_doc for every chosen component family before coding.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 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.set_size, set_spacing, and 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.Read the input image carefully. For each visual section, identify:
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.
Before writing code, create a decomposition table with one row per visible region containing:
| Region | Visual role | Candidate component | Custom CSS required | Data type |
|---|---|---|---|---|
| Example: sidebar item list | repeated rows with icon + label | IgrList | yes - item height, icon size | domain-appropriate mock data |
| Example: top bar | brand + tabs + search | IgrNavbar | yes - multi-zone flex layout | n/a |
| Example: side panel | always-visible navigation | IgrNavDrawer | yes - width, item styling | n/a |
Start every region with the most appropriate Ignite UI component from reference/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:
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.
This skill is React-only. Check package routing, theme CSS imports, or licensing only when imports, packages, or theming depend on it.
Then call list_components with framework: "react" and relevant filters to find components matching each UI pattern. Common filters:
chart, sparkline - for data visualizationlist view, card, avatar, badge - for data displaynav, navbar, drawer - for navigationprogress, gauge - for metricsmap - for geographic displaysgrid, grid lite - for tabular dataUse 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 reference/component-mapping.md.
For every chosen component category, call get_doc with the doc name from list_components results (e.g., name: "card", framework: "react"). Use the doc name field from the MCP results, not the result title shown in the list. This is mandatory before coding and gives exact React usage patterns, prop names, slot structure, event signatures, and any required module registration.
Call search_docs for feature-based questions (e.g., "how to configure [component] for [specific behavior or styling need]").
Use this skill for the image-to-view theming workflow only. The dedicated igniteui-react-customize-theme skill remains the source of truth for palette-token behavior, global theme rules, and broader theming-system guidance.
Before generating any theme code, inspect the app entry points and shared global styles. Typical files include main.tsx, index.tsx, App.tsx, app/layout.tsx, src/index.css, and other shared CSS files. Look for:
igniteui-webcomponents/themes/...igniteui-react-grids/grids/themes/...Treat a plain stock theme CSS import as required baseline setup, not as evidence of an already customized design system.
create_theme or create_palette unless the user explicitly wants a global theme change. Instead:Follow this order - MCP guidance first, image extraction second:
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.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: "react",
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 the app's global stylesheet.
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.
Scope: this step applies only to core Ignite UI React components (grid, grid lite, list, navbar, nav drawer, card, inputs, chips, avatar, etc.). DV components - charts, maps, gauges, and sparklines - do not use the component-token theme generation flow in this skill. Skip this step for them and set their visual properties exclusively via component props as described in reference/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:
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.create_component_theme(component, platform, licensed, tokens) passing only the tokens whose resolved value differs from the global theme. This produces scoped CSS or 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 otherscreate_component_theme("grid", ...) with only { "header-background": "<resolved token>", "content-background": "<resolved token>", "row-hover-background": "<resolved token>" }Apply the generated theme blocks in CSS using a scoped wrapper and the underlying web component selectors shown in the MCP output. In selectors, use the rendered igc-* tags or ::part() hooks where applicable.
Do not run create_component_theme for regions built with custom HTML/CSS only.
Apply in this exact order:
create_theme or create_palette as needed (Step 5b)get_component_design_tokens -> map image design tokens -> resolve values to design tokens or semantic CSS variables -> create_component_theme (Step 5c)get_color after palette generation whenever a palette token can represent the final color intentCore UI components ship with igniteui-react. Grid Lite requires both igniteui-react and igniteui-grid-lite. Advanced grids, charts, maps, and gauges use separate React package families and may also appear under @infragistics/igniteui-react-* in licensed workspaces. These packages are version-sensitive: determine the installed Ignite UI version, resolve the compatible published package version, and install only the package set required by the selected components. See reference/component-mapping.md for package names and import patterns.
Theme CSS imports are also required:
igniteui-webcomponents/themes/<variant>/<design-system>.cssigniteui-react-grids/grids/themes/<variant>/<design-system>.cssIf packages are missing, identify the exact packages and versions required first, then ask for approval before installing packages or changing dependency manifests.
Charts, maps, and gauges also require explicit *.register() calls at module level in React files. Grid Lite does not require registration.
igniteui-react-components and igniteui-react-customize-themeAfter 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).
Use this validation loop explicitly:
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:
Fix TypeScript, JSX, styling, or runtime errors immediately during the build/test steps. Use the build output, component docs, reference/gotchas.md, and the user's visual feedback to close the remaining gaps. Typical adjustments include:
After the build succeeds with zero errors, refine layout proportions, color values, missing sections, and typography until the view matches closely.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.