- Home
- Skills
- Frontend & Web Apps
- Flutter + Rust + Cloudflare Slice Kit
Flutter + Rust + Cloudflare Slice Kit
Build features in a Flutter app with Rust logic and a Cloudflare Worker backend, from tested reference code.
$19
Works with the AI Agents you already use
Flutter + Rust + Cloudflare Slice Kit
Example session with this skill installed
I need to add a feature for tracking daily habits. Scaffold the D1 slice first with a habits table containing name (text) and goal_count (int).
- Read your context and instructions
- Compiled the flutter + rust
I have scaffolded the data slice for the habits feature. This includes the D1 migration, the shared Rust model with validation, the Worker API routes, and the Flutter payload builder.
Data Slice: Daily Habits
| File Path | Description |
|---|---|
rust/api/migrations/0002_habits.sql | Created table with id, uid, name, and goal_count. Added index on uid. |
rust/shared/src/habits.rs | Added NewHabit and Habit structs with validate() method and unit tests. |
rust/api/src/habits.rs | Implemented POST /v1/habits and GET /v1/habits with auth and validation. |
rust/core/src/api/habits.rs | Generated build_habits_payload for the Flutter-Rust bridge. |
Next steps
- Run
flutter_rust_bridge_codegen generateto update the Dart bindings. - Use
frc-riverpod-providerto create theHabitsListnotifier. - Add the
habits_createdevent to the tracking plan usingfrc-track-event.
Connects securely to your tools. The creator never sees your data.
About this skill
Seven skills for Flutter apps whose logic lives in Rust and whose backend is a Cloudflare Worker with D1. Each skill carries the working reference code it follows, so your agent copies a proven pattern. Covers a full data slice (D1 migration, shared Rust validation, Worker routes with Firebase token check, app payload builder), Riverpod providers, analytics events, end-to-end feature builds, tests with an edge-case sweep, changelog-driven version bumps, and a release checklist that deploys the API before the app. The shared validation and the Worker’s token check were tested locally. The flutter_rust_bridge integration in a real app and live deployment are not verified, so expect small adjustments on first use. Needs Flutter, Rust, Node and a Cloudflare account.
Requires project structure with rust/shared and rust/api. No support for dynamic types or direct package:http usage. Validation must be written in Rust.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
Requires