Module Ports and Adapters

    by Mateusz

    1

    Extract a Flutter feature into a package with a handle, ports and host adapters, keeping GetX out.

    Free

    Security scanned

    Works with the AI Agents you already use

    About this skill

    The host imports the module and the module never imports the host. Your agent designs the module's handle and public facade, defines data, exit and frame ports, writes host adapters over legacy code, and replaces navigation calls with outcome types. It also adds a test that keeps GetX and app code out of the module. Every adapter gets a delete condition (strangler fig).

    Use it when

    • you extract a feature from a legacy (for example GetX) app into a package
    • you design a module's handle and public facade
    • you need data, exit and frame ports plus host adapters over legacy code
    • you want navigation calls replaced with outcome types
    • you want a test that keeps GetX and app code out of a module

    Part of Bridge the Gap skills from my Fluttercon 2026 talk Bridging the Gap: Incremental Navigation & UI Migration in Flutter Apps. Free and open source (MIT): https://github.com/mateuszrusdev/bridge-the-gap-skills · Talk: https://youtu.be/vdNFBpM4scQ

    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 buying a skill.

    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

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 14 days ago

    • Free with an Agensi account

    Requires

    Nothing to install.

    Permissions

    Read Files
    Write Files
    Listed14 days ago

    What's inside

    Creator

    Mateusz

    Mateusz

    5 skills on Agensi

    Frequently Asked Questions

    Extract a Flutter feature into a package with a handle, ports and host adapters, keeping GetX out.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Module Ports and Adapters on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Mobile Development

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Mobile Development.

    Free