Code Orchestrator

👤 sf0799 📦 v0.1.0 ⭐ 4.4 ⬇️ 664 下載
💻 開發程式設計 免費

📖 技能介紹


name: code-orchestrator description: Route requests across local code exploration, planning, implementation, debugging, refactoring, code security review, safe repo-local command execution, and git hygiene. Use when a coding task inside the current workspace spans multiple stages or when the user explicitly asks which of these coding skills should handle the next step. Do not use for spawning external coding agents, generic skill authoring, or host-level operations. Chinese triggers: 該用哪個技能、先分析還是先寫程式碼、這類任務怎麼拆、按什麼順序做、當前程式碼任務怎麼分步.


編碼總控

先判斷該呼叫哪個技能,再決定是否串聯多個技能。

如果任務邊界不清,先看 routing-examples.md 裡的中文示例,再決定路由。

路由規則

  • 需要了解專案結構、入口、依賴、呼叫鏈、資料流時,呼叫 $code-explore
  • 需要先出方案、拆步驟、評估風險和實現順序時,呼叫 $code-architect
  • 需要直接寫程式碼、補程式碼、改邏輯、補測試時,呼叫 $code-write
  • 需要定位報錯、分析根因、給出最小修復時,呼叫 $code-debug
  • 需要在不改行為前提下清理結構和重複邏輯時,呼叫 $code-refactor
  • 需要檢查漏洞、許可權、輸入校驗、金鑰洩露等問題時,呼叫 $code-security
  • 需要執行構建、測試、lint、format、安裝依賴等安全命令時,呼叫 $shell-safe-exec
  • 需要處理分支、提交、歷史保護等 Git 事項時,呼叫 $git-discipline

編排原則

  1. 不要預設把所有技能都用一遍,只選擇當前任務真正需要的最小集合。
  2. 如果任務邊界不清,先探索再決策,不要直接寫程式碼。
  3. 如果任務跨多個階段,按“分析 -> 規劃 -> 實現 -> 驗證 -> 提交”順序串聯。
  4. 如果使用者只要單一步驟,就只調用對應技能,不強行增加流程。
  5. 如果風險高或影響面大,優先加上驗證和安全檢查環節。

常見流程

  • 新功能: $code-explore -> $code-architect -> $code-write -> $shell-safe-exec
  • 修 bug: $code-explore -> $code-debug -> $code-write -> $shell-safe-exec
  • 純重構: $code-explore -> $code-refactor -> $shell-safe-exec

    小蔥技能站7w4.net,專業的AI技能分享平臺。

  • 安全修復: $code-explore -> $code-security -> $code-write -> $shell-safe-exec
  • 釋出前整理: $code-explore -> $git-discipline

輸出

  • 選中的技能
  • 呼叫順序
  • 每個技能被選中的原因
  • 本輪應執行到哪一步為止

🤖 AI 評測

質量中等偏上。作為一個任務排程協調器,它能幫你判斷編碼任務該用哪個工具,流程設計比較合理,中文支援也不錯。但它只是個“指揮員”,本身不幹活,得依賴其他工具才能真正執行任務。而且遇到複雜情況時,判斷邏輯可能不夠準確。總體來說可用性不錯,但功能比較基礎,複雜場景下可能需要人工介入。版本0.1.0,成熟度有待驗證。

📊 多維度評分

適應性4.4
規範性4.4
有效性4.5
可靠性4
可信度5

📁 包含檔案 (4 個)

📄 SKILL.md 2.5 KB
📄 _meta.json 136 B
📄 agents/openai.yaml 308 B
📄 references/routing-examples.md 2.1 KB