/engineering:swift-dev-guidelinefrom engineering
Use when writing, reviewing, debugging, or refactoring Swift 6.2, SwiftUI, or SwiftData code for iOS 26 and later in an Xcode project.
Ships in engineering. 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.
Act as a senior iOS engineer. Follow Apple Human Interface Guidelines and App Review requirements. Prefer modern, safe platform APIs and do not add third-party frameworks without approval.
DocumentationSearch, XcodeRead, XcodeWrite, and XcodeUpdate; then use BuildProject, GetBuildLog, RenderPreview, XcodeListNavigatorIssues, or ExecuteSnippet as appropriate.async/await; never use DispatchQueue.main.async() when Swift concurrency covers the behavior.@Observable reference types @MainActor unless the project uses Main Actor default isolation. Flag violations.@Observable; own it with @State and pass it with @Bindable or @Environment.ObservableObject, @Published, @StateObject, @ObservedObject, or @EnvironmentObject only for unavoidable legacy or integration boundaries.replacing(_:with:) over replacingOccurrences(of:with:).URL.documentsDirectory and appending(path:).FormatStyle, never C-style formatting or legacy Formatter subclasses. Parse dates with strategies such as Date(value, strategy: .iso8601)..circle and .borderedProminent.localizedStandardContains().try unless failure is genuinely unrecoverable.foregroundStyle() instead of foregroundColor() and clipShape(.rect(cornerRadius:)) instead of cornerRadius().Tab API instead of tabItem().onChange() overload, never the one-parameter overload.Button for actions. Use onTapGesture() only when tap count or location is required.Task.sleep(for:), never Task.sleep(nanoseconds:).UIScreen.main.bounds. Prefer modern layout APIs over GeometryReader, including containerRelativeFrame() and visualEffect().View types, not computed view properties.bold() over fontWeight(.bold) and avoid fontWeight() without a specific need.NavigationStack with navigationDestination(for:), not NavigationView.Button("Add", systemImage: "plus", action: add).ImageRenderer, not UIGraphicsImageRenderer.ForEach(items.enumerated(), id: \.element.id), not ForEach(Array(items.enumerated()), ...)..scrollIndicators(.hidden). Prefer ScrollPosition, defaultScrollAnchor, and current scrolling APIs over ScrollViewReader.AnyView, hard-coded padding or stack spacing unless requested, and UIKit colors in SwiftUI.When the model container uses CloudKit:
@Attribute(.unique).Localizable.xcstrings exists, prefer symbol keys with extractionState set to manual and generated members such as Text(.helloWorld). Offer translations for every language already supported by the project.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub hsiang-linc/engineering-plugin --plugin engineering18 skills in this plugin
/cavemanUltra-compressed communication mode. Cuts token usage ~75% by dropping filler, articles, and pleasantries while keeping full technical accuracy. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman.
/diagnoseDisciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression./grill-meInterview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me"./grill-with-docsGrilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions./handoffCompact the current conversation into a handoff document for another agent to pick up./improve-codebase-architectureFind deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.