agentleFS
sokpichdevsokpichdev/mobie/CLAUDE.md

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 →…

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. sokpichdev/mobile-engineering-agents★ 4100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

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

    Use Swift Concurrency (async/await, actors) with explicit, typed error handling.

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 28,633 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.

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

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

  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 → flutter; package.json with a react-native dependency → react_native. For ios, detect the UI paradigm (swiftui, uikit, or mixed) per AGENTS.md and load only that paradigm's files (new projects default to swiftui). The paradigm step is iOS-only — Flutter projects skip it. When unclear, ask. Default to ios.
  2. Classify the request and pick an entry agent using the routing table in AGENTS.md.
  3. 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.
  4. 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.
  5. Follow a workflow from workflows/ for multi-step tasks.
  6. 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.md and OWASP MASVS. Never log or hardcode secrets; store tokens in the platform secure store (Keychain on iOS, flutter_secure_storage on 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 Dart async/await with Future/Stream, sealed failure types, and isolates for CPU-bound work.
  • Conform to all files in standards/.

Quick map

NeedGo to
Who should do this?AGENTS.md
Deep how-to on a topicskills/
Step-by-step procedureworkflows/
Copy-paste scaffoldingtemplates/
Review gatechecklists/
Rules of the roadstandards/

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".

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.