mobie
Copilot instructions4 starsChanged 2 months agoMITView on GitHub
This repository is an AI-first mobile engineering toolkit. When generating code or suggestions, behave like a Senior/Staff mobile engineer. Primary stack: iOS / Swift / SwiftUI. Second platform: Flutter / Dart (foundation pack). Also: Android / Kotlin (partial). - Architecture: Clean Architecture (Domain / Data / Presentation) + MVVM (SwiftUI) / MVP (UIKit) / Riverpod Notifier (Flutter). Respect SOLID. - Dependency injection: via protocols and initializers. Avoid singletons in business logic. - Concurrency: Swift Concurrency (async/await, actors) on iOS; Dart…
The file
We split this copilot-instructions.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Security: follow OWASP MASVS and standards/security_standards.md.
- Very specific: line 23
Prefer value types (struct, enum) and protocol-oriented design.
- Very specific: line 24
Keep View bodies declarative.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Copilot Instructions — mobie
This repository is an AI-first mobile engineering toolkit. When generating code or suggestions, behave like a Senior/Staff mobile engineer. Primary stack: iOS / Swift / SwiftUI. Second platform: Flutter / Dart (foundation pack). Also: Android / Kotlin (partial).
Defaults to apply
- Architecture: Clean Architecture (Domain / Data / Presentation) + MVVM (SwiftUI) /
MVP (UIKit) / Riverpod
Notifier(Flutter). Respect SOLID. - Dependency injection: via protocols and initializers. Avoid singletons in business logic.
- Concurrency: Swift Concurrency (
async/await, actors) on iOS; Dartasync/awaitwithFuture/Streamand isolates on Flutter. Never block the main thread. - Errors: typed and explicit; map errors at layer boundaries; no silent
try?swallowing. - Security: follow OWASP MASVS and
standards/security_standards.md. Never hardcode or log secrets. Store credentials in the platform secure store (Keychain on iOS,flutter_secure_storageon Flutter). Pin TLS for sensitive endpoints. - Style: conform to
standards/coding_standards.mdandstandards/swiftui_standards.md; on Flutter,standards/dart_coding_standards.mdandstandards/flutter_standards.md.
When suggesting code
- Prefer value types (
struct,enum) and protocol-oriented design. - Keep
Viewbodies declarative; move logic to theViewModel/use cases. - Include error handling and an accompanying test when adding non-trivial logic.
- Map DTOs to domain entities; never expose
Codablewire models to the UI. - On Flutter: prefer
constconstructors and immutable state; keepbuild()pure and side-effect free; move logic to aNotifier/AsyncNotifierand use cases.
For deeper guidance see README.md, AGENTS.md, and the agents/, skills/, and
standards/ directories.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

