From 29bea9899f557e0859c493b56708a63a2073b7f8 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 11 Feb 2025 15:27:45 +0000 Subject: [PATCH] chore: add basic copilot instructions --- .github/copilot-instructions.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/copilot-instructions.md diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 0000000000..81e31ded12 --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,14 @@ +# Core Requirements + +- The end goal is stability, speed and great user experience. + +## Code Quality Requirements + +- Follow standard TypeScript conventions and best practices +- Use the Composition API when creating Vue components +- Use clear, descriptive variable and function names +- Add comments to explain complex logic or non-obvious implementations +- Write unit tests for core functionality using `vitest` +- Write end-to-end tests using Playwright and `@nuxt/test-utils` +- Keep functions focused and manageable (generally under 50 lines) +- Use error handling patterns consistently