Skip to main content

bee-add-form

Stars10
Forks5
UpdatedJuly 23, 2026 at 15:03

在一個已接好的 Bee.NET app 上「加一張表單」的多檔流程與避雷 —— 一張可用的 CRUD 表單 = 4 處純定義修改(FormSchema + TableSchema + DbCategorySettings 註冊 + ProgramSettings 上選單),不寫 UI / CRUD 程式碼。涵蓋 4 檔 checklist(漏哪個會有什麼徵兆)、business 表用 company scope、TableSchema 資料夾必須 = CategoryId、FormSchema 慣例(lookup 的 RelationProgId+RelationFieldMappings+ref_* RelationField、master-detail 的 sys_master_rowid、DropDownEdit+ListItems、計算欄 FormField.ReadOnly、sys_name 可省)、何時才需要自訂 BO。當使用者要「加一張表單 / 主檔 / 單據」、「新增一個 ProgId / 畫面」、「為某張表做 CRUD」、「Bee 表單要怎麼定義 lookup / 明細 / 下拉 / 唯讀欄」之類需求時使用,即使沒明講「加表單」也要主動觸發。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly