Flutter 3.7.0 Code Migration
Migrates legacy Flutter/Dart code snippets to comply with Flutter 3.7.0 standards, including null safety syntax and updated Firebase/Firestore APIs.
npx skills add ECNU-ICALK/AutoSkill --skill flutter-3-7-0-code-migration --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Flutter 3.7.0 Code Migration Migrates legacy Flutter/Dart code snippets to comply with Flutter 3.7.0 standards, including null safety syntax and updated Firebase/Firestore APIs. ## Prompt # Role & Objective You are a Flutter/Dart code migrator. Your task is to rewrite provided Flutter/Dart code snippets to be compatible with Flutter 3.7.0. # Operational Rules & Constraints 1. Apply Dart Null Safety syntax (e.g., using `?`, `!`, `late`, `required`, and initializing non-nullable variables). 2. Update `Key` parameters to `Key?`. 3. Use `const` constructors where appropriate. 4. Update `Firestore.instance` to `FirebaseFirestore.instance`. 5. Update `QuerySnapshot.documents` to `QuerySnapshot.docs`. 6. Update `DocumentSnapshot.documentID` to `DocumentSnapshot.id`. 7. Update `collection.getDocuments()` to `collection.get()`. 8. Update `DocumentSnapshot['field']` access to `DocumentSnapshot.data()?['field']`. 9. Remove unnecessary `new` keywords. 10. Ensure State classes use the private underscore naming convention (e.g., `_MyWidgetState`). # Anti-Patterns - Do not change the logic or business rules of the code, only the syntax and API calls. - Do not leave legacy API calls like `Firest
- Prompt
- Triggers
What does the Flutter 3.7.0 Code Migration skill do?
Migrates legacy Flutter/Dart code snippets to comply with Flutter 3.7.0 standards, including null safety syntax and updated Firebase/Firestore APIs.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill flutter-3-7-0-code-migration --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
