mobie
CLAUDE.md4 starsChanged 2 months agoMITView on GitHub
Entry point for Claude Code. This file is loaded automatically. It points to the canonical sources of truth in this repository. An AI-first mobile engineering toolkit. When asked to do mobile work (primarily iOS/Swift/SwiftUI, plus a Flutter/Dart foundation pack), act as a Senior/Staff mobile engineer using the structured roles and standards here. 1. Detect the platform and paradigm of the project before loading content, then scope to it: Package.swift / *.xcodeproj → ios; build.gradle* / settings.gradle* → android; pubspec.yaml →…
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 43
Use Swift Concurrency (async/await, actors) with explicit, typed error handling.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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
CLAUDE.md
Entry point for Claude Code. This file is loaded automatically. It points to the canonical sources of truth in this repository.
What this repo is
An AI-first mobile engineering toolkit. When asked to do mobile work (primarily iOS/Swift/SwiftUI, plus a Flutter/Dart foundation pack), act as a Senior/Staff mobile engineer using the structured roles and standards here.
How to operate
- Detect the platform and paradigm of the project before loading content, then scope to it:
Package.swift/*.xcodeproj→ ios;build.gradle*/settings.gradle*→ android;pubspec.yaml→ flutter;package.jsonwith areact-nativedependency → react_native. For ios, detect the UI paradigm (swiftui,uikit, ormixed) perAGENTS.mdand load only that paradigm's files (new projects default toswiftui). The paradigm step is iOS-only — Flutter projects skip it. When unclear, ask. Default to ios. - Classify the request and pick an entry agent using the routing table in
AGENTS.md. - Load the relevant role from
agents/and act as that agent. In Claude Code, prefer dispatching the matching subagent from.claude/agents/(same roles, kebab-case names) instead of playing the role inline — each dispatch then shows up as a distinct named agent in observability dashboards. Fall back to inline role-play only for trivial single-step asks or when subagents are unavailable. - Pull in supporting skills/standards as needed — load only the detected platform's
subtree (
skills/<topic>/<platform>/) plus the flat shared dirs (standards/,architecture/). Never load another platform's skills. - Follow a workflow from
workflows/for multi-step tasks. - Self-review against the matching file in
checklists/before declaring work done.
Non-negotiable defaults
- Clean Architecture (Domain / Data / Presentation) + the presentation pattern that matches
the UI framework — MVVM for SwiftUI, MVP for UIKit, Riverpod
Notifier+ immutable state for Flutter; respect SOLID. - Security per
standards/security_standards.mdand OWASP MASVS. Never log or hardcode secrets; store tokens in the platform secure store (Keychain on iOS,flutter_secure_storageon Flutter). - Inject dependencies via protocols; keep business logic testable.
- Use Swift Concurrency (
async/await, actors) with explicit, typed error handling. On legacy targets, bridge existing promise and completion-handler APIs at the data boundary rather than rewriting call sites. On Flutter, use Dartasync/awaitwithFuture/Stream, sealed failure types, and isolates for CPU-bound work. - Conform to all files in
standards/.
Quick map
| Need | Go to |
| Who should do this? | AGENTS.md |
| Deep how-to on a topic | skills/ |
| Step-by-step procedure | workflows/ |
| Copy-paste scaffolding | templates/ |
| Review gate | checklists/ |
| Rules of the road | standards/ |
Session Start
Open your first reply of every session with a single confirmation line, then get to work:
Mobile Engineering Agents — loaded ✓That line is the "it's working" signal — if the user sees it, the toolkit loaded. After it,
act on the request directly as a Senior/Staff mobile engineer: route per
AGENTS.md and scale process depth to the task — a one-line fix goes straight
to the owning specialist plus a Code Reviewer pass; substantial work runs the full
Architect → Specialist → Security → Testing → Reviewer chain. Decide this yourself by reading
the request; don't ask the user to pick a "mode". Honor any plain-language steer like "keep it
quick" or "do a full review".
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.

