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.
10 lines
433 B
Plaintext
10 lines
433 B
Plaintext
---
|
|
globs: *.dart
|
|
alwaysApply: false
|
|
---
|
|
|
|
Whenever you make edits to any Dart or Flutter files in this project:
|
|
1. Proactively connect to the running application using the `dtd` tool and its subcommands. Make sure to read the schema for this tool.
|
|
2. Trigger a hot reload using the `hot_reload` tool to push the changes immediately.
|
|
3. If no app is running, inform the user but do not let it stop you from completing the code edits.
|