feishu-cursor-claw: Skill for Cursor

.cursor/skills/macOS应用/SKILL.md

macOS应用 is a skill for Cursor from nongjun/feishu-cursor-claw. It costs 44 tokens per session (470 once invoked), scanned A, original, MIT.

Development guidance for building native macOS desktop apps with Swift and SwiftUI, including windows, storage, permissions, networking, and distribution.

In plain words
What is it for?
Use it when planning or implementing SwiftUI apps with persistent data, file access, background work, network requests, menus, or App Store and direct distribution.
Why use it?
It highlights macOS-specific requirements such as sandbox permissions, multiple windows, secure token storage, signing, and notarization.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is nongjun/feishu-cursor-claw's own configuration. It tells Cursor how to work on feishu-cursor-claw itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything feishu-cursor-claw configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nongjun/feishu-cursor-claw. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nongjun/feishu-cursor-claw/main/.cursor/skills/macOS应用/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nongjun/feishu-cursor-claw

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 macOS应用

README.md
[![agentmods](https://agentmods.dev/badge/skills/nongjun/feishu-cursor-claw/macos/github.svg)](https://agentmods.dev/skills/nongjun/feishu-cursor-claw/macos)
Your own site
<a href="https://agentmods.dev/skills/nongjun/feishu-cursor-claw/macos"><img src="https://agentmods.dev/badge/skills/nongjun/feishu-cursor-claw/macos/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 macOS应用

Your own site · 80×15
<a href="https://agentmods.dev/skills/nongjun/feishu-cursor-claw/macos"><img src="https://agentmods.dev/badge/skills/nongjun/feishu-cursor-claw/macos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 470 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.00044 $0.00470
Opus 5.5 $0.00018 $0.00188
Sonnet 5.5 $0.00009 $0.00094
Haiku 4.5 $0.00004 $0.00047

Measured 1mo ago against content hash de57ae4f6470, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

macOS应用 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.cursor/skills/macOS应用/SKILL.md · 50 lines

What it actually says

macOS 应用开发模式

适用场景

使用 Swift/SwiftUI 开发 macOS 桌面应用时。

核心原则

  • 沙箱优先——App Store 要求沙箱化,提前规划权限需求
  • 原生体验——遵循 macOS 人机界面指南,菜单栏、快捷键、拖拽都要支持
  • 后台能力——macOS 应用可以后台运行,注意内存和 CPU 占用
  • 多窗口——macOS 用户期望多窗口支持,不要做成单窗口

SwiftUI 模式

  • 用 @State、@Binding、@ObservedObject 管理状态
  • 复杂状态用 @EnvironmentObject 跨视图共享
  • 列表用 LazyVStack/LazyHStack 做懒加载
  • 导航用 NavigationSplitView(macOS 三栏布局)

数据持久化

  • 简单配置用 UserDefaults 或 @AppStorage
  • 结构化数据用 SwiftData 或 Core Data
  • 文件操作需申请沙箱权限,用 NSOpenPanel/NSSavePanel
  • 敏感数据(密码、Token)存 Keychain

网络通信

  • 用 URLSession 或 Alamofire 做 HTTP 请求
  • 异步操作用 async/await(Swift Concurrency)
  • 处理网络不可用的情况,给用户明确提示

分发方式

  • App Store:需要沙箱、签名、审核
  • Developer ID:签名 + 公证(Notarization),可直接分发
  • 企业内部:可以用 .app 或 .dmg 直接分发(需关闭 Gatekeeper 或签名)

常见坑点

  • macOS 权限系统比 iOS 复杂(辅助功能、屏幕录制、完全磁盘访问等)
  • 菜单栏应用(MenuBarExtra)的生命周期与窗口应用不同
  • 进程间通信用 XPC 或 DistributedNotificationCenter
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. 1mo ago First seen · 50 lines · 44 tokens per session scan A de57ae4f6470

Subscribe to this mod's changes

macOS应用 is a skill published in the GitHub repository nongjun/feishu-cursor-claw (14 stars, last pushed 3mo ago), licensed MIT. It adds 44 tokens to every session and 470 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

sonicc-setup-new-project

OrbitalSonic Claude Skill: Bootstrap a new Android multi-module app (domain, data, core-, xml :presentation or compose :feature-) with StartupActivity (funnel) + MainActivity (app), StartupFragment start destination, Parent (InsetsMode edge-to-edge) or Compose StartupNavGraph / MainNavGraph, PlatformFirebase, Remote…

orbitalsonic/AndroidPilot · 0 tokens

sonicc-setup-old-project

OrbitalSonic Claude Skill: Migrates an existing production Android app to the sonicc-setup-new-project architecture (multi-module Clean Architecture, MVI, Koin module/lazyModule, XML View Binding or Compose feature modules per uiFramework) while preserving product behavior. Detects MVC, MVVM, Activity-based…

orbitalsonic/AndroidPilot · 0 tokens

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