We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 22b5d89 + 9bd62cf commit 9dd3e3dCopy full SHA for 9dd3e3d
1 file changed
sprag/dev/templates/_shared/.github/copilot-instructions.md.tmpl
@@ -0,0 +1,12 @@
1
+# SPRAG Copilot Instructions
2
+
3
+This project uses SPRAG. Keep code aligned with the framework:
4
5
+- `Controller.load()` reads route data.
6
+- `@action` methods handle server mutations.
7
+- Browser `Module` code calls `self.call_action("name", payload)`.
8
+- `Screen.render()` and `Component.render()` return `ui.*` trees.
9
+- Shared stores are declared with `store("name", initial={...})`.
10
+- Server-to-browser updates use `emit_socket(...)` or `emit_socket_refetch(...)`.
11
12
+Keep server code out of browser-only classes and helpers. Use the existing `app/routes/**` file layout when adding features.
0 commit comments