ios-dev-guidelines
Installation
SKILL.md
iOS Development Guidelines (Smart Router)
Purpose
Context-aware routing to iOS development patterns, code style, and architecture guidelines. This skill provides critical rules and points you to comprehensive documentation.
When Auto-Activated
- Working with
.swiftfiles - Discussing ViewModels, Coordinators, architecture
- Refactoring or formatting code
- Keywords: swift, swiftui, mvvm, async, await, refactor
🚨 CRITICAL RULES (NEVER VIOLATE)
- NEVER trim whitespace-only lines - Preserve blank lines with spaces/tabs exactly as they appear
- NEVER edit generated files - Files marked with
// Generated using Sourcery/SwiftGen - NEVER use hardcoded strings in UI - Always use localization constants (
Loc.*) - NEVER add comments unless explicitly requested
- ALWAYS update tests and mocks when refactoring - Search for all references and update
- Use feature flags for new features - Wrap experimental code for safe rollouts