agentsclimarketplace

Figma ios minimum deployment 12

Skill mythkiven/figma-ios-codegen/.cursor/skills/figma-ios-minimum-deployment-12

Figma to iOS UIKit codegen: deterministic data package + Agent skills (Cursor/Claude) for baseline Swift UI.

Install
npx -y skills add mythkiven/figma-ios-codegen --skill figma-ios-minimum-deployment-12

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 25 days oldThe repository was created 25 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 8 stars8 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Generated Swift and Objective-C UI code must run on iOS 12.0+. Avoid APIs introduced in iOS 13+ unless wrapped in availability checks. Use when the user mentions iOS 12, minimum deployment, SF Symbols, darkContent status bar, or CALayerCornerCurve.

SKILL.md

1.6 KB, as published. Nobody here has run it

最低系统:iOS 12

本仓库产出、或按 Figma/MK 规范生成的 Swift / Objective-C 界面代码,部署目标最低为 iOS 12.0,除非用户显式提高版本。

Swift:禁止或需封装的 API(常见)

类别iOS 13+ APIiOS 12 做法
图片UIImage(systemName:)(SF Symbols)#available(iOS 13, *) 使用;否则 矢量绘制UIImage(named:) 或项目内图标字体
状态栏UIStatusBarStyle.darkContentiOS 12 用 .default(浅底深字);13+ 再用 .darkContent
圆角CALayer.cornerCurve.continuous删除;仅用 cornerRadius(iOS 12 无连续曲率)
其它UIColor(dynamicProvider:)UIAction查文档,用 #available 分支或替代实现

Objective-C

  • 同样遵守:不得无条件调用仅 iOS 13+ 的类方法/枚举。
  • 使用 if (@available(iOS 13.0, *)) { ... } else { ... }

原则

  • 新增界面代码前默认 能编过 IPHONEOS_DEPLOYMENT_TARGET = 12.0
  • 若必须使用高版本 API,必须 显式 @available / #available 并提供 else 分支

相关

  • 总入口(推荐流程、Skill 索引、新增 Skill 防重叠规则):figma-ios-playbook

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.