ObjectiveC-convert

ObjectiveC-convert is a skill for Claude Code, Codex from HuolalaTech/huolala-figma-mcp. It costs 50 tokens per session (471 once invoked), scanned A, original, Apache-2.0.

A rulebook and checklist for converting a design or HTML page into native iOS code written in Objective-C. It covers project files, images, layout, interface controls, interactions, and style checks.

In plain words
What is it for?
Use it to turn HTML or design screens into Objective-C views, organize image assets, convert layouts and repeating content, and verify that styles were carried over.
Why use it?
It helps preserve the original page’s appearance and behavior while replacing web elements with suitable iOS components.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to turn HTML or design screens into Objective-C views, organize image assets, convert layouts and repeating content, and verify that styles were carried over.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huolalatech/huolala-figma-mcp/objectivec-convert
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 HuolalaTech/huolala-figma-mcp --skill objectivec-convert
Clone the repo
git clone --depth 1 https://github.com/HuolalaTech/huolala-figma-mcp

Made for: Claude Code, Codex.

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 ObjectiveC-convert

README.md
[![agentmods](https://agentmods.dev/badge/skills/huolalatech/huolala-figma-mcp/objectivec-convert/github.svg)](https://agentmods.dev/skills/huolalatech/huolala-figma-mcp/objectivec-convert)
Your own site
<a href="https://agentmods.dev/skills/huolalatech/huolala-figma-mcp/objectivec-convert"><img src="https://agentmods.dev/badge/skills/huolalatech/huolala-figma-mcp/objectivec-convert/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 ObjectiveC-convert

Your own site · 80×15
<a href="https://agentmods.dev/skills/huolalatech/huolala-figma-mcp/objectivec-convert"><img src="https://agentmods.dev/badge/skills/huolalatech/huolala-figma-mcp/objectivec-convert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 471 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.00050 $0.00471
Opus 5 $0.00025 $0.00235
Sonnet 5 $0.00010 $0.00094
Haiku 4.5 $0.00005 $0.00047

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

Security

Grade A, and why

ObjectiveC-convert 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 11d 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.

assets/skills/ObjectiveC-convert/SKILL.md · 36 lines

What it actually says

iOS 平台代码生成规范

将设计稿/HTML 转为 iOS 原生视图(UIView、UILabel、UIImageView 等)时的结构、样式、交互与验证要求。

When to Use

  • 将 HTML/index.html 转为 Objective-C 时

Instructions

文件结构要求

  • 如果用户要求了文件结构或者修改范围,以用户要求的为准

图片资源处理

1.在index.html同级目录中如果存在多个images_{number}的文件夹{number}取之1~4,表示多种倍数的图。 2.需要放到Assets.xcassets 目录中,保证代码能正确引用 3.图片重命名:语义化,保持唯一性,不能和已存在的图片名称重名

布局实现

将flex布局转成Masonry实现的约束布局,如果用户非cocoapods工程或没有安装则在podfile中添加 pod 'Masonry'

组件实现

1.特殊处理:indexl.html中的CheckBox、RadioButton、Switch不能用image实现,需要转成iOS系统组件实现 2.循环组件使用 UITableViewUICollectionView 3.组件识别并转成系统组件实现,添加交互件处理代码

样式完整性验证(⚠️ 强制要求):

  • 必须验证:对于每个元素,所有样式属性 = 原始行内样式的完整集合
  • 验证方法
    1. 提取原始行内样式的所有属性(包括 flexbox 属性:flexDirection、justifyContent、alignItems等)
    2. 转换为iOS的约束和属性
    3. 确保所有属性都完整且值精确匹配
  • 验证失败处理:必须修复后重新验证,不能跳过
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. 11d ago First seen · 36 lines · 0 tokens per session scan A 59bab3951ecd

Subscribe to this mod's changes

ObjectiveC-convert is a skill published in the GitHub repository HuolalaTech/huolala-figma-mcp (78 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 50 tokens to every session and 471 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-30.

Related

Other skills, from other repositories

orca-emulator-android

Android device and emulator control from inside Orca over adb, with the live device view in Orca's emulator pane. Use when driving an adb-connected emulator or phone on Windows, Linux, or macOS: booting AVDs, taps, swipes, typing, hardware buttons, rotation, app install and launch, runtime permissions, the…

stablyai/orca · 102 tokens

android-tombstone-symbolication

Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app…

dotnet/skills · 176 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

winapp-maui

Package and sign .NET MAUI Windows apps with winapp, resolving the resizetizer manifest dependency. Use when packaging or signing a .NET MAUI Windows app, building a MAUI MSIX or signed unpackaged build in CI, or fixing 'manifest contains unresolved placeholders ($placeholder$)' errors from winapp package.

microsoft/winappCli · 71 tokens

react-native-ease-refactor

Scan for Animated/Reanimated code and migrate to EaseView.

appandflow/react-native-ease · 18 tokens

apple-search-ads

When the user wants to set up, optimize, or scale Apple Search Ads (ASA) campaigns — including keyword bidding, match types, campaign structure, Creative Product Sets, CPP routing, and ROAS optimization. Use when the user mentions "Apple Search Ads", "ASA", "Search Ads", "Search tab ads", "Today tab ads", "CPT"…

Eronred/aso-skills · 127 tokens