🧩
AI Engineering

Swift

by margelo

Swift is an AI Engineering skill for Claude Code, published by margelo in react-native-skills.

167 stars8 forkson margelo/react-native-skillsAdded 2026/09/08+2% in starsRepository updated 2026/08/21
agentagent-skillsaillmreactreact-nativeskills
Install in seconds
Install Swift
Copy Swift into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/margelo/react-native-skills/tree/main/skills/swift ~/.claude/skills/swift

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/margelo/react-native-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/swift/SKILL.md in margelo/react-native-skills
Installs to
~/.claude/skills/swift
Collection
One of 9 skills cataloged from this repository
Category
AI Engineering3670 skills

What Swift does

Swift designs, implements, and reviews Swift APIs and Apple-platform code. Use it for .swift files, Swift concurrency, Foundation or AVFoundation APIs, and Swift-backed React Native Nitro Modules.

Swift is cataloged under AI Engineering on DirSkills. Swift comes from a repository tagged agent, agent-skills, ai, llm and react.

Documentation

README

Swift

Use this skill for Swift code that needs strong API boundaries, predictable threading, and idiomatic Apple-platform integration. When the code is part of a Nitro Module, pair this with build-nitro-modules for generated specs, Promise mapping, and HybridObject constraints.

Workflow

  1. Read the local Swift code, generated protocols, and surrounding API shape before editing.
  2. Choose the public type model first: make invalid states unrepresentable where Swift can express them.
  3. Choose one concurrency model for the feature before writing implementation code.
  4. Keep synchronous properties and methods cheap, local, and nonblocking.
  5. Make queue hops, hardware/session negotiation, I/O, and fallible async work explicit in the API.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Swift

  • What else does margelo publish alongside Swift?

    Swift is one of 9 skills that DirSkills catalogs from margelo/react-native-skills, the repository it ships in. Its siblings there include API Design, Build Nitro Modules and C++. Each one is a separate skill with its own page in this directory, installs the same way Swift does, and is maintained by margelo in that same repository. The rest of the collection is listed on the margelo/react-native-skills page.

  • How does Swift compare to other AI Engineering skills?

    Swift ranks #3319 by stars among the 3670 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Swift against them. Open each page to compare what they document and how they install.

More from margelo/react-native-skills

Swift is one of 9 skills cataloged on DirSkills from margelo/react-native-skills.

See all 9 skills
🧩
1h ago

API Design

API Design helps shape predictable public APIs for TypeScript, JavaScript, React, and React Native libraries. Use it when designing exported functions, hooks, options objects, events, errors, or cross-platform abstractions.
AI Engineering
1678
🧩
1h ago

Build Nitro Modules

Build Nitro Modules creates React Native Nitro Modules with Nitrogen specs, generated Swift/Kotlin/C++ bindings, and native stateful APIs. Use it when adding HybridObjects, Nitro View components, or the codegen pipeline.
AI Engineering
1678
💻
1h ago

C++

C++ guides design, implementation, and review of modern C++ APIs and native code. Use it for .cpp, .hpp, CMake, ownership, async boundaries, and C++-backed React Native Nitro Modules.
AI Engineering
1678
🤖
1h ago

Kotlin

Kotlin designs, implements, and reviews Kotlin and Android APIs for .kt files, nullability, sealed types, coroutines, threading, Java interop, and Kotlin-backed React Native Nitro Modules.
AI Engineering
1678
🌐
1h ago

Nitro Fetch

Nitro Fetch provides native-backed networking primitives for React Native, including fetch, WebSocket, TextDecoder, prefetching, and request inspection. Use it when you need faster cold starts, native sockets, or axios integration through the Nitro APIs.
DevOps
1678
💾
1h ago

React Native MMKV

React Native MMKV documents the synchronous key-value storage API for React Native apps. Use it to create instances, read and write values, manage listeners, handle encryption, and migrate from AsyncStorage.
AI Engineering
1678