Agent skill · dynatrace
dt-setup-flutter
Integrate the Dynatrace Flutter Plugin into a Flutter project — dependency setup, config, SDK bootstrap, navigation tracking, and verification. Trigger: "add Dynatrace to Flutter", "Flutter plugin setup", "instrument Flutter app", "integrate Dynatrace Flutter", "mobile observability Flutter", "dynatrace_flutter_plugin". Do NOT use for: querying Flutter RUM data (use dt-obs-frontends), non-Flutter mobile setups, or Dynatrace server-side configuration.
What it needs
About 4k tokens when loaded.
What this skill does
Dynatrace Flutter Plugin Integration Skill Prerequisites Flutter SDK installed and flutter available on PATH An existing Flutter project with a pubspec.yaml at the project root A Dynatrace environment with access to Experience Vitals (to obtain applicationId and beaconUrl, or to download dynatrace.config.yaml) Console access to Experience Vitals → Mobile to configure app settings (Data Privacy, Enablement and Cost Control) dart CLI available (comes with Flutter SDK; used to run the plugin configuration script) Work through the steps below in order, interacting with the user at each decision point. Read actual project files before suggesting changes — do not assume the current state. Step 1 — Check for existing dynatrace.config.yaml Before asking the user anything, check whether dynatrace.config.yaml exists at the project root. File exists: Read it, show the applicationId and beaconUrl, and confirm they match the target environment. If correct, run the userOptIn check below and skip to Step 3. File does not exist: Proceed to Step 2. userOptIn check: Inspect the file for userOptIn (Android) and DTXUserOptIn (iOS). Present on both platforms: Trust the value as-is. If true, flag Step 7a. If false, skip Step 7a. Absent from either platform: Ask the user: "Do you have User Opt-In mode enabled or disabled?" (If unsure: Experience Vitals → Mobile → [Your App] → Settings → Data Privacy.) Add the missing value to the relevant platform(s), then flag Step 7a if the final value is true. Step 2 — Obtain dynatrace.config.yaml (only if Step 1 found no file) Ask the user which approach they prefer: Option A — Download from console (recommended): 1. Open their Dynatrace environment 1. Navigate to: Experience Vitals → New Frontend → Mobile 1. Enter app name and choose Flutter as the platform 1. On the Select capability and settings screen, configure monitoring features (Crash reporting, user action monitoring, etc.). …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills dynatrace/dt-setup-flutter