From 46ab53e928f21a3833003f3327feec5fbd2a994e Mon Sep 17 00:00:00 2001 From: Jake Macdonald Date: Mon, 3 Aug 2026 19:30:41 +0000 Subject: [PATCH 1/3] add a rule file encouraging proactive use of hot reload and connecting to apps --- rules/hot_reload.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 rules/hot_reload.md diff --git a/rules/hot_reload.md b/rules/hot_reload.md new file mode 100644 index 0000000..0f6b845 --- /dev/null +++ b/rules/hot_reload.md @@ -0,0 +1,10 @@ +--- +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: +1. Proactively connect to the running application using the `dtd` tool and it's 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. From 1532612778df39ea23e2002f6e68321f52a2bded Mon Sep 17 00:00:00 2001 From: Jake Macdonald Date: Mon, 3 Aug 2026 19:33:51 +0000 Subject: [PATCH 2/3] fix grammar --- rules/hot_reload.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/hot_reload.md b/rules/hot_reload.md index 0f6b845..68bc31b 100644 --- a/rules/hot_reload.md +++ b/rules/hot_reload.md @@ -5,6 +5,6 @@ description: Proactively connect to apps and hot reload --- 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 it's subcommands. Make sure to read the schema for this tool. +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. From 856453b2ac833667c9f419e4c85bf1061712cc77 Mon Sep 17 00:00:00 2001 From: Jake Macdonald Date: Tue, 4 Aug 2026 19:56:35 +0000 Subject: [PATCH 3/3] add cursor rule file --- rules/hot_reload.mdc | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 rules/hot_reload.mdc diff --git a/rules/hot_reload.mdc b/rules/hot_reload.mdc new file mode 100644 index 0000000..e97ded5 --- /dev/null +++ b/rules/hot_reload.mdc @@ -0,0 +1,9 @@ +--- +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.