Skip to main content

ucl-coding

UCL_Core 撰寫規範入口(C# 與 Python)— 動 code 之前該知道的硬規則與慣例。 涵蓋:**路徑一律走既有解析器不自己推導**(三端對照;自推導的失敗是靜默的)、 **錢一律走 Cmd**(token 與券,python 不直寫帳本)、 外部 Process 一律走 UCL_ProcessRegistryService(防屍潮)、設定與 JSON 資料的 typed model 原則、 字串 key 常數化、註解規範、IMGUI 一律走 UCL 封裝(優先 DrawObjectData 自動繪製), 以及「該用哪個既有基建而不是自己重造」的指路。 ⚠ **要寫 .py 前先讀 Python_Coding_Standards.md**(本 skill 有指路)。 觸發詞(case-insensitive substring,任一命中即 lazy-load): - coding 規範 / coding standard / 撰寫規範 / 程式規範 / code style / 命名規範 - 我要寫 python / 改 .py / 新增工具腳本 / Tools~ 底下 / CLI 工具 - 路徑推導 / repo root / data root / ucl_paths / 寫死路徑 / 平行宇宙 / 寫到 repo 外 - 直寫帳本 / 發券 / 扣券 / 查餘額 / treasury_cmd - 開 Process / Process.Start / spawn process / 子行程 / daemon / 屍潮 / 殭屍行程 / process 卡死 - JsonData / typed model / 設定檔欄位 / EditorPrefs key / const string / 字串 key - 註解怎麼寫 / 區塊職責 / 物理意義 / 數值影響 - 我要新增 C# 檔 / 要改 UCL_Core 的 code / 這段該放哪 - 畫介面 / IMGUI / GUILayout / Editor 頁 - DrawObjectData / DrawList / 自動繪製 / 手刻欄位 - UCLI_ShortName / UCLI_IsEnable / UCLI_NameOnGUI / UCLI_FieldOnGUI / SerializeReference 多型下拉 - Cmd_

Aller à l'installation

Informations de source

Dépôt
tim099/UCL_Core
Dernière activité de la source
18 août 2026 à 08:11
Langue détectée de SKILL.md
chinois
Étoiles
4
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.