agentleFS
peterbamuhigirepeterbamuhigire/chwezi-dev-engine/skills/ios/ios-development/SKILL.md

ios-development

Skill31 starsChanged 33 days agoMITView on GitHub

Use when building or reviewing native iOS apps for iPhone or iPad with Swift, SwiftUI navigation, concurrency, Xcode, VoiceOver focus restoration, Dynamic Type, architecture and tests. Route Apple integrations to platform-capabilities and release to mobile-platform-operations.

8 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ui-ux-pro-max and frontend-design.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • StrayDragonSkill

    ui-ux-pro-max

    UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.

    Also in 3 projects that use this

  • BlockSkill

    frontend-design

    Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the references/ directory for deep detail after reading the core workflow below.

    line 36
  2. Distinctive:

    Compatibility: Must run on both the declared minimum deployment target and the latest Apple OS, with availability gates for SDK-only …

    line 55
  3. Distinctive:

    Follow the runnable iPhone reservation trial for the smallest complete SwiftUI path, an independent service ledger, and the Apple build and …

    line 87
  4. Distinctive:

    Use that deep dive for:

    line 103
  5. Distinctive:

    Read/search and local builds follow task scope.

    line 127

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Platform Notes

  • Optional helper plugins may help in some environments, but they must not be treated as required for this skill.

iOS Development Standards

Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.

<!-- dual-compat-start -->

Chwezi Product Excellence Standard (mandatory)

Any Chwezi app or system UI work (effective 01 Nov 2026) MUST follow the Chwezi Product Excellence Standard in chwezi-design-engine (resolve via the engine-routing table; never hard-code the path): doctrine/product-excellence-standard.md and skill skills/00-cross-cutting-ops-qa-a11y/chwezi-product-excellence-standard. Engineering gates: product-excellence-engineering-gates.md. Dynamic Type at accessibility sizes, Reduce Motion and VoiceOver are device-tested and recorded as MEASURED evidence; targets are at least 44x44 pt, and at least 56 pt-equivalent with 8 pt spacing on POS keypad and field screens (PX-GEOM-009). For Kotlin Multiplatform apps the iOS host runs the shared Compose Multiplatform UI (see kmp-development), whose Dynamic Type and Reduce Motion behaviour is NOT_ASSESSED until device-tested. Where this skill and the standard differ, the standard wins.

Use When

  • iOS development standards for AI agent implementation. Swift-first, SwiftUI, MVVM + Clean Architecture, async/await, comprehensive security, testing, and performance patterns. Use when building or reviewing iOS applications, generating Swift...

Evidence Produced

CategoryArtifactFormatExample
CorrectnessiOS feature test planMarkdown doc covering unit, UI, and snapshot testsdocs/ios/feature-tests-checkout.md
UX qualityAccessibility auditMarkdown doc covering VoiceOver, Dynamic Type, and contrastdocs/ios/a11y-checkout.md

References

  • Use the references/ directory for deep detail after reading the core workflow below.
  • Load the retained iOS architecture workflow for module boundaries, dependency direction, state ownership, and provider seams.
  • references/ios-project-setup.md for Xcode project structure, SPM, schemes, build settings, and environment configuration.
  • references/ios-swift-recipes.md for production Swift recipes, safe conversions, dates, Codable, hashing, and validation.
  • references/apple-platform-compatibility-wwdc26.md for Xcode 27, Swift 6.4, iOS/iPadOS/macOS 27 SDK, Device Hub, coding agents, availability gates, and macOS/Safari watch items.
<!-- dual-compat-end -->

Load Order

  1. Load world-class-engineering for shared production gates.
  2. Load system-architecture-design when the app participates in broader service or module architecture.
  3. Load this skill for iOS implementation details.
  4. Load ios-ui-ux-design for every user-facing iOS/iPadOS screen, especially premium, dashboard, onboarding, reporting, form, or revenue-critical flows.
  5. Load ios-security-and-rbac, ios-platform-capabilities, or other focused parent skills as needed.

Production-grade Apple-platform development standards for AI-assisted implementation. Swift-first with SwiftUI, latest-SDK aware, and availability-gated for older deployment targets.

Current Toolchain: Xcode 27 on Apple Silicon | Swift 6.4 | latest iOS/iPadOS/macOS SDKs Core Stack: Swift 6.4-ready | SwiftUI (default UI) | MVVM + Clean Architecture | Swift Concurrency Deployment Policy: project-specific floor; iOS 17+ remains acceptable only when the app must support that fleet Compatibility: Must run on both the declared minimum deployment target and the latest Apple OS, with availability gates for SDK-only features Reference App: Apple's sample code gallery and WWDC sessions — canonical examples of modern SwiftUI patterns

Backend Environments

iOS apps connect to a PHP/MySQL backend deployed across three environments:

EnvironmentBase URL PatternDatabaseNotes
Developmenthttp://{LAN_IP}:{port}/DMS_web/api/MySQL 8.4.7 (Windows WAMP)Use host machine LAN IP
Staginghttps://staging.{domain}/api/MySQL 8.x (Ubuntu VPS)For QA and TestFlight
Productionhttps://{domain}/api/MySQL 8.x (Debian VPS)App Store release

Configure base URLs using Xcode build configurations and .xcconfig files so each scheme targets the correct backend. All backends use utf8mb4_unicode_ci collation and MySQL 8.x.

Additional Guidance

Decision Rules

ConditionChoice
New interface on supported OS versionsSwiftUI
Legacy UIKit surface with stable behaviourWrap and migrate by feature, not by file
Concurrent mutable resourceActor ownership or MainActor for UI state
Unsupported OS capabilityExplicit availability branch and useful fallback

Reservations and uncertain outcomes

Read-only search and a reservation mutation have different lifetimes. Scope search to the view or model that owns the query. Cancel superseded work and check the request identity again before applying results, including when the provider ignores cancellation. For a mutation that can commit before its reply arrives, persist an immutable attempt and item identity before submission. Render that attempt as pending after an interruption. Provide one explicit status action that reuses the same attempt identity and checks for both attempt and item when accepting a reply. Keep a definitive unavailable outcome distinct from an uncertain one.

Use a service double with durable records independent of the client journal. Prove the effect first, drop the acknowledgement, terminate the app, and recover the same receipt. Count actual service records after replay and exercise a wrong-identity reply. Release an older search response after a newer response has appeared, and deliver the same reservation acknowledgement twice. Test Dynamic Type, semantic labels and focus around pending and confirmed states. Attach simulator logs and screenshots to the exact tested commit, and record device-only checks separately.

Follow the runnable iPhone reservation trial for the smallest complete SwiftUI path, an independent service ledger, and the Apple build and test entry point.

Degraded Mode

Without Xcode or devices, return code plus an execution matrix for compile, Swift Testing, UI, accessibility, Instruments, and oldest-supported-OS checks. Static review is not release evidence.

Domain Anti-Patterns

  • Launching unstructured tasks without ownership. Fix: bind work to a lifecycle or actor.
  • Force-unwrapping external data. Fix: validate and expose typed failure states.
  • Blocking the main actor with I/O. Fix: isolate work and measure UI responsiveness.
  • Hiding availability failures. Fix: render an explicit supported fallback.
  • Treating simulator success as device readiness. Fix: exercise the physical-device matrix.

Extended guidance for ios-development was moved to references/skill-deep-dive.md to keep this entrypoint compact and fast to load.

Use that deep dive for:

  • Swift Language Standards
  • Architecture: MVVM + Clean Architecture
  • Project Structure
  • State Management (iOS 17+ — No Legacy Patterns)
  • Networking Layer
  • Build Configuration (3 Environments)
  • WWDC26 Apple Platform Compatibility
  • Security Standards
  • Testing Strategy
  • Performance Rules
  • Release Gate
  • Navigation (iOS 17+)
  • Minimum Requirements
  • Additional deep-dive sections continue in the reference file.

For screen quality, visual polish, native interaction, Dynamic Type, VoiceOver, iPad adaptation, and premium UX gates, load ios-ui-ux-design alongside this implementation skill.

Inputs

ArtefactRequired?Purpose
iOS requirements, supported OS/devices, architecture, UX, and service contractsyesBound implementation

Outputs

  • Produce iOS code or design with lifecycle, accessibility, tests, performance, and release evidence.

Capability contract

Read/search and local builds follow task scope; signing, provisioning, TestFlight/App Store publication, and destructive data operations require explicit authority.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.