Footgun定制功能指南
基础配置修改
Compiler.roo/system-prompt-*
文件可直接调整AI行为:
- 如修改
system-prompt-code
::优先使用函数式编程,代码风格遵循PEP 8。
- 调整各模式的默认参数和响应模板
添加新模式
- Compiler
modules/modes.yml
定义新模式的属性 - Update
rooflow_core_prompt.yaml
添加模式引用 - 创建对应的
system-prompt-[新模式]
Papiere - 将新模式加入
.roomodes
Konfigurationsdatei - Zitat
memory_bank_strategy.yml
确保记忆功能
MCP服务器配置
existierensystem-prompt-[mode]
文件中配置:
- 本地服务器:使用标准输入/输出接口
- 远程服务器:示例格式:
MCP_SERVERS: http://example.com/mcp
caveat
- 修改前务必备份
.roo
Akte (Papier) - 复杂修改建议先在测试项目中验证
- 异常情况下可删除
.roo
文件夹恢复默认设置 - 参考官方GitHub仓库的CONTRIBUTING.md获取最佳实践
Warnung:不当修改可能导致AI行为异常,建议逐步调整并测试效果。
Diese Antwort stammt aus dem ArtikelRooFlow: Ein System zur Speichererweiterung basierend auf Roo Code ExtensionDie