CAT
/Skills
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Cross AI Tools

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by @mertduzgun

Independent project, not affiliated with Anthropic

Flutter Duit Bdui

madteacher/mad-agents-skills
250 installs100 stars
Summary

This handles Duit integration work in Flutter apps, the backend-driven UI framework where your server sends JSON layouts and the client renders them without shipping new builds. It's opinionated about version detection because flutter_duit's API changed across major releases, so it checks pubspec.lock before writing driver or transport code. Good for adding remote or static layout rendering, registering custom widgets, wiring up HTTP or WebSocket transports, and debugging lifecycle issues. The workflow is thorough, maybe more than you need for a quick prototype, but if you're actually shipping BDUI to production and don't want to memorize which constructor shapes changed between 3.x and 4.x, it saves you from API archaeology.

Install to Claude Code

npx -y skills add madteacher/mad-agents-skills --skill flutter-duit-bdui --agent claude-code

Installs into .claude/skills of the current project.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Files
SKILL.mdView on GitHub

Flutter Duit Backend-Driven UI

You are a Flutter BDUI integration engineer for Duit and flutter_duit.

Principle 0

flutter_duit has changed its public API across major versions. Do not write driver, transport, registry, or widget-host code from memory. First identify the installed or target package version, then use examples and API shapes that match that version. If the version cannot be determined, use current official docs as the default and state the assumption.

Workflow

  1. Identify the task type: install, render a remote/static layout, add a custom widget, register components, configure transport, customize capabilities, tune compile-time flags, or debug rendering/lifecycle issues.
  2. Inspect the target Flutter project before editing: pubspec.yaml, pubspec.lock when present, existing Duit setup, app entrypoint, state management, routing, and test conventions.
  3. Determine the flutter_duit version:
    • Prefer pubspec.lock or the existing dependency constraint.
    • If adding the package, check current official package docs or run flutter pub add flutter_duit when dependency installation is part of the user request.
    • If the package major version is not 4.x, verify API names before using any examples from this skill.
  4. Choose the smallest integration path that fits the product need:
    • Use XDriver.remote for backend-driven screens loaded from a server.
    • Use XDriver.static for local JSON, tests, previews, or offline fixtures.
    • Use custom widgets/components only when server JSON must render UI that the built-in collection cannot represent.
    • Use capability delegates only for framework behavior changes such as custom transport, logging, focus, scripting, native modules, or action execution.
  5. Read only the routed resources needed for the scenario.
  6. Implement with normal Flutter ownership rules: keep driver lifecycle in a StatefulWidget or equivalent owner, register custom widgets before rendering layouts, and dispose drivers/managers that own resources.
  7. Validate in the target project. If validation cannot run, report the blocker and the residual risk instead of implying the integration is proven.

Current 4.x API Guardrail

For flutter_duit 4.x, prefer the public shapes shown by current package examples:

final driver = XDriver.remote(
  transportManager: HttpTransportManager(
    url: "/layout",
    baseUrl: "http://localhost:3000",
    defaultHeaders: {
      "Content-Type": "application/json",
    },
  ),
);
DuitViewHost.withDriver(
  driver: driver,
  placeholder: const CircularProgressIndicator(),
);
final driver = XDriver.static(
  {
    "type": "Text",
    "id": "1",
    "attributes": {
      "data": "Hello, World!",
    },
  },
  transportManager: StubTransportManager(),
);

Do not use older or unverified constructor shapes such as XDriver(...), HttpTransportManager(options: ...), headers, or WSTransportManager unless the installed package version and API reference confirm them.

Resource Routing

TaskReadWhy
Driver lifecycle, remote/static/native mode, event streams, or public methodsreferences/public_api.mdVersion-aware API contracts and 4.x examples
Custom capabilities, custom transport, logging, focus, scripting, native modules, or action executionreferences/capabilities.mdDelegate responsibilities and implementation guardrails
Compile-time DUIT behavior flags or --dart-define usagereferences/environment_vars.mdSupported flags, defaults, and command examples
Rendering failures, initialization errors, theme issues, or memory leaksreferences/troubleshooting.mdSymptom-to-action debugging checklist

External sources to verify when API details matter:

  • https://pub.dev/packages/flutter_duit
  • https://pub.dev/documentation/flutter_duit/latest/
  • https://github.com/Duit-Foundation/flutter_duit
  • https://www.duit.pro/docs/

Constraints

  • Do not invent server JSON schema, action payloads, event formats, or widget attributes. Inspect existing backend contracts, fixtures, docs, or tests.
  • Do not add duit_kernel directly unless the task requires kernel models, custom extensions, or APIs not exported by flutter_duit.
  • Do not register custom widgets after the app has already tried to render layouts that use them.
  • Do not keep a driver as an unowned global unless the existing architecture has a clear lifecycle owner and cleanup path.
  • Do not silently downgrade unknown widget behavior in development. Prefer surfacing schema issues early unless the user explicitly wants permissive fallback behavior.
  • Do not promise WebSocket, native module, scripting, or component support from this skill alone; verify the exact API for the installed package version.

Validation

Run the strongest available validation for the target project:

  1. flutter pub get after dependency changes.
  2. dart format on edited Dart files.
  3. flutter analyze for Flutter projects.
  4. Existing focused tests, or flutter test when the change touches shared UI, actions, parsing, or lifecycle behavior.
  5. For static layout work, add or run a smoke test/widget preview that renders a minimal DuitViewHost.withDriver.
  6. For remote transport work, verify base URL, route, headers, auth handling, loading state, error state, and driver disposal.

If any validation command is unavailable, blocked by dependency download, platform setup, or missing project context, say which check did not run and why.

Fallback

If the target version/API cannot be verified, stop before writing speculative Duit code that may not compile. Ask for the intended flutter_duit version or permission to inspect/install dependencies. If the user asks for a best-effort draft anyway, mark the code as version-assumed and list the validation still needed.

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Categories
Mobile Development
First SeenJun 3, 2026
View on GitHub

Recommended

More Mobile Development →
android-jetpack-compose

thebushidocollective/han

android jetpack compose
1.3k
165
android-jetpack-compose-expert

sickn33/antigravity-awesome-skills

android jetpack compose expert
163
39.4k
Expo UI Jetpack Compose

expo/skills

expo ui jetpack compose
2k
mobile-android-design

wshobson/agents

Material Design 3 and Jetpack Compose patterns for building modern, adaptive Android applications.
16k
36.2k
kotlin-tooling-cocoapods-spm-migration

kotlin/kotlin-agent-skills

Migrate KMP projects from CocoaPods (kotlin("native.cocoapods")) to Swift Package Manager (swiftPMDependencies DSL) — replaces pod() with swiftPackage(), transforms cocoapods.* imports to swiftPMImport.*, and reconfigures the Xcode project.
439
836
migrate-xml-views-to-jetpack-compose

android/skills

migrate xml views to jetpack compose
489
5.5k