refactor(skills): update routeSkillWithLLM to use RuntimeContext and streamline user message handling

This commit is contained in:
mlogclub
2026-04-17 18:57:34 +08:00
parent 51884f1bdf
commit 19848d031b
3 changed files with 13 additions and 8 deletions
@@ -3,6 +3,7 @@ package instruction
// DefaultProjectInstruction 为当前项目统一注入的全局项目规则。
//
// 默认回退到内置常量;运行时优先由 ProjectInstructionProvider 读取仓库中的 AGENTS.md。
// TODO 这里是做什么的?为什么不直接读取AIAgent的?
const DefaultProjectInstruction = `# AGENTS.md
本文件定义本项目内 AI Agent 的强制开发规则。除非用户明确要求偏离,否则必须遵循。