Universal Figma Skill
Goal
Run one deterministic, end-to-end workflow for Figma-driven Angular delivery without manually switching between multiple skills.
Skill Composition
Load and apply these source skills in this order:
../figma-make-guidelines/SKILL.md
../figma-make-angular20-tailwind4-implementation/SKILL.md
../figma-atomic-design-implementation/SKILL.md
../figma-lucide-angular-bridge/SKILL.md
../angular-folder-structure/SKILL.md
../angular-component-rule/SKILL.md
If one source file is unavailable, continue with remaining sources and report the missing file.
Required Inputs
Collect and confirm these inputs before editing:
- Target project/workspace path.
- Design source (Figma URL/file key/node ID, Figma Make export path, or screenshot scope).
- Implementation scope (route, page, component, or refactor boundary).
If one required input is missing and cannot be inferred safely, ask one blocking question and stop before edits.
Execution Order (Deterministic)
Phase 1: Intake and baseline
- Collect the minimum required design and project inputs.
- Verify Angular and Tailwind versions and existing architecture quickly.
- Infer missing non-blocking details and avoid long discovery chat.
- Identify existing reusable components/tokens before creating new UI primitives.
Phase 2: Guidelines and mapping
- Generate or update
guidelines/Guidelines.md only when the request includes Figma Make guideline creation or standardization.
- Map Figma frames/components to Angular boundaries (route, page, template, organism, molecule, atom).
- Plan reusable primitives before page-level implementation.
Phase 3: Implementation
- Implement in Atomic Design sequence: atoms, molecules, organisms, templates, pages.
- Follow Angular 20 + Tailwind v4 project conventions and reuse existing components first.
- Apply Lucide bridge rules: replace Lucide icon assets with
lucide-angular only when confidently mapped and already installed.
- Keep edits limited to scoped files and direct shared dependencies.
Phase 4: Structure and completeness enforcement
- Enforce feature-first folder boundaries and pages/templates/components/data-access placement.
- Enforce Angular component companion files and structural rules for all touched components.
- Auto-create missing companions non-destructively, including stories only when Storybook is detected.
Phase 5: Validation and report
- Run targeted verification (tests/typecheck/build as appropriate).
- Report implementation paths, reuse decisions, assumptions, and verification results.
- Report component completeness metrics and any unfixable structural violations.
- If verification cannot run, state exactly what was unavailable and why.
Branching Rules
- If the user asks only for guidelines output, run only the guideline branch and stop.
- If the user asks only for code implementation, skip guideline generation unless explicitly requested.
- If the user asks for architecture or folder refactor, prioritize folder-structure enforcement before deep UI edits.
- If
lucide-angular is not installed, do not install from this skill; keep normal asset flow.
- If design scope is ambiguous across multiple plausible targets, ask one blocking scope question before edits.
Guardrails
- Preserve existing project architecture unless user requests wider refactor.
- Do not introduce new UI/icon libraries.
- Do not overwrite existing files when enforcing component completeness.
- Ask at most one blocking question at a time; otherwise proceed with conservative assumptions.
- Use repository tokens/patterns over raw Figma values when they conflict; report deltas.
Required Output Contract
Return:
- Workflow branches executed.
- Files created or updated with paths.
- Atomic component tree for implemented UI (when code was changed).
- Reuse vs new-component decisions.
- Style and Storybook detection outcomes.
- Verification commands run and outcomes.
- Remaining manual follow-ups, if any.
Success Criteria
The run is complete only when:
- Executed branches match user scope and are listed explicitly.
- All touched files comply with folder and companion-file rules.
- Validation status is truthful (pass/fail/unavailable with reason).
- Report includes assumptions, design-to-code deltas, and follow-ups.
1---2name: universal-figma-skill3description: Unified Figma-to-Angular 20 delivery workflow for implementation and refactor requests. Use when users ask to implement UI from Figma URLs or node IDs, convert Figma Make exports to Angular 20 + Tailwind v4, enforce Atomic Design decomposition, normalize feature-first folder structure, apply component companion-file rules, and bridge eligible icons to existing lucide-angular usage without adding new UI/icon libraries.4---5
6# Universal Figma Skill
7
8## Goal
9
10Run one deterministic, end-to-end workflow for Figma-driven Angular delivery without manually switching between multiple skills.
11
12## Skill Composition
13
14Load and apply these source skills in this order:
15
161. `../figma-make-guidelines/SKILL.md`
172. `../figma-make-angular20-tailwind4-implementation/SKILL.md`
183. `../figma-atomic-design-implementation/SKILL.md`
194. `../figma-lucide-angular-bridge/SKILL.md`
205. `../angular-folder-structure/SKILL.md`
216. `../angular-component-rule/SKILL.md`
22
23If one source file is unavailable, continue with remaining sources and report the missing file.
24
25## Required Inputs
26
27Collect and confirm these inputs before editing:
28
291. Target project/workspace path.
302. Design source (Figma URL/file key/node ID, Figma Make export path, or screenshot scope).
313. Implementation scope (route, page, component, or refactor boundary).
32
33If one required input is missing and cannot be inferred safely, ask one blocking question and stop before edits.
34
35## Execution Order (Deterministic)
36
37### Phase 1: Intake and baseline
38
391. Collect the minimum required design and project inputs.
402. Verify Angular and Tailwind versions and existing architecture quickly.
413. Infer missing non-blocking details and avoid long discovery chat.
424. Identify existing reusable components/tokens before creating new UI primitives.
43
44### Phase 2: Guidelines and mapping
45
461. Generate or update `guidelines/Guidelines.md` only when the request includes Figma Make guideline creation or standardization.
472. Map Figma frames/components to Angular boundaries (route, page, template, organism, molecule, atom).
483. Plan reusable primitives before page-level implementation.
49
50### Phase 3: Implementation
51
521. Implement in Atomic Design sequence: atoms, molecules, organisms, templates, pages.
532. Follow Angular 20 + Tailwind v4 project conventions and reuse existing components first.
543. Apply Lucide bridge rules: replace Lucide icon assets with `lucide-angular` only when confidently mapped and already installed.
554. Keep edits limited to scoped files and direct shared dependencies.
56
57### Phase 4: Structure and completeness enforcement
58
591. Enforce feature-first folder boundaries and pages/templates/components/data-access placement.
602. Enforce Angular component companion files and structural rules for all touched components.
613. Auto-create missing companions non-destructively, including stories only when Storybook is detected.
62
63### Phase 5: Validation and report
64
651. Run targeted verification (tests/typecheck/build as appropriate).
662. Report implementation paths, reuse decisions, assumptions, and verification results.
673. Report component completeness metrics and any unfixable structural violations.
684. If verification cannot run, state exactly what was unavailable and why.
69
70## Branching Rules
71
721. If the user asks only for guidelines output, run only the guideline branch and stop.
732. If the user asks only for code implementation, skip guideline generation unless explicitly requested.
743. If the user asks for architecture or folder refactor, prioritize folder-structure enforcement before deep UI edits.
754. If `lucide-angular` is not installed, do not install from this skill; keep normal asset flow.
765. If design scope is ambiguous across multiple plausible targets, ask one blocking scope question before edits.
77
78## Guardrails
79
801. Preserve existing project architecture unless user requests wider refactor.
812. Do not introduce new UI/icon libraries.
823. Do not overwrite existing files when enforcing component completeness.
834. Ask at most one blocking question at a time; otherwise proceed with conservative assumptions.
845. Use repository tokens/patterns over raw Figma values when they conflict; report deltas.
85
86## Required Output Contract
87
88Return:
89
901. Workflow branches executed.
912. Files created or updated with paths.
923. Atomic component tree for implemented UI (when code was changed).
934. Reuse vs new-component decisions.
945. Style and Storybook detection outcomes.
956. Verification commands run and outcomes.
967. Remaining manual follow-ups, if any.
97
98## Success Criteria
99
100The run is complete only when:
101
1021. Executed branches match user scope and are listed explicitly.
1032. All touched files comply with folder and companion-file rules.
1043. Validation status is truthful (pass/fail/unavailable with reason).
1054. Report includes assumptions, design-to-code deltas, and follow-ups.