figma-ios-minimum-deployment-12

figma-ios-minimum-deployment-12 is a skill for Cursor from mythkiven/figma-ios-codegen. It costs 69 tokens per session (497 once invoked), scanned A, original, MIT.

A coding rule for Swift and Objective-C interfaces that must run on iOS 12 or newer. It explains how to avoid newer iOS APIs or protect them with availability checks and older alternatives.

In plain words
What is it for?
Use it when generating or reviewing iOS interface code, especially code involving system icons, status bars, rounded corners, or newer UIKit APIs.
Why use it?
It prevents generated interface code from failing to build or work on devices that use iOS 12.

Skill for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when generating or reviewing iOS interface code, especially code involving system icons, status bars, rounded corners, or newer UIKit APIs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mythkiven/figma-ios-codegen/figma-ios-minimum-deployment-12
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mythkiven/figma-ios-codegen --skill figma-ios-minimum-deployment-12
Clone the repo
git clone --depth 1 https://github.com/mythkiven/figma-ios-codegen

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for figma-ios-minimum-deployment-12

README.md
[![agentmods](https://agentmods.dev/badge/skills/mythkiven/figma-ios-codegen/figma-ios-minimum-deployment-12/github.svg)](https://agentmods.dev/skills/mythkiven/figma-ios-codegen/figma-ios-minimum-deployment-12)
Your own site
<a href="https://agentmods.dev/skills/mythkiven/figma-ios-codegen/figma-ios-minimum-deployment-12"><img src="https://agentmods.dev/badge/skills/mythkiven/figma-ios-codegen/figma-ios-minimum-deployment-12/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for figma-ios-minimum-deployment-12

Your own site · 80×15
<a href="https://agentmods.dev/skills/mythkiven/figma-ios-codegen/figma-ios-minimum-deployment-12"><img src="https://agentmods.dev/badge/skills/mythkiven/figma-ios-codegen/figma-ios-minimum-deployment-12.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 497 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.00497
Opus 5 $0.00034 $0.00249
Sonnet 5 $0.00014 $0.00099
Haiku 4.5 $0.00007 $0.00050

Measured 9d ago against content hash d79de92df967, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

figma-ios-minimum-deployment-12 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/figma-ios-minimum-deployment-12/SKILL.md · 36 lines

What it actually says

最低系统:iOS 12

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

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

类别 iOS 13+ API iOS 12 做法
图片 UIImage(systemName:)(SF Symbols) #available(iOS 13, *) 使用;否则 矢量绘制UIImage(named:) 或项目内图标字体
状态栏 UIStatusBarStyle.darkContent iOS 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
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 36 lines · 69 tokens per session scan A d79de92df967

Subscribe to this mod's changes

figma-ios-minimum-deployment-12 is a skill published in the GitHub repository mythkiven/figma-ios-codegen (9 stars, last pushed 2mo ago), licensed MIT. It adds 69 tokens to every session and 497 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

swiftui-view-architect

Refactor oversized SwiftUI view files into stable, dedicated subviews with MV-first data flow, explicit dependencies, extracted actions, and correct Observation usage.

Xopoko/build-swift-apps · 36 tokens

flutter-codestyle

Custom Instructions: Senior Flutter & Dart Engineer.

GulajavaMinistudio/awesome-copilot-id · 13 tokens

ios-agent-skill

Expert iOS/Swift developer behavior for AI coding agents. Use when writing, reviewing, or refactoring Swift, SwiftUI, UIKit, or SwiftData code; when designing iOS app architecture (MVVM, Clean Architecture, coordinators, routing); when building UI that must meet Apple's Human Interface Guidelines, contrast, dark-mode…

Nagarjuna2997/ios-agent-skill · 167 tokens

bootstrap-ios

Bootstrap agents for iOS, iPadOS, macOS, Swift, SwiftUI, SwiftData/Core Data, Swift Testing, Xcode build/test/debug, Simulator, App Intents, or XcodeBuildMCP work. Use before building, fixing, refactoring, QAing, or setting up Apple-platform repos, and when asked to load/install Ray's iOS skills or bootstrap iOS.

RayFernando1337/rayfernando-skills · 84 tokens

build-swift-apps

Route broad or ambiguous Swift and Apple-platform work to a focused skill; this router does not implement domain work. Covers iOS, macOS, SwiftUI, Xcode, Simulator, App Store Connect, Tuist, SwiftPM, signing, profiling, and Apple research.

Xopoko/build-swift-apps · 61 tokens

swiftui-skills

Apple-authored SwiftUI and platform guidance extracted from Xcode. Helps AI agents write idiomatic, Apple-native SwiftUI with reduced hallucinations.

ameyalambat128/swiftui-skills · 34 tokens