Provides guidance on writing Swift with value semantics, structured concurrency (async/await, actors), and SwiftUI state management. Helps resolve Sendable warnings, retain cycles, and optional handling.
Ships in languages. 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.
None: SKILL.md is the whole skill.
Write Swift that leans on value semantics and the concurrency model rather than fighting them: structs by default, actors for shared mutable state, and no force-unwrapping.
guard let, optional chaining, Result types.async let, task groups, actors, Sendable.@State, @Observable, and unidirectional data flow.guard; the rest of the function works with non-optionals.async functions; use task groups for concurrency.! is a crash waiting for a user to find it. The only acceptable uses are IBOutlets and genuinely proven invariants with a comment.[weak self]) on every escaping closure that captures self in a class.Sendable deliberately; suppressing the warning with @unchecked Sendable requires a documented reason.async let for a fixed set of concurrent calls; use TaskGroup when the count is dynamic.Actor-isolated cache with concurrent loading:
actor ImageCache {
private var cache: [URL: UIImage] = [:]
private var inFlight: [URL: Task<UIImage, Error>] = [:]
func image(for url: URL) async throws -> UIImage {
if let cached = cache[url] { return cached }
if let existing = inFlight[url] { return try await existing.value }
let task = Task<UIImage, Error> {
let (data, _) = try await URLSession.shared.data(from: url)
guard let image = UIImage(data: data) else { throw CacheError.decodeFailed(url) }
return image
}
inFlight[url] = task
defer { inFlight[url] = nil }
let image = try await task.value
cache[url] = image
return image
}
}
@Observable (iOS 17+) replaces ObservableObject and only invalidates views that actually read the changed property.What SKILL.md sets; muted values are Claude Code's defaults
/languages:swiftfrom languages
npx claudepluginhub nimadorostkar/claude-skills-collection --plugin languages12 skills in this plugin
/cppUse when writing modern C++ (17/20/23). Covers RAII, smart-pointer ownership, move semantics, ranges, concepts, and eliminating undefined behavior with sanitizers. Trigger on "segfault in my c++ code", "should this be a unique_ptr or shared_ptr", "get rid of the raw new and delete", "asan reports heap-use-after-free"./csharp-dotnetUse when building on .NET 8+ with C# 12. Covers nullable reference types, records, async/await correctness, minimal APIs, dependency injection, and EF Core query performance. Trigger on "async deadlock in my asp.net app", "turn on nullable reference types", "ef core is doing n+1 queries", "set up a minimal api in .net 8". Do not use for tuning the database itself — see the database-performance skill./goUse when writing Go services, CLIs, or libraries. Covers idiomatic error wrapping, goroutine and context discipline, interface design, table-driven tests, and the race detector. Trigger on "goroutine leak", "how should i wrap this error in go", "race detector is flagging this", "write table-driven tests for this". Do not use for designing a CLI's flags and exit codes — see the cli-development skill.Other plugins' skills for the same job