agentleFS
sokpichdevsokpichdev/mobie/.github/copilot-instructions.md

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
  1. Very specific:

    Security: follow OWASP MASVS and standards/security_standards.md.

    line 15
  2. Very specific:

    Prefer value types (struct, enum) and protocol-oriented design.

    line 23
  3. Very specific:

    Keep View bodies declarative.

    line 24

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

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; Dart async/await with Future/Stream and 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_storage on Flutter). Pin TLS for sensitive endpoints.
  • Style: conform to standards/coding_standards.md and standards/swiftui_standards.md; on Flutter, standards/dart_coding_standards.md and standards/flutter_standards.md.

When suggesting code

  • Prefer value types (struct, enum) and protocol-oriented design.
  • Keep View bodies declarative; move logic to the ViewModel/use cases.
  • Include error handling and an accompanying test when adding non-trivial logic.
  • Map DTOs to domain entities; never expose Codable wire models to the UI.
  • On Flutter: prefer const constructors and immutable state; keep build() pure and side-effect free; move logic to a Notifier/AsyncNotifier and use cases.

For deeper guidance see README.md, AGENTS.md, and the agents/, skills/, and standards/ directories.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.