Agent skill · Anwar Safy

Ship production Flutter with agents.

From the first screen down to Firestore rules. The agent does not freelance the architecture.

npx skills add anwarsafy/flutter-firebase-bloc-skill

One bar. Every agent.

Cursor, Claude Code, Copilot, Windsurf, Codex, Gemini, and the rest of the Agent Skills tools read the same rules.

Cursor Claude Code Copilot Windsurf Codex Gemini
01

Clean Architecture

Domain stays pure Dart. Widgets never talk to Firebase.

02

Single-state BLoC

One state, an enum status, copyWith. A failed refresh keeps the data on screen.

03

Offline-first Firestore

Ordinary writes are not awaited. The UI listens for pending writes.

04

Rules that deny

No client writes to role, plan, or isPro. No scraping a collection with list.

05

English and Arabic

RTL from the first screen. No raw exception strings in the interface.

06

CI included

Format, analyze, test, obfuscation, and Crashlytics symbols are part of the gate.