/skip-app-design:skip-frameworksfrom skip-app-design
Integrates optional Skip frameworks (Firebase, SQLite, Keychain, WebView, sensors, Lottie) into a project. Includes Package.swift, skip.yml, and usage examples.
Ships in skip-app-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when adding optional frameworks to a Skip project.
Package.swiftSkip/skip.yml if Android-specific Gradle dependencies are neededPackage.swift is the source of truth for both iOS and Android builds — never use Xcode's "Add Package…" menu, which only updates Xcode's tracking and not Skip's Gradle generation. For the broader project layout (which target gets which product, where view code vs. model code lives, when to split into two modules), see skip-project-creation.
There are two kinds of dependency a Skip project can pull in, and they behave differently on Android.
Skip frameworks. A SwiftPM package that contains a Sources/<Module>/Skip/skip.yml file is Skip-aware. The build plugin sees the skip.yml, generates the corresponding Gradle module, and builds it for Android automatically. All the frameworks listed in this skill (SkipSQL, SkipFirebase, etc.) are Skip frameworks.
Pure-Swift SwiftPM packages. A package without a skip.yml is not Skip-aware. Skip Lite modules cannot consume pure-Swift packages on Android — the transpiler has nothing to transpile against. On iOS the package compiles normally; on Android it's excluded from the build.
If you want a pure-Swift package only on iOS, gate it with the condition: argument:
.target(name: "MyApp", dependencies: [
.product(
name: "Lottie",
package: "lottie-ios",
condition: .when(platforms: [.macOS, .iOS]) // iOS-only
),
])
Without the condition:, the Lite build fails on Android with "no such Gradle dependency." With it, the Android build excludes the dependency and any code that references Lottie must be guarded with #if !SKIP.
Skip Fuse modules can consume pure-Swift packages directly because the Swift Android SDK compiles them natively — no transpilation needed. Be aware that the pure-Swift package's own dependencies and platform support must extend to Android, which most don't.
Consult the detailed reference files:
// Package.swift
.package(url: "https://source.skip.tools/skip-sql.git", from: "1.0.0"),
.product(name: "SkipSQL", package: "skip-sql"),
import SkipSQL
let db = try SQLContext(path: dbPath)
try db.execute(sql: "CREATE TABLE items (id INTEGER PRIMARY KEY, name TEXT)")
try db.execute(sql: "INSERT INTO items (name) VALUES (?)", parameters: [.text("Widget")])
// Package.swift
.package(url: "https://source.skip.tools/skip-keychain.git", "0.0.0"..<"2.0.0"),
.product(name: "SkipKeychain", package: "skip-keychain"),
import SkipKeychain
Keychain.shared.set("secret", forKey: "token")
let token = Keychain.shared.string(forKey: "token")
// Package.swift (add only what you need)
.package(url: "https://source.skip.tools/skip-firebase.git", "0.0.0"..<"2.0.0"),
.product(name: "SkipFirebaseAuth", package: "skip-firebase"),
.product(name: "SkipFirebaseFirestore", package: "skip-firebase"),
Setup: GoogleService-Info.plist in Darwin/, google-services.json in Android/app/.
.package(url: "https://source.skip.tools/skip-web.git", from: "1.0.0"),
.product(name: "SkipWeb", package: "skip-web"),
.package(url: "https://source.skip.tools/skip-av.git", from: "1.0.0"),
.product(name: "SkipAV", package: "skip-av"),
.package(url: "https://source.skip.tools/skip-device.git", "0.0.0"..<"2.0.0"),
.product(name: "SkipDevice", package: "skip-device"),
| Framework | Package | Purpose |
|---|---|---|
| SkipMotion | skip-motion | Lottie animations |
| SkipFFI | skip-ffi | C/C++ interop via JNA |
| SkipBluetooth | skip-bluetooth | Bluetooth LE |
| SkipNFC | skip-nfc | NFC reading/writing |
| SkipQRCode | skip-qrcode | QR code generation/scanning |
| SkipXML | skip-xml | XML parsing |
| SkipZip | skip-zip | ZIP compression |
| SkipScript | skip-script | JavaScript engine |
| SkipSupabase | skip-supabase | Supabase client |
| SkipStripe | skip-stripe | Stripe payments |
| SkipSentry | skip-sentry | Error tracking |
| SkipPostHog | skip-posthog | Analytics |
skip.yml — adding Android Gradle dependenciesWhen a framework needs a Maven artefact that isn't picked up automatically, declare it in the module's Sources/<Module>/Skip/skip.yml via the build: block. The syntax mirrors the structure of a Gradle build script.
skip:
mode: 'transpiled'
build:
contents:
- block: 'dependencies'
contents:
- 'implementation("io.livekit:livekit-android:2.24.0")'
- 'implementation("com.google.android.gms:play-services-location:21.3.0")'
Each entry under the dependencies block is a literal Gradle declaration. implementation(...), api(...), testImplementation(...) all work.
To add a Maven repository or override the default plugin set, use settings: (parallel structure):
settings:
contents:
- block: 'dependencyResolutionManagement'
contents:
- block: 'repositories'
contents:
- 'maven("https://maven.example.com/releases")'
Useful when a library is hosted outside Maven Central / Google's Maven repo.
skip.yml schema| Key | Purpose |
|---|---|
skip.mode | 'transpiled' (Lite), 'native' (Fuse), or 'automatic' |
skip.bridging | Fuse-only. true for auto-bridging; or {auto: true, options: 'kotlincompat'} |
skip.kotlinPackage | Override the Kotlin package name derived from the Swift module name |
skip.resources | Custom resource paths and processing mode |
skip.dynamicroot | Fuse-only. Magic namespace prefix for AnyDynamicObject (see skip-fuse) |
build.contents | Gradle build-script additions (dependencies, plugins, etc.) |
settings.contents | Gradle settings-script additions (repositories, plugin management) |
Package.swift layout, when to split into UI and Model modules, where each framework's setup code typically lands.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub skiptools/skills --plugin skip-app-design8 skills in this plugin
/building-skip-uiBuilding SwiftUI views in Skip projects that work on both iOS and Android. Covers supported components, navigation, state management, Jetpack Compose customization, Material 3 theming, the hard rule against `Image(systemName:)` / `Label(_, systemImage:)` (use `.symbolset` resources via `Image("name", bundle: .module)` instead), and the localization-correct `Label { Text } icon: { Image }` shape./skip-app-walkthroughStart-to-finish orchestrator for building a new cross-platform Skip app. Sequences the other Skip skills in the order you actually need them — scaffold with `skip init`, write SwiftUI, add Material Symbols icons, validate Kotlin transpilation with `swift test`, drive the running app with `skip app launch` + Maestro, localise via `Localizable.xcstrings`, and ship via `skip export` with fastlane metadata. Use this skill at the start of a new project, or when picking up an existing Skip app and trying to decide which skill applies to which phase. Each phase links to the dedicated skill for the deep dive. Also points at the `skipapp-todo` working example at https://github.com/skiptools/skills as a reference build./skip-fuseBuilding Skip apps in Fuse mode — Swift compiled natively for Android via the Swift Android SDK (Swift 6.3+), with auto-generated JNI bridging between Swift and Kotlin/Java. Covers when to choose Fuse over Lite, project init with `skip init --native-app`, the `mode: 'native'` + `bridging: true` skip.yml configuration, the `import SkipFuse` requirement for `@Observable` models (a build-time warning, not an error), the internal/public visibility rules for views and properties, the ~60 MB Swift runtime binary cost, debugging via `OSLog.Logger` (breakpoints not yet supported), `ProcessInfo.processInfo.dynamicAndroidContext()` for reaching the Android Context, the Kotlin-inline-class string-interpolation workaround for Android SDK properties, `SKIP_BRIDGE=1` for dynamic library bundling, and the `skip android test` (CLI vs APK mode) test command. Use this skill whenever working on a project whose `skip.yml` contains `mode: 'native'`, or when deciding between Lite and Fuse for a new app./skip-iconsIcons in Skip projects. The hard rule: never use `Image(systemName:)` or `Label(_, systemImage:)`. SF Symbols are an Apple-only catalogue with no Android equivalent; the names you pass to `systemName:` / `systemImage:` will not resolve on Android and most will render as a blank or generic-placeholder glyph. The canonical replacement is to download Material Symbols from `fonts.google.com/icons` in **Apple symbolset format**, drop the `.symbolset/` bundle under `Sources/<Module>/Resources/Icons.xcassets/`, and render with `Image("name", bundle: .module)` inside the localisation-correct `Label { Text(…, bundle: .module) } icon: { Image(…) }` form. The same SVG ships to both platforms and looks identical. Also covers app launcher icons via `skip icon` and how to verify in-app icons render on both platforms. The full `.symbolset` format spec (download URLs per variant, `Contents.json` schemas, verification checks) is in references/symbolset-anatomy.md. references/sf-symbol-map.md explains what SkipUI does with `systemName:` internally — it is **not** a "safe-to-use" list. Use this skill whenever adding, replacing, or auditing icons in a Skip app or library./skip-lite-transpilationSwift-to-Kotlin transpilation rules and pitfalls for Skip Lite mode. Covers the high-impact bugs (silent integer overflow, `Double == Int` compile errors, `Foundation.sqrt`, `String.append(Character)`, `Array.remove(atOffsets:)` SwiftUI-only gotcha, variadic init issues, `String(describing:)` and Kotlin map iteration), the `MutableStruct`/`.sref()` value-semantics machinery and the `@nocopy` escape, generics limits and the `@inline(__always)` reified-generics escape, garbage-collection effects (`weak`/`unowned` ignored, `deinit` becomes Kotlin `finalize`), the Kotlish dialect for `#if SKIP` blocks, and the SKIP comment directives (INSERT/REPLACE/DECLARE/NOWARN/SYMBOLFILE/EXTERN/@nocopy/@nodispatch/@bridge). The full long-form rules are in references/swift-kotlin-rules.md. Use when writing or reviewing Swift code in a transpiled Skip project, or when a Kotlin compile error in `XCSkipTests.testSkipModule` points at one of the above patterns./skip-localizationTranslating Skip apps and libraries into other languages. Covers in-app strings via `Localizable.xcstrings` String Catalogs in each module's `Resources/` directory, iOS `Info.plist` usage descriptions via `Darwin/InfoPlist.xcstrings`, and App Store / Google Play metadata under `Darwin/fastlane/metadata/` and `Android/fastlane/metadata/android/`. Includes the `Text("…", bundle: .module, comment: "…")` extraction convention, the `state: needs_review` discipline for agent-produced translations, conservative idiomatic translation guidance, and the catalog-rewrite-from-scratch path for template-to-app conversions. The full xcstrings JSON schema is in references/xcstrings-schema.md; fastlane directory layout, byte budgets, and validation commands in references/fastlane-metadata.md; the BCP-47 ↔ App Store ↔ Play language-code mapping in references/language-codes.md. Use this skill whenever adding or updating translations, expanding the supported-language set, validating xcstrings JSON, or preparing store metadata for a release.Other plugins' skills for the same job