dt-obs-flutter
Installation
SKILL.md
Dynatrace Flutter Plugin Integration Skill
Prerequisites
- Flutter SDK installed and
flutteravailable onPATH - An existing Flutter project with a
pubspec.yamlat the project root - A Dynatrace environment with access to Experience Vitals (to obtain
applicationIdandbeaconUrl, or to downloaddynatrace.config.yaml) - Console access to Experience Vitals → Mobile to configure app settings (Data Privacy, Enablement and Cost Control)
dartCLI 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
applicationIdandbeaconUrl, and confirm they match the target environment. If correct, run theuserOptIncheck below and skip to Step 3. - File does not exist: Proceed to Step 2.