From ecad937af9ea71b33a31ac60cf124a21e48295a1 Mon Sep 17 00:00:00 2001 From: Yunfei He Date: Mon, 25 May 2026 11:16:06 +0800 Subject: [PATCH] docs: add test-first bug fix rule to AGENTS.md Co-Authored-By: Claude Opus 4.7 (1M context) --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index f9da273..48b2bc8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,6 +4,7 @@ - Always use Vue's `shallowRef` over `ref` by default. Using `ref` requires a solid justification and a code comment explaining why deep reactivity is needed. - Always use `defineComponent()` to define components. Never use bare `{ setup() {} }` objects — they lack component scope, so `inject`, `watch`, and `onScopeDispose` won't work correctly. - Vue SFCs must use `