swift-expert
Use when building iOS/macOS applications with Swift 5.9+, SwiftUI, or async/await concurrency. Invoke for protocol-oriented programming, SwiftUI state management, actors, server-side Swift.
Why use this skill?
Use the swift-expert skill to build performant, type-safe iOS and macOS apps. Expert guidance on async/await, SwiftUI, and architecture.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/veeramanikandanr48/swift-expertWhat This Skill Does
The swift-expert skill empowers OpenClaw to act as a senior-level Swift architect, providing deep technical expertise in modern Apple development. It is optimized for Swift 5.9+ and focuses on creating robust, type-safe, and performant applications. The skill covers the entire software development lifecycle, from designing protocols and choosing architectural patterns like MVVM or TCA to implementing complex asynchronous logic using Swift’s native concurrency model (async/await, actors, and tasks). It ensures all generated code adheres strictly to Apple's API Design Guidelines, favoring value semantics and memory safety to prevent common pitfalls like retain cycles or data races.
Installation
To integrate the swift-expert skill into your agent, use the OpenClaw CLI:
clawhub install openclaw/skills/skills/veeramanikandanr48/swift-expert
Ensure your local environment has the necessary Swift toolchain version 5.9 or higher configured to fully leverage the generated code.
Use Cases
- Modernizing Legacy Code: Refactoring Objective-C or older Swift patterns to utilize modern async/await concurrency and property wrappers.
- Complex State Management: Designing reactive SwiftUI views and complex data flows using @StateObject, @Observable, or custom state containers.
- Performance Engineering: Identifying memory leaks via ARC analysis and optimizing high-frequency loops or view hierarchies.
- Library Development: Architecting reusable, protocol-oriented SDKs with generics and associated types for maximum modularity.
- Concurrent Networking: Implementing safe, non-blocking API clients using URLSession and actor-based data stores.
Example Prompts
- "Design a protocol-oriented networking layer for my iOS app that handles authentication headers and JSON decoding using Swift 5.9's Macro-based Codable implementation."
- "Review this SwiftUI view model and suggest improvements for memory safety, specifically avoiding retain cycles in my @Published closure callbacks."
- "Refactor this data-fetching function to use Swift structured concurrency, ensuring thread-safe access to a shared data store using actors."
Tips & Limitations
To get the best results, always provide the specific iOS/macOS minimum version your project targets, as this dictates which Swift features (like @Observable or Observation framework) are available. While this skill provides expert-level code, always run the generated snippets through the Swift compiler and use Instruments to profile performance. Avoid requesting code that violates thread isolation rules; if an actor warning appears, ask the skill specifically to address actor isolation requirements.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-veeramanikandanr48-swift-expert": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: code-execution
Related Skills
earnings-calendar
This skill retrieves upcoming earnings announcements for US stocks using the Financial Modeling Prep (FMP) API. Use this when the user requests earnings calendar data, wants to know which companies are reporting earnings in the upcoming week, or needs a weekly earnings review. The skill focuses on mid-cap and above companies (over $2B market cap) that have significant market impact, organizing the data by date and timing in a clean markdown table format. Supports multiple environments (CLI, Desktop, Web) with flexible API key management.
better-auth
Self-hosted auth for TypeScript/Cloudflare Workers with social auth, 2FA, passkeys, organizations, RBAC, and 15+ plugins. Requires Drizzle ORM or Kysely for D1 (no direct adapter). Self-hosted alternative to Clerk/Auth.js. Use when: self-hosting auth on D1, building OAuth provider, multi-tenant SaaS, or troubleshooting D1 adapter errors, session caching, rate limits, Expo crashes, additionalFields bugs.
dividend-growth-pullback-screener
Use this skill to find high-quality dividend growth stocks (12%+ annual dividend growth, 1.5%+ yield) that are experiencing temporary pullbacks, identified by RSI oversold conditions (RSI ≤40). This skill combines fundamental dividend analysis with technical timing indicators to identify buying opportunities in strong dividend growers during short-term weakness.
cli-developer
Use when building CLI tools, implementing argument parsing, or adding interactive prompts. Invoke for CLI design, argument parsing, interactive prompts, progress indicators, shell completions.
options-strategy-advisor
Options trading strategy analysis and simulation tool. Provides theoretical pricing using Black-Scholes model, Greeks calculation, strategy P/L simulation, and risk management guidance. Use when user requests options strategy analysis, covered calls, protective puts, spreads, iron condors, earnings plays, or options risk management. Includes volatility analysis, position sizing, and earnings-based strategy recommendations. Educational focus with practical trade simulation.