Index of every page on this site: llms.txt
All skills
madteacher avatar

/flutter-duit-bdui

@2fb67e3
Run it yourself

Integrate, fix, review, migrate, test, or debug Duit / flutter_duit backend-driven UI in Flutter applications. Use when a task mentions DUIT, flutter_duit, backend-driven UI, BDUI, server-driven UI, XDriver, DuitViewHost, DuitRegistry, HTTP or WebSocket transports, custom Duit widgets, components, capability delegates, compile-time DUIT flags, or rendering JSON layouts from a backend.

Use this Skill: https://skilld.dev/gh/madteacher/mad-agents-skills/flutter-duit-bdui

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesenvironment_vars.md

≈469 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Environment Variables

This reference covers compile-time DUIT flags. Use it only when the task asks to change unknown-widget behavior, warm-up, inlining, or focus-node override behavior.

All values are compile-time constants resolved through bool.fromEnvironment. Pass them with --dart-define to flutter run, flutter build, or flutter test.

Available Variables

  1. duit:throw-on-unspecified-widget-type
  • Package: flutter_duit
  • Type: bool
  • Default: true
  • Purpose: when an unknown widget type is encountered, throw an error instead of rendering a fallback empty widget. Keep this enabled in development unless the user explicitly wants permissive fallback behavior.
  1. duit:enable-warm-up
  • Package: duit_kernel
  • Type: bool
  • Default: false
  • Purpose: enables attribute warm-up routines that may reduce first-use latency.
  1. duit:prefer-inline
  • Package: duit_kernel
  • Type: bool
  • Default: true
  • Purpose: favors inline function strategies where supported. Treat this as advanced performance tuning.
  1. duit:allow-focus-node-override
  • Package: flutter_duit
  • Type: bool
  • Default: false
  • Purpose: controls whether binding a FocusNode may override an existing node with the same nodeId.

Examples

flutter run -d macos \
  --dart-define=duit:throw-on-unspecified-widget-type=false \
  --dart-define=duit:enable-warm-up=true \
  --dart-define=duit:prefer-inline=true
flutter test \
  --dart-define=duit:throw-on-unspecified-widget-type=true

Guardrails

  • Do not use runtime environment variables for these flags; they must be passed through the Flutter/Dart toolchain.
  • When changing defaults in scripts or CI, update every relevant run/build/test command.
  • Mention the chosen flag values in the final response when they affect debugging or production behavior.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill facilitates the integration of a backend-driven UI framework in Flutter. It inherently handles data from external sources and supports embedded scripting, which presents potential surfaces for indirect prompt injection and dynamic execution if the data source is untrusted.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer9mo

    5/5 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 2fb67e3. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 7 months ago

README badge

README badge for madteacher/mad-agents-skills/flutter-duit-bdui