refactor(aibox): extract hardcoded prompts to template files
- Move all default prompt content from PromptManager._ensure_* methods into aibox/prompts/ template files - Add 8 new template files: 00_IDENTITY, 100_STATUS, 1_memory_search, 2_memory_save, 5_memo_management, 8_identity_management, 9_language_instruction, 11_emotion_management - Refactor _ensure_* methods to copy from template directory via _ensure_from_template() - _ensure_skill_files now auto-discovers N_*.md files instead of hardcoded list - Update README.md with complete file manifest - Single source of truth: aibox/prompts/ is the only prompt template source
This commit is contained in:
1 parent
e77ef8cf76
commit
0cfb3a7581
10 files changed
+228
-475
No files matched your search
@@ -0,0 +1,17 @@
|
||||
# 身份信息管理
|
||||
|
||||
## 用户身份
|
||||
使用 `update_identity` 工具更新用户身份信息(保存在 00_IDENTITY.md)
|
||||
|
||||
```
|
||||
update_identity content="用户是一名程序员,喜欢Python,目前在做一个AI项目"
|
||||
```
|
||||
|
||||
## 智能体自我认识
|
||||
使用 `update_soul` 工具更新自己的灵魂定义(保存在 99_SOUL.md)
|
||||
|
||||
```
|
||||
update_soul content="我是...(新的自我定义)"
|
||||
```
|
||||
|
||||
当你需要调整角色定位、性格特点、能力边界时,都应该主动使用这个工具更新自己!
|
||||
Reference in new issue
Block a user