From 9429133d04e695e53ba5c485e3e13a379fb3a03a Mon Sep 17 00:00:00 2001 From: hh <2587203630@qq.com> Date: Mon, 20 Jul 2026 11:55:19 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=90=8C=E6=AD=A5=20Codex=20=E5=B7=A5?= =?UTF-8?q?=E7=A8=8B=E7=BA=A6=E6=9D=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .agents/skills/pixel-perfect-react/SKILL.md | 2 +- AGENTS.md | 72 ++++++++++++++++----- 2 files changed, 57 insertions(+), 17 deletions(-) diff --git a/.agents/skills/pixel-perfect-react/SKILL.md b/.agents/skills/pixel-perfect-react/SKILL.md index 9434e88..2bb489a 100644 --- a/.agents/skills/pixel-perfect-react/SKILL.md +++ b/.agents/skills/pixel-perfect-react/SKILL.md @@ -5,7 +5,7 @@ description: 把 HTML 设计稿像素级精准还原成 React/TSX 组件。当 # 像素级 HTML → React 还原 -> 路径约定:本文路径相对 **AirShelf 仓库根**(即本 `.Codex` 的上一级)。前端工程在 `core/frontend/`,设计 SSoT 在 `电商AI平台/design.md`,设计镜像在 `core/frontend/public/exact/`。 +> 路径约定:本文路径相对 **AirShelf 仓库根**(即本 `.agents` 的上一级)。前端工程在 `core/frontend/`,设计 SSoT 在 `电商AI平台/design.md`,设计镜像在 `core/frontend/public/exact/`。 ## 核心原则:转写,不是重画(Transcribe, don't reinterpret) diff --git a/AGENTS.md b/AGENTS.md index db3ed68..59f27b6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -9,24 +9,23 @@ **Airshelf** · AI 短视频带货生成平台 · 5 阶段流水线(商品 → 故事板 → 镜头 → 生成 → 投放) - **设计代号:** Restraint · V2.1 · Firecrawl-aligned -- **主要工作目录:** [电商AI平台/](电商AI平台/) -- **Next.js 工程(独立):** [app/](app/) -- **V1 历史归档:** [v1/](v1/) -- **V2.1 归档(原 v2.1/):** [v2/](v2/) +- **实际开发目录:** [core/](core/) —— `core/frontend`(React 19 + Vite + TS,真网站前端)· `core/backend`(Django,后台)· `core/qa`(截图对比测试) +- **视觉标准答案(对照用,不是运行代码):** [电商AI平台/](电商AI平台/) —— UI 设计师手写的 HTML 设计稿 + `design.md` 设计规范。**开发改 `core/`,视觉照 `电商AI平台/`。** +- **历史归档:** [v1/](v1/) · [_archive/](_archive/) --- ## ★ 设计规范铁律(每次涉及页面 / CSS / UI 必读) ### 触发条件 -**只要任务涉及以下任一种,必须先 Read [电商AI平台/design.md](电商AI平台/design.md):** -- 修改 `.html` 文件 -- 修改 `assets/restraint.css` 或任何 `.css` -- 修改 inline `