From b1dd60ab6ea219ee2023c76324dc92a5cb725a29 Mon Sep 17 00:00:00 2001 From: pigeon Date: Thu, 4 Jun 2026 05:28:50 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E5=BC=80=E5=8F=91=E8=A7=84=E8=8C=83=E6=96=87=E6=A1=A3=E5=92=8C?= =?UTF-8?q?=20OpenCode=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 创建 AGENTS.md(前端编码规范、开发流程、Git 提交规范) - 创建 .opencode/workspace/frontend.json(前端工作区配置) - 更新 .gitignore --- .opencode/workspace/frontend.json | 11 + AGENTS.md | 541 ++++++++++++++++++++++++++++++ 2 files changed, 552 insertions(+) create mode 100644 .opencode/workspace/frontend.json create mode 100644 AGENTS.md diff --git a/.opencode/workspace/frontend.json b/.opencode/workspace/frontend.json new file mode 100644 index 0000000..525d8f5 --- /dev/null +++ b/.opencode/workspace/frontend.json @@ -0,0 +1,11 @@ +{ + "name": "rui-frontend", + "description": "睿核科技前端开发会话 - 负责 rui-frontend 目录下的前端代码", + "scope": ["admin-ui/**", "cashier-mobile/**", "customer-mobile/**"], + "readonly": [], + "prompt": "你是 rui 前端开发助手。\n\n## 工作范围\n你只能修改 rui-frontend/ 目录下的前端代码。\n\n## 技术栈\n- Vue 3 + TypeScript\n- Element Plus(admin-ui)\n- Vite\n- pnpm workspace\n\n## 编码规范\n1. 使用 ` + + + + +``` + +#### 组件编写原则 + +- **使用 `