Skip to content

Port Figma AI's kuat-tokens/kuat-components tool-name fixes back to source - #26

Open
efordee24 wants to merge 1 commit into
mainfrom
feature/figma-custom-skills
Open

efordee24 wants to merge 1 commit into
mainfrom
feature/figma-custom-skills

Conversation

@efordee24

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #25 (merged). After uploading kuat-tokens and kuat-components to Figma AI's custom skills manager, Figma AI's own runtime corrected the tool references in both — that runtime exposes a different native tool surface (search_variables, search_styles, assistant_component_search, evaluate_script) than the one these skills were originally authored against (search_design_system, get_variable_defs). This ports those corrections back into the checked-in sources so both copies stay in sync.

Changes

kuat-tokens

  • Add a "Figma AI tool mapping" section naming the four real tools.
  • Add a "Variable naming convention in Kuat2" section documenting the semantic/ prefix and the full rounded-* radius scale (none/sm/md/lg/xl/2xl/full) as discovered against the live library.
  • Replace search_design_system/get_variable_defs references throughout with search_variables/search_styles; radius-* examples renamed to rounded-* to match real Kuat2 variable names, with a "Figma variable name" column added to the radius-by-category table.

kuat-components

  • Add a "Figma AI tool mapping for component discovery" section.
  • Replace search_design_system references with assistant_component_search.
  • Name the concrete semantic/rounded-none variable in the content-card radius trap.

Verification

Re-ran node skills/scripts/bundle-skills.mjs — all six figma-custom-skills files still validate under the 65,536-char limit, no build errors:

Skill Chars
kuat-create 7,231
kuat-tokens 13,099
kuat-composition 11,215
kuat-patterns 11,669
kuat-components 9,438
kuat-review 6,548

Content was verified line-for-line against the Figma-pulled copies before merging (diffed with frontmatter/footer stripped — exact match).

🤖 Generated with Claude Code

…ource

Figma AI's custom-skills runtime uses a different native tool surface than the one
these skills were originally authored against — search_variables, search_styles,
assistant_component_search, and evaluate_script, not search_design_system /
get_variable_defs. Since uploading kuat-tokens and kuat-components to Figma AI's
custom skills manager, the tool references in both were corrected there; this
ports those corrections back into the checked-in sources so the two copies stay
in sync.

kuat-tokens:
- Add a "Figma AI tool mapping" section naming the four real tools.
- Add a "Variable naming convention in Kuat2" section documenting the semantic/
  prefix and the full rounded-* radius scale (none/sm/md/lg/xl/2xl/full) as
  discovered against the live library.
- Replace search_design_system/get_variable_defs references throughout with
  search_variables/search_styles; radius-* examples renamed to rounded-* to
  match real Kuat2 variable names, with a Figma variable name column added to
  the radius-by-category table.

kuat-components:
- Add a "Figma AI tool mapping for component discovery" section.
- Replace search_design_system references with assistant_component_search.
- Name the concrete rounded-none variable in the content-card radius trap.

Re-ran node skills/scripts/bundle-skills.mjs; all six figma-custom-skills files
still validate under the 65,536-char limit (kuat-tokens 13,099; kuat-components
9,438 chars).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant