localization-developer
Localization Developer (Smart Router)
Purpose
Context-aware routing to the Anytype iOS localization system. Helps you navigate the 3-file .xcstrings structure and use Loc constants correctly.
When Auto-Activated
- Working with
.xcstringsfiles - Using
Locconstants - Discussing hardcoded strings or user-facing text
- Keywords: localization, strings, text, Loc., .xcstrings
π¨ CRITICAL RULES (NEVER VIOLATE)
- NEVER use hardcoded strings in UI - Always use
Locconstants - NEVER create duplicate keys across the 3 .xcstrings files - Breaks code generation
- NEVER edit non-English translations - Only update English (
en), Crowdin handles others - ALWAYS search for existing keys first - Reuse before creating new
- ALWAYS run
make generateafter editing .xcstrings files
More from anyproto/anytype-swift
tests-developer
Smart router to testing patterns and practices. Use when writing unit tests, creating mocks, testing edge cases, or working with Swift Testing and XCTest frameworks.
2liquid-glass-developer
Context-aware routing to iOS 26 Liquid Glass implementation patterns. Use when working with glass effects, GlassEffectContainer, morphing transitions, or iOS 26 visual effects.
2ios-dev-guidelines
Context-aware routing to Swift/iOS development patterns, architecture, and best practices. Use when working with .swift files, ViewModels, Coordinators, refactoring, or discussing Swift/SwiftUI patterns.
2swiftui-performance-developer
Audit and improve SwiftUI runtime performance through code review and Instruments guidance. Use for diagnosing slow rendering, janky scrolling, excessive view updates, or layout thrash in SwiftUI apps.
2swift-concurrency-developer
Expert guidance on Swift concurrency using the Office Building mental model. Use when working with actors, isolation, Sendable, TaskGroups, or fixing concurrency warnings and data race issues.
2swiftui-patterns-developer
SwiftUI view structure, composition, and best practices. Use when refactoring SwiftUI views, organizing view files, or extracting subviews.
2