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.5 $0.00028 $0.00199
Sonnet 5.5 $0.00014 $0.00099
Haiku 4.5 $0.00007 $0.00050

Measured 2mo ago against content hash d79de92df967, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 3mo ago), licensed MIT. It adds 69 tokens to every session and 497 once invoked, about $0.0003 per session on Opus 5.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

compose-platform

Owns platform splits for Compose Multiplatform apps: places declarations in commonMain, chooses expect/actual vs interface plus DI, wires host adapters and ports, and validates iOS/Swift interop, desktop and web targets, and platform lifecycle. Use when touching commonMain, expect, actual, iosMain, Swift, SKIE, Flow…

Meet-Miyani/compose-skill · 129 tokens

cometchat-android-v6-kotlin-placement

Where the CometChat Android v6 chat UI goes in a Kotlin XML Views app — the default conversations→message Activity flow, growing to the tab-based app (chats/users/groups/calls + detail, thread and search screens + incoming calls), a single one-to-one screen, or chat embedded in an existing Activity/Fragment, with a…

cometchat/cometchat-skills · 127 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

ios-builder

Turn an Apple app idea into a concrete implementation using Swift, Apple technology references, release notes, and separately editable Icon Composer layers. Use for creating or extending native Apple apps; requires a coding environment for file edits and Xcode for iOS builds.

Nagarjuna2997/ios-agent-skill · 53 tokens

visionos-swift-spatial

Architecting native spatial computing applications for visionOS using Swift, SwiftUI, RealityKit, and ARKit. Use when developing 3D Windows, Volumes, Immersive Spaces, RealityView components, Spatial Audio, ShaderGraph Materials, and Hand/Eye tracking interaction models.

hamzabellouch/agent-skills · 64 tokens