**用途:**這是 Skill 的定義文件,也是 Agent 讀取的主要內容。
- YAML Frontmatter 定義技能名稱與用途,供 Agent 進行技能發現(discovery)。
- Purpose 說明「何時應使用這個 Skill」。
- Steps 固定任務流程,避免模型即興生成。
- Output Format 明確規範輸出結構,降低不一致風險。
**用途:**這是 Skill 的定義文件,也是 Agent 讀取的主要內容。
| # KataGo C++ GTP 引擎的配置檔 | |
| # 使用指令運行程式:`./katago.exe gtp` | |
| # 在此範例配置中,若參數以註解形式給出預設值, | |
| # 則該值為預設值(除非另有說明)。若需修改,可取消註解(刪除井號)並更改數值。 | |
| # =========================================================================== | |
| # 在線上伺服器或正式比賽中使用 | |
| # =========================================================================== |
| /* | |
| * Parses the request and dispatches multiple concurrent requests to each | |
| * internal endpoint. Results are aggregated and returned. | |
| */ | |
| function serviceDispatch(req, res) { | |
| var parsedUrl = url.parse(req.url); | |
| Service.findOne({ url: parsedUrl.pathname }, function(err, service) { | |
| if(err) { | |
| logger.error(err); |