agentleFS
ianlkl11234sianlkl11234s/mini-taiwan-pulse/AGENTS.md

mini-taiwan-pulse

AGENTS.md547 starsChanged 9 days agoMITView on GitHub

本專案規則 SSOT 是 CLAUDE.md,請直接讀它。 本檔不維護一般開發規則副本;下方 Code Review Rules 是原生 Codex GitHub review 的必要整合入口,只保留高風險檢查。 主 agent 負責範圍、跨模組決策、整合與驗收;只有明確可獨立的盤點、搜尋或有界實作才委派。Astra/Terra/Luna 的角色、最少脈絡與停止條件以工作區 ../CLAUDE.md 為準。

The file

Files
AGENTS.md

AGENTS

本專案規則 SSOT 是 CLAUDE.md,請直接讀它。 本檔不維護一般開發規則副本;下方 Code Review Rules 是原生 Codex GitHub review 的必要整合入口,只保留高風險檢查。

Astra/Terra/Luna 協作

主 agent 負責範圍、跨模組決策、整合與驗收;只有明確可獨立的盤點、搜尋或有界實作才委派。Astra/Terra/Luna 的角色、最少脈絡與停止條件以工作區 ../CLAUDE.md 為準。

Code Review Rules

  • GIS 與統計資料修改必須保留 source、時間、license/status、缺值/抑制/零值、filter 與 geometry precision 語意;授權明確受限的資料不得被接成可用圖層;授權未標示與 HOLD 候選的處理見下方「已決定、不需再提的事項」。
  • 動態圖層不得因時間 state 進入不必要的 effect dependency 而重複載入;所有 async loader 必須接上既有 loading registry,並在卸載或切換時正確取消/忽略過期結果。
  • 新增或修改圖層時,檢查 manifest、catalog、hook/host、overlay/click registry、popup 與 visibility default 是否一致;若上游契約與前端 readback 不一致,應回報為阻擋性問題。

已決定、不需再提的事項

  • 政府來源頁未標示授權的資料照常上線,來源卡標「授權待確認」即可,不要求隱藏、降級或排除出分析倉庫。
  • HOLD 候選圖層一進分析倉庫即視為放行(scripts/research/build-layer-status.mjs 現行行為)。
  • Google 定位或 Google Places 推得的座標維持現狀,不要求額外標注或改授權欄。
  • UI 與地圖樣式以 docs/design-system/spec.md、docs/design-system/map-layers.md 為準,規格允許的做法不再提;鏡頭自動 fit 上限 zoom 16 是刻意設計。
  • 分析口徑:未涵蓋 ≠ 0,必要的資料限制但書都要寫;ds_poi_medical 是已接受來源。
  • 授權只禁止「商用」不算明確受限:個人非營利網站照常上線,popup/來源卡標示限制即可。
  • 颱風多來源路徑維持單源優先:優先來源有任何點就只用它,不依時段回退次優來源。
  • 統計的「最近不重疊期別」退回只限污水接管公式,癌症篩檢等其他統計不退回;部分期間下沒有對應期別的口徑選項要停用並標示原因(例「(目前期別未提供)」)。
  • 多語版 SEO:?lang=en/ja 的 canonical 指向自己的語版網址、與 hreflang 一致;/card/ 不放 robots.txt Disallow,由 nginx noindex header 控制。
  • 全站站主限定/私人圖層在登出或失去權限時,一律關閉圖層並清除 module 快取與 Mapbox source,不只修單一圖層(實作沿用 owner-gate-unify)。
  • 已套用到正式 DB 的 migration 不為 review 意見回頭改成可重跑(缺 ON CONFLICT 等直接視為已決定);新寫的 migration seed 一律帶 ON CONFLICT。
  • 圖例群組的面填色透明度取第一個開著且查得到的成員,不逐列各算(map-layers.md LG-14)。
  • 多資料集圖層:每個 dataset 都要登記,任一 dataset 入倉即算可分析;不要求每個都有 warehouse 區塊。
  • 正本在 gis-agent-system reports/code-review/POLICIES.md。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.