AI SummaryA comprehensive Copilot prompt for developing OMOMoney, a SwiftUI expense tracker app with strict MVVM architecture, Core Data integration, and modern iOS 18.5+ standards. Ideal for developers building production-quality iOS financial apps who need enforced architectural patterns and threading best practices.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "omo-money-app — Copilot Instructions" prompt rules to my project. Repository: https://github.com/omopockettool/omo-money-app Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
On My Own Money. Muladhara showing itself to the world.
📱 VERSIÓN DE PLATAFORMA - OBLIGATORIO
• iOS Target: iOS 18.5+ (2025) • SwiftUI: Usar APIs más modernas disponibles • Compatibilidad: No usar APIs deprecadas
🏗️ ARQUITECTURA MVVM - NO NEGOCIABLE
• Views: ❌ NO contienen lógica, ❌ NO cálculos, ❌ NO formateo, ✅ SOLO SwiftUI Views • ViewModels: ❌ NO contienen UI, ✅ SOLO lógica de presentación, ✅ @MainActor, ✅ @Published • Services: ✅ SOLO lógica CRUD y operaciones de datos, ✅ NO lógica de presentación • Models: ❌ NO contienen lógica, ✅ SOLO entidades Core Data • Core Data Integration: ✅ SIEMPRE usar NSFetchedResultsController para respetar MVVM
🧵 THREADING - CRÍTICO
• Main Thread: ✅ SOLO UI, ✅ navegación, ✅ gestos, ✅ animaciones • Background Thread: ✅ Core Data CRUD, ✅ cálculos complejos, ✅ filtros pesados • Patrón obligatorio: DispatchQueue.global → operación pesada → DispatchQueue.main.async
🗄️ CORE DATA + MVVM - OBLIGATORIO
• NSFetchedResultsController: ✅ SIEMPRE usar para respetar MVVM y arquitectura limpia • Beneficios: • ✅ Reactividad automática: Se actualiza solo cuando Core Data cambia • ✅ Performance: Solo carga datos cuando es necesario • ✅ MVVM puro: ViewModel no maneja lógica de Core Data • ✅ Nativo: Usa las APIs oficiales de Apple • ✅ Eficiente: No polling, no notificaciones manuales • Implementación: • ViewModel implementa NSFetchedResultsControllerDelegate • @Published var entries se actualiza automáticamente • SwiftUI re-renderiza cuando @Published cambia • NO usar NotificationCenter para cambios de Core Data
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts