From norwegianforest-knowledge-base
NorwegianForest 專案 function 腳本撰寫的技術背景知識。 當需要撰寫或修改 policy、batchPolicy、batchBeforeUpdate、beforeUpdate 等 table lifecycle hook 腳本時,務必先讀此 skill,避免寫出造成無限迴圈或效能問題的腳本。
npx claudepluginhub peacepan/peace-agent-marketplaceThis skill uses the workspace's default tool permissions.
本 skill 提供撰寫 NorwegianForest function 腳本所需的核心技術知識。
Conducts multi-round deep research on GitHub repos via API and web searches, generating markdown reports with executive summaries, timelines, metrics, and Mermaid diagrams.
Dynamically discovers and combines enabled skills into cohesive, unexpected delightful experiences like interactive HTML or themed artifacts. Activates on 'surprise me', inspiration, or boredom cues.
Generates images from structured JSON prompts via Python script execution. Supports reference images and aspect ratios for characters, scenes, products, visuals.
Share bugs, ideas, or general feedback.
本 skill 提供撰寫 NorwegianForest function 腳本所需的核心技術知識。 請依需求查閱以下參考文件:
| 文件 | 內容摘要 | 何時閱讀 |
|---|---|---|
| sandbox-vm.md | Sandbox VM 架構、Worker Pool、MyQuery 支援方法、執行限制 | 第一次接觸此專案、遇到逾時或記憶體問題 |
| lifecycle-hooks.md | 四種 hook 的觸發時機、ignorePolicy 行為差異對照表 | 撰寫任何 hook 腳本之前 |
| insert-vs-update.md | batchPolicy 的 INSERT vs UPDATE 情境、oldRecords 判斷 | 撰寫 batchPolicy 腳本 |
| anti-loop-patterns.md | userContent 旗標防循環機制、已知旗標清單、完整範例 | 腳本會觸發跨表更新時 |
| transferorder-wh-lifecycle.md | WH 調撥單 push 表身列的完整觸發鏈、冗餘 policy 分析與修正 | 修改 transferorder / dsvorder / dsvorderdetail 相關腳本 |
| best-practices.md | 常見錯誤模式(✅/❌ 對比)、效能考量 | Code review 或撰寫新腳本 |
updatedAtByTransferOrder: new Date()