Flutter + Rust + Cloudflare Slice Kit

    1

    Build features in a Flutter app with Rust logic and a Cloudflare Worker backend, from tested reference code.

    $19

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    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 PathDescription
    rust/api/migrations/0002_habits.sqlCreated table with id, uid, name, and goal_count. Added index on uid.
    rust/shared/src/habits.rsAdded NewHabit and Habit structs with validate() method and unit tests.
    rust/api/src/habits.rsImplemented POST /v1/habits and GET /v1/habits with auth and validation.
    rust/core/src/api/habits.rsGenerated build_habits_payload for the Flutter-Rust bridge.

    Next steps

    1. Run flutter_rust_bridge_codegen generate to update the Dart bindings.
    2. Use frc-riverpod-provider to create the HabitsList notifier.
    3. Add the habits_created event to the tracking plan using frc-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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

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

    Wrangler
    Node.js
    Git

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files
    Listed4 days ago

    What's inside

    Frequently Asked Questions

    The kit enforces a 'single source of truth' by centralizing business logic in shared Rust code, which is then bridged to Dart. This prevents the common issue of mismatched schemas between your Cloudflare D1 database and your Flutter UI state.

    This skill is designed for AI agents compatible with the Open Canvas or Tool-use protocols, such as Claude (via MCP) or GPT-based agents that can execute local CLI commands. It leverages the provided `frc-` command suite to orchestrate the build process.

    The kit assumes you are using `flutter_rust_bridge` for the FFI layer, Riverpod for state management, and GoRouter for navigation; it requires a specific project structure with `rust/shared/` and `rust/api/` directories to function correctly.

    You receive the full suite of specialized AI agent commands (the `frc-` toolset), a set of structured prompt templates for feature scaffolding, and a pre-configured workflow file for managing Cloudflare D1 migrations and deployments.

    The kit includes an automated release gating tool (`frc-release-cut`) that performs a multi-step check of your tests, codegen, and changelogs to ensure no breaking changes reach your production edge environment.

    Updates are delivered through the marketplace's versioning system; we frequently update the skill to maintain compatibility with the latest versions of the `flutter_rust_bridge` and Cloudflare Wrangler CLI.

    New in Frontend & Web Apps