Skills for Real Engineers. Straight from my .agents directory.
generators
Agent skill fromrshankras/claude-code-apple-skills
Code generator skills that produce production-ready Swift code for common app components. Use when user wants to add logging, analytics, onboarding, review prompts, networking, authentication, paywalls, settings, persistence, error monitoring, CI/CD pipelines, localization, push notifications, deep linking, testing, accessibility, widgets, feature flags, app icons, image caching, pagination, HTTP caching, share cards, social export, subscription lifecycle, referral systems, watermarks, streak tracking, milestone celebrations, what's new screens, lapsed user re-engagement, usage insights, variable rewards, consent flows, account deletion, permission priming, force updates, state restoration, debug menus, offline queues, feedback forms, announcement banners, quick win sessions, Spotlight indexing, App Clips, screenshot automation, background processing, app extensions, data export, or SwiftUI preview sample data and variant matrices.
How to install generators
npx skills add rshankras/claude-code-apple-skills# or add only this skill to Claude Code: copy the folder
skills/generators/
# into
~/.claude/skills/generators/ (all projects)
.claude/skills/generators/ (one project)
1# Code Generators23Production-ready code generators for iOS and macOS apps. Unlike advisory skills (review, audit), these skills generate working code tailored to your project.45## When This Skill Activates67Use this skill when the user:8- Wants to add a common app component (logging, analytics, onboarding, etc.)9- Asks to "set up" or "add" infrastructure code10- Mentions replacing print() with proper logging11- Wants to add App Store review prompts12- Needs analytics or crash reporting setup1314## Key Principles1516### 1. Context-Aware Generation17Before generating code, skills will:18- Read existing project structure and patterns19- Detect deployment targets and Swift version20- Identify architecture patterns (MVVM, TCA, etc.)21- Check for existing implementations to avoid conflicts2223### 2. Protocol-Based Architecture24Provider-dependent code uses protocols for easy swapping:25```swift26protocol AnalyticsService { ... }27class TelemetryDeckAnalytics: AnalyticsService { ... }28class FirebaseAnalytics: AnalyticsService { ... }29// Change provider by swapping ONE line30```3132### 3. Platform Detection33Skills detect iOS vs macOS and App Store vs direct distribution to generate appropriate code.3435## Available Generators3637Read relevant module files based on the user's needs:3839### logging-setup/40Replace print() statements with structured os.log/Logger.41- Audit existing print() usage42- Generate AppLogger infrastructure43- Migrate print → Logger with proper privacy levels4445### analytics-setup/46…
Excerpt shown under the repository's MIT license.
More skills in claude-code-apple-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
