feat: introduce a skill for figma-to-app implementation#17309
Draft
simeonoff wants to merge 6 commits into
Draft
feat: introduce a skill for figma-to-app implementation#17309simeonoff wants to merge 6 commits into
simeonoff wants to merge 6 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new igniteui-angular-figma-to-app skill that guides AI agents through a structured, multi-phase workflow to translate Indigo.Design-based Figma screens into Ignite UI for Angular implementations, including theming and Playwright-based visual validation.
Changes:
- Introduces the
igniteui-angular-figma-to-appskill with a 6-phase, MCP-orchestrated implementation protocol. - Adds reference docs for MCP setup, component mapping, theming token bridging, asset extraction, and Playwright validation patterns.
- Establishes a decomposition → doc-driven component discovery → theming → implementation → measurement-based validation loop.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| skills/igniteui-angular-figma-to-app/SKILL.md | New end-to-end skill definition and phased workflow for Figma → Angular implementation. |
| skills/igniteui-angular-figma-to-app/references/validation-patterns.md | Playwright measurement/validation loop patterns and pitfalls. |
| skills/igniteui-angular-figma-to-app/references/mcp-setup.md | Setup instructions for Figma, Ignite UI CLI, Ignite UI Theming, and Playwright MCP servers. |
| skills/igniteui-angular-figma-to-app/references/figma-component-map.md | Indigo.Design kit layer names mapped to Ignite UI Angular components and docs keys. |
| skills/igniteui-angular-figma-to-app/references/design-token-bridge.md | Guidance for translating Figma variables into Ignite UI theming inputs and scoped overrides. |
| skills/igniteui-angular-figma-to-app/references/asset-extraction.md | High-fidelity asset extraction workflow via Figma REST API, plus Angular usage patterns. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…action, and spacing guidance
- Rename kit references to Indigo.Design UI Kits
(Material/Fluent/Bootstrap/Indigo);
add kit variant detection and direct designSystem mapping in Phase
1d and
design-token-bridge.md
- Asset extraction now always uses the Figma REST API (Method A:
/v1/files/:key/images
for image fills; Method B: /v1/images/:key for node exports);
demote
figma_get_screenshot and localhost URLs to identification-only use
replace with scoped CSS custom property patterns
- Rename "Figma UI Kit Name" table columns to "Kit Component Name"
throughout
figma-component-map.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Introduces a new AI agent skill —
igniteui-angular-figma-to-app— that instructs AI models how to translate Figma app screens designed with the Indigo.Design UI Kits (Material, Fluent, Bootstrap, Indigo variants) into production Angular applications using Ignite UI for Angular components.The skill orchestrates four MCP servers across a 6-phase workflow:
npx igniteui-cli newIgxXxxselectors; fetchget_docfor every component before writing code--ig-size/--ig-spacingbrowser_evaluatemeasurement loop against Figma reference; severity-classified correctionsMotivation / Context
There was no structured guidance for AI models working in the Figma → Angular direction. The existing
igniteui-angular-generate-from-image-designskill handles static screenshots; this skill targets the structured, token-rich data available from a live Figma file — a fundamentally different and higher-fidelity source. It also closes the feedback loop with automated visual validation against the original design.Component(s) / Area(s) Affected:
skills/igniteui-angular-figma-to-appType of Change (check all that apply):
How Has This Been Tested?