diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 0000000..33ac365 --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,86 @@ +GitHub Copilot Instructions for This Repository +Use Svelte 5 runes exclusively + +Declare reactive state with $state(); derive values with $derived(); run side-effect logic with $effect() etc. +svelte.dev +svelte.dev + +Do not fall back to the legacy $: label syntax or Svelte 3/4 stores! This is important! + +Enforce a clean component structure + + + +
+ + +

{doubled}

+
+What not to do + +No inline style="" attributes. + +No external CSS files unless Tailwind cannot express the rule. + +No class names that imply design debt (.box, .wrapper, .container-1, etc.). + +Avoid non-reactive variables; if a value affects the UI, use a rune. + +NEVER $: label syntax; use $state(), $derived(), and $effect(). + +If you want to use supabse client in the browser, it is stored in the data +variable obtained from let { data } = $props(); \ No newline at end of file