native

native is a skill for Claude Code from xiaobei930/cc-best. It costs 29 tokens per session (676 once invoked), scanned A, original, MIT.

A guide to developing native applications for Apple platforms and Tauri desktop apps, including architecture, performance, and testing practices.

In plain words
What is it for?
Use it for iOS or macOS applications, Tauri desktop software, platform integration, concurrency, SwiftUI performance, and app testing.
Why use it?
It helps developers account for platform-specific behavior, performance, and user-interface requirements when building apps outside the browser.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the cc-best plugin — 19 skills, 44 commands, 8 agents, 20 hooks shipped together

Good fit Use it for iOS or macOS applications, Tauri desktop software, platform integration, concurrency, SwiftUI performance, and app testing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaobei930/cc-best/native
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 xiaobei930/cc-best --skill native
Clone the repo
git clone --depth 1 https://github.com/xiaobei930/cc-best

Made for: Claude Code.

Or install cc-best, the plugin that ships this one along with the rest of its 19 skills, 44 commands, 8 agents, 20 hooks.

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 native

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaobei930/cc-best/native/github.svg)](https://agentmods.dev/skills/xiaobei930/cc-best/native)
Your own site
<a href="https://agentmods.dev/skills/xiaobei930/cc-best/native"><img src="https://agentmods.dev/badge/skills/xiaobei930/cc-best/native/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 native

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaobei930/cc-best/native"><img src="https://agentmods.dev/badge/skills/xiaobei930/cc-best/native.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 676 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.00029 $0.00676
Opus 5 $0.00015 $0.00338
Sonnet 5 $0.00006 $0.00135
Haiku 4.5 $0.00003 $0.00068

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

Security

Grade A, and why

native 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 8d 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.

skills/native/SKILL.md · 79 lines

What it actually says

原生应用开发

本技能提供原生应用开发的策略选择指南,整合各平台特定的开发模式。

子文件

原生 vs 跨平台

维度 原生开发 跨平台 (Flutter/RN)
性能 最佳 接近原生
平台特性 完全支持 部分支持
开发成本 各平台独立 一套代码
维护成本 较高 较低
用户体验 最佳 良好

选择原生开发的场景

  • 性能敏感应用(游戏、视频)
  • 深度平台集成(系统 API、硬件)
  • 追求极致用户体验
  • 团队有平台专业知识

平台概览

Apple 平台(iOS/macOS)

覆盖范围:iOS/iPadOS、macOS、watchOS/tvOS

技术栈:Swift 6.x、SwiftUI / UIKit、Xcode

详细指南参阅 ios.md

Android(未来)

覆盖范围:Android 手机/平板、Wear OS、Android TV

技术栈:Kotlin、Jetpack Compose / View、Android Studio

通用最佳实践

架构模式

模式 iOS Android
MVVM SwiftUI + @Observable Compose + ViewModel
Clean Architecture 分层 + 协议 分层 + 接口
依赖注入 Swift DI Hilt/Koin

性能优化

  1. 启动优化 - 延迟加载、预加载
  2. 内存管理 - 避免循环引用、及时释放
  3. UI 流畅 - 主线程保持响应、异步处理
  4. 电量优化 - 减少后台任务、优化网络请求

测试策略

层级 覆盖内容
单元测试 业务逻辑、ViewModel
集成测试 网络层、数据层
UI 测试 关键用户流程

记住:原生开发追求的是最佳的平台体验,选择原生意味着要深入理解平台特性。

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 79 lines · 29 tokens per session scan A c0c96af551ad

Subscribe to this mod's changes

native is a skill published in the GitHub repository xiaobei930/cc-best (50 stars, last pushed 3mo ago), licensed MIT. It adds 29 tokens to every session and 676 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

pr-triage

4-phase PR backlog management with audit, deep code review, validated comments, and optional worktree setup. Use when triaging pull requests, catching up on pending code reviews, or managing a backlog of open PRs. Args: 'all' to review all, PR numbers to focus (e.g. '42 57'), 'en'/'fr' for language, no arg = audit…

FlorianBruniaux/claude-code-ultimate-guide · 86 tokens

source-command-audit-whitepapers

Audit version freshness, FR/EN parity, and metadata quality of all whitepapers and recap cards.

FlorianBruniaux/claude-code-ultimate-guide · 26 tokens

audit-agents-skills

Audit Claude Code agents, skills, and commands for quality and production readiness. Use when evaluating skill quality, checking production readiness scores, or comparing agents against best-practice templates.

FlorianBruniaux/claude-code-ultimate-guide · 41 tokens

design-patterns

Detect, suggest, and evaluate GoF design patterns in TypeScript/JavaScript codebases. Use when refactoring code, applying singleton/factory/observer/strategy patterns, reviewing pattern quality, or finding stack-native alternatives for React, Angular, NestJS, and Vue.

FlorianBruniaux/claude-code-ultimate-guide · 59 tokens

eval-agents

Audit Claude Code agents defined in .claude/agents/ for description specificity, model tier appropriateness, tools scoping, and system prompt quality. Detects dispatch ambiguity between agents, flags over-permissive tool grants, and checks for human-in-the-loop patterns that break programmatic orchestration. Use when…

FlorianBruniaux/claude-code-ultimate-guide · 93 tokens

issue-triage

3-phase issue backlog management with audit, deep analysis, and validated triage actions. Use when triaging GitHub issues, sorting bug reports, cleaning up stale tickets, or detecting duplicate issues. Args: 'all' to analyze all, issue numbers to focus (e.g. '42 57'), 'en'/'fr' for language, no arg = audit only.

FlorianBruniaux/claude-code-ultimate-guide · 81 tokens