---
name: flutter-rebuilding-flutter-tool
description: "Rebuilds the Flutter tool and CLI. Use when a user asks to compile, update, regenerate, or rebuild the Flutter tool or CLI."
license: "BSD-3-Clause"
metadata:
  decimalai-skill-id: "86ecdb7d-d4a3-4765-a6ba-bed570fa159d"
  decimalai-version-id: "40fd54cb-7276-4c25-a7b3-2551dd584445"
  decimalai-version: "1"
  decimalai-body-sha256: "db1768a203bc424da89d36b9d742aae231ab02e0c919fd13db5e24c81b969f84"
  decimalai-name: "flutter/rebuilding-flutter-tool"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "devops"
  decimalai-source: "https://app.decimal.ai/s/flutter-rebuilding-flutter-tool@1/SKILL.md"
---
# Rebuild Flutter Tool Workflow

You must strictly follow this workflow to rebuild the Flutter tool.

## Step 1: Execute
* **Action:** Run the rebuild script: `dart .agents/skills/rebuilding-flutter-tool/scripts/rebuild.dart`

## Step 2: Verification & Error Handling
After execution, verify the build output.
* If the script succeeds, print only "**Flutter tool rebuilt successfully!**" and then **STOP**.
* If the script fails, provide the user with the exact error output and **STOP**.
