mobile-cross-platform

mobile-cross-platform is a cursor rule for Cursor from madebyaris/advance-minimax-m3-cursor-rules. It costs 0 tokens per session (1,458 once invoked), scanned A, original, MIT.

A set of rules for Flutter, React Native, and Expo projects that share code across mobile platforms such as iOS and Android.

In plain words
What is it for?
Identifying the mobile framework, adding dependencies, scaffolding projects, editing platform files, and running the appropriate checks.
Why use it?
It helps choose the right project structure and commands when changing mobile manifests, native folders, or shared architecture.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Identifying the mobile framework, adding dependencies, scaffolding projects, editing platform files, and running the appropriate checks.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/madebyaris/advance-minimax-m3-cursor-rules/mobile-cross-platform
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/madebyaris/advance-minimax-m3-cursor-rules

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mobile-cross-platform

README.md
[![agentmods](https://agentmods.dev/badge/rules/madebyaris/advance-minimax-m3-cursor-rules/mobile-cross-platform/github.svg)](https://agentmods.dev/rules/madebyaris/advance-minimax-m3-cursor-rules/mobile-cross-platform)
Your own site
<a href="https://agentmods.dev/rules/madebyaris/advance-minimax-m3-cursor-rules/mobile-cross-platform"><img src="https://agentmods.dev/badge/rules/madebyaris/advance-minimax-m3-cursor-rules/mobile-cross-platform/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mobile-cross-platform

Your own site · 80×15
<a href="https://agentmods.dev/rules/madebyaris/advance-minimax-m3-cursor-rules/mobile-cross-platform"><img src="https://agentmods.dev/badge/rules/madebyaris/advance-minimax-m3-cursor-rules/mobile-cross-platform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,458 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01458
Opus 5 $0.00000 $0.00729
Sonnet 5 $0.00000 $0.00292
Haiku 4.5 $0.00000 $0.00146

Measured 11d ago against content hash 93dc96236aba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

mobile-cross-platform scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/mobile-cross-platform.mdc · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cross-Platform Mobile Development

Guidance for Flutter, React Native, and Expo projects. For general coding workflow, the always-on core Code Discipline and App And Scaffold Discipline sections are canonical — especially CLI-first scaffolding and verification.

Load this rule when globs match mobile project files. Identify the stack from manifests (pubspec.yaml, package.json + native folders, app.json) before choosing patterns. Do not hand-create pubspec.yaml, Xcode/Android project trees, or .xcodeproj / .pbxproj — use the framework CLI.


Before Changing Mobile Code

  1. Identify stack: Flutter, React Native, Expo, or other.
  2. Read manifest, entry point (main.dart, App.tsx), navigation setup, and existing state-management pattern.
  3. Match platform folder conventions already in the repo — do not restructure unprompted.
  4. For new dependencies or SDK versions, verify against current official docs before recommending.

Scaffold & Verify (CLI-first)

Stack Create Add deps Typical verify
Flutter flutter create flutter pub add flutter analyze, flutter test
React Native npx react-native init npm install npx react-native doctor, build one platform
Expo npx create-expo-app npx expo install npx expo doctor, npx expo start

After structural changes, run the stack's analyze/test/build check before claiming done.


Architecture Quick Reference

Good cross-platform fit: content apps, business/productivity, MVPs, teams with web background, similar UI across platforms.

Consider more native work when: heavy AR/camera, games, deep OS integration, strict platform HIG, or performance-critical media pipelines.

Framework Best for Watch out for
Flutter Custom UI, performance App size, Dart ecosystem
React Native JS/TS teams, code share Native modules, bridge overhead
Expo Fast iteration, managed workflow Native module limits (unless dev client)

Read the full file on GitHub · 123 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 123 lines · 0 tokens per session scan A 93dc96236aba

Subscribe to this mod's changes

mobile-cross-platform is a cursor rule published in the GitHub repository madebyaris/advance-minimax-m3-cursor-rules (125 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,458 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.