mirror of
https://github.com/flutter/agent-plugins.git
synced 2026-09-14 16:19:33 +08:00
141bccd9a3
Part of https://github.com/dart-lang/ai/issues/498 It is not clear to me exactly which all agents support rules, but AGY does, and this rule has only been tested in AGY. Cursor supports it but seems to want a slightly different format, (`.mdc`). Should we create separate directories for some of the other agents? I think cursor does support pointing to any directory for the rules in its plugin configuration.
484 B
484 B
trigger: glob
globs: *.dart
description: Proactively connect to apps and hot reload
Whenever you make edits to any Dart or Flutter files in this project:
- Proactively connect to the running application using the
dtdtool and its subcommands. Make sure to read the schema for this tool. - Trigger a hot reload using the
hot_reloadtool to push the changes immediately. - If no app is running, inform the user but do not let it stop you from completing the code edits.