Skip to content

Comprehensive iOS development plugin with Dale Cooper agent, Swift/Objective-C expertise, testing frameworks, Fastlane automation, and iOS architecture patterns

License

Notifications You must be signed in to change notification settings

stensmir/ios-developer-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iOS Developer Plugin for Claude Code

Meet Dale Cooper 🕵️ - Your methodical iOS development partner bringing systematic investigation to Swift, SwiftUI, UIKit, and iOS architecture.

Overview

This comprehensive iOS development plugin provides:

  • Dale Cooper Agent - Expert iOS developer with detective-level attention to detail
  • 7 Knowledge Skills - Auto-invoked expertise in iOS patterns, testing, Fastlane, Bazel, and architecture
  • 5 Development Commands - Story implementation, code review, debugging, testing setup, and CI/CD automation
  • iOS Resources - Swift best practices checklist, accessibility guidelines, and story templates

Perfect for iOS developers working on any iOS project requiring systematic, high-quality development.

Features

🕵️ Dale Cooper Agent

Methodical iOS investigator specializing in:

  • Modern Swift patterns (async/await, property wrappers, result builders)
  • SwiftUI and UIKit expertise
  • Testing frameworks (Swift Testing, XCTest, XCUITest)
  • Apple HIG compliance
  • iOS architecture patterns (MVVM, VIPER, Clean Architecture)
  • Fastlane CI/CD automation
  • Bazel build system

📚 Knowledge Skills (Auto-Invoked)

Claude automatically uses these skills based on context:

  1. iOS Patterns - MVC, MVVM, VIPER, Coordinator, Delegate patterns
  2. Design Patterns in Swift - Gang of Four patterns with Swift implementations
  3. Fastlane Guide - CI/CD automation and App Store deployment
  4. iOS Architecture - Clean Architecture, TCA, RxSwift/Combine
  5. Bazel iOS Build - Building iOS apps with Bazel
  6. iOS Testing - Swift Testing and XCTest unit testing
  7. iOS UI Testing - XCUITest with Page Object Model

⚡ Commands

All commands use / prefix:

  • /develop-story [file] - Implement iOS story with TDD workflow
  • /review-code [path] - Review Swift/Objective-C code against best practices
  • /debug-issue [description] - Systematic debugging methodology
  • /setup-fastlane - Configure CI/CD automation
  • /setup-testing - Setup test infrastructure (Swift Testing, XCTest, XCUITest)

📋 Resources

  • Checklists: Swift best practices, iOS accessibility
  • Templates: iOS story template for requirements

Installation

Option 1: From GitHub (Recommended)

# In Claude Code, run:
/plugin install ios-developer@stensmir

Option 2: Local Development

# Clone or copy to local directory
git clone https://github.com/stensmir/ios-developer-plugin.git

# Install from local directory
/plugin install ios-developer@/path/to/ios-developer-plugin

Option 3: Via Marketplace Config

Add to .claude/settings.json:

{
  "marketplaces": [
    {
      "name": "stensmir",
      "url": "https://github.com/stensmir/ios-developer-plugin"
    }
  ],
  "plugins": [
    "ios-developer@stensmir"
  ]
}

Usage

Activate Dale Cooper Agent

/ios-developer

Dale will greet you and display available commands with his signature detective style.

Use Commands

# Implement a feature story
/develop-story docs/stories/biometric-auth.md

# Review code quality
/review-code Sources/ChatController.swift

# Debug an issue
/debug-issue "App crashes when opening large chat history"

# Setup CI/CD
/setup-fastlane

# Setup testing infrastructure
/setup-testing

Knowledge Skills Work Automatically

Just ask iOS-related questions and Claude will automatically reference the relevant skills:

"How do I implement the Coordinator pattern in Swift?"
→ Uses ios-patterns and design-patterns skills

"Show me how to setup XCUITest with Page Object Model"
→ Uses ios-ui-testing skill

"What's the best way to configure Fastlane for TestFlight?"
→ Uses fastlane skill

Project Structure

ios-developer-plugin/
├── .claude-plugin/
│   └── plugin.json                 # Plugin manifest
├── agents/
│   └── ios-dev.md                  # Dale Cooper agent
├── skills/
│   ├── ios-patterns/
│   │   ├── SKILL.md               # Auto-invoked
│   │   └── ios-patterns.md        # Reference
│   ├── design-patterns/
│   ├── fastlane/
│   ├── ios-architecture/
│   ├── bazel-ios/
│   ├── ios-testing/
│   └── ios-ui-testing/
├── commands/
│   ├── develop-story.md
│   ├── review-code.md
│   ├── debug-issue.md
│   ├── setup-fastlane.md
│   └── setup-testing.md
└── resources/
    ├── checklists/
    │   ├── swift-best-practices.md
    │   └── ios-accessibility.md
    └── templates/
        └── ios-story-template.yaml

Requirements

  • Claude Code 1.0.0+
  • Xcode 14.0+ (for iOS development)
  • macOS 12.0+ (for Xcode)

Use Cases

Perfect For

  • iOS App Development - Any iOS project (SwiftUI or UIKit)
  • Telegram/Messenger Forks - Projects using Bazel build system
  • Code Reviews - Systematic Swift/Objective-C review
  • Testing Setup - Comprehensive test infrastructure
  • CI/CD Automation - Fastlane pipeline configuration
  • Debugging - Methodical issue investigation
  • Architecture Decisions - Pattern selection and implementation

Example: Feature Development

# 1. Activate agent
/ios-developer

# 2. Implement story
/develop-story docs/stories/story-3-dark-theme.md

# Dale will:
# - Analyze iOS requirements
# - Implement Swift/Objective-C code
# - Follow build patterns
# - Write tests (XCTest/XCUITest)
# - Verify against acceptance criteria

# 3. Review implementation
/review-code Sources/ThemeSettings/

# 4. Setup automation (if needed)
/setup-fastlane

Skills Auto-Activation Examples

Q: "How do I implement MVVM in SwiftUI?"

  • ✅ Automatically uses ios-patterns and design-patterns skills
  • Provides MVVM implementation with SwiftUI examples

Q: "Setup XCUITest for my login flow"

  • ✅ Automatically uses ios-ui-testing skill
  • Shows Page Object Model pattern implementation

Q: "Configure Fastlane for App Store deployment"

  • ✅ Automatically uses fastlane skill
  • Provides complete Fastfile configuration

Q: "Best practices for async/await in Swift"

  • ✅ Automatically uses design-patterns and ios-testing skills
  • Shows modern concurrency patterns with testing

Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create feature branch
  3. Test changes thoroughly
  4. Submit pull request

License

MIT License - see LICENSE file

Credits

Inspired by FBI Special Agent Dale Cooper's methodical investigative approach.


"Damn fine iOS development!" - Agent Cooper 🕵️☕

Support

Changelog

See CHANGELOG.md for version history.

About

Comprehensive iOS development plugin with Dale Cooper agent, Swift/Objective-C expertise, testing frameworks, Fastlane automation, and iOS architecture patterns

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published