Files
sechskies/.cursor/collaboration-notes.md
T
2026-05-15 22:32:35 +08:00

46 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 站主與助手協作備忘
由對話整理;**程式真值**仍以 repo 與 `.cursor/rules/*.mdc` 為準。本檔僅記「這次講定的做事方式」,不取代規則檔。
---
## 1. 邊界(站主明講)
- **沒有叫你做的,不要順手做**(含刪註解、順手整理、自訂「以後我都會……」流程)。
- **看不懂先問**;你說「執行」再改檔。你說「檢查」就只對照回報,**不擅自改**。
- **不要自己訂規則**代替站主(例如自創「只調樣式就保留註解」這類概括)。
---
## 2. 參考圖怎麼讀
- **畫線/粉線**:提醒「這一段要看」,**不是**「整段都要包 span」或「這裡一定要 `mark_b`」。
- **實際標記**:對照圖裡**字重、黃標、一般內文**,再對應既有 class(`mark_y``mark_b`),自己判斷。
- **開發者工具截圖**(勾選/刪除線):照**屬性開關**改 CSS;沒叫動註解就不要動註解。
---
## 3. 首頁 `#mission`(做法,非定稿內容)
- 第一段:站主若只說調 span,**只**增刪 `<span>` 與既有 class;未要求不改 CSS。實際哪些詞要 `mark_y``mark_b` **會變**,以當下 `index.html` 與站主圖為準,**不寫死**在筆記。
- 第二段金句:未要求時**只改內文**、不改 span 結構。
- devtools 截圖:照屬性開關改;沒叫動註解就不要動註解。
---
## 4. 籌備中連結(`portal-nav.js`,若後續對話有改動以檔案為準)
- 頂欄與頁內按鈕:**`NAV_SOON_PHRASES` 隨機氣泡**(滑過);無障礙 aria「尚無開放」。
- 頁內按鈕:**不加**可見「(籌備中)」後綴。
- `totoga2-copy-timeline.html``COMING_SOON_PAGES`(時間軸不公開)。
---
## 5. 相關規則檔
| 檔案 | 用途 |
|------|------|
| `.cursor/rules/ai-change-boundaries.mdc` | 變更範圍、共用 CSS |
| `.cursor/rules/user-scope-and-nav.mdc` | 導覽開放、錨點刪除 |
| `.cursor/rules/portal-nav-rules.mdc` | `portal-nav.js` 技術細節 |