From 0756bf12d10cf1b7f78c571de0a9ad69cbaeb7ca Mon Sep 17 00:00:00 2001
From: curtis <curtis@i-mps.com>
Date: 星期一, 30 三月 2026 14:24:17 +0800
Subject: [PATCH] fix: 更新內部引用方法參照

---
 doc/curtis/prompt/scanimpl_analysis/02/scanimpl_ann_addon.md |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/doc/curtis/prompt/scanimpl_analysis/02/scanimpl_ann_addon.md b/doc/curtis/prompt/scanimpl_analysis/02/scanimpl_ann_addon.md
new file mode 100644
index 0000000..0ea3392
--- /dev/null
+++ b/doc/curtis/prompt/scanimpl_analysis/02/scanimpl_ann_addon.md
@@ -0,0 +1,55 @@
+
+---
+base_path: "doc/curtis/prompt/scanimpl_analysis"
+script_path: "script"
+assets_json: "team_tasks_classification.json"
+current_step: "02"
+output_script: "scanimpl_annalysis_addon_json.js"
+---
+
+
+[定義:
+- 以下 @{{json}} 指的是 @scanimpl_annalysis_step_ver.md 需求 "0.1.3.3 階段三:模組分流實體化 (Module Disaggregation)" 所輸出的五個檔案]()
+
+
+## 0.3 處理額外分類
+## 0.3.1 生成處理額外分類腳本
+透過額外分類檔 @team_tasks_classification.json 生成一腳本, 能夠為 @{{jsons}} 額外添加新的分類
+
+- 0.3.1.1 步驟1 變更資料
+  由 @team_tasks_classification.json 中的 lineno 找出於 @{{jsons}} 所對應的 lineno, 
+  為其添加新的 tag, 並於 0.3.1.2 進行寫入
+
+**範例A**
+
+檔案: team_tasks_classification.json
+用於為 需求0.2 生成的 json 額外新增新的 tag, 以下面為例,將為行號 4117 的 ActiveFormCreate 方法新增 tag "初始化與生命週期" 
+```json
+{
+  "tag": "初始化與生命週期",
+  "methodName": "`ActiveFormCreate`",
+  "lineno": "4117"
+}
+```
+
+檔案: scanimpl_annalysis.UIView.json
+行號 4117 的 ActiveFormCreate 方法位於 @scanimpl_annalysis.UIView.json 中,應為 @scanimpl_annalysis.UIView.json
+添加新的 tag "初始化與生命週期", 結果應如下
+```json
+{
+    "matcher": "procedure TCB_IMGPSScanX.ActiveFormCreate",
+    "tags": [
+      "UIView", "初始化與生命週期"
+    ],
+    "lIndex": "4117",
+    "rIndex": "4137"
+}
+```
+
+- 0.3.1.2 步驟2 寫入資料
+  寫入 0.3.1.1 的結果至相應的 json 檔
+
+**腳本檔案輸出位置:**
+> output: {{script_path}}/{{output_script}}
+
+

--
Gitblit v1.8.0