memory
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMemory
记忆功能
Overview
概述
This skill provides automated assistance for the described functionality.
本Skill可针对上述功能提供自动化辅助支持。
Prerequisites
前置条件
Before using this skill, ensure you have:
- Project memory file at
{baseDir}/.memories/project_memory.json - Read permissions for the memory storage location
- Understanding that memories persist across sessions
- Knowledge of slash commands for manual memory management
使用本Skill前,请确保满足以下要求:
- 项目记忆文件位于
{baseDir}/.memories/project_memory.json - 拥有记忆存储位置的读取权限
- 了解记忆可跨会话持久保存
- 掌握用于手动管理记忆的斜杠命令
Instructions
操作步骤
- Locate memory file using Read tool
- Parse JSON structure containing memory entries
- Identify relevant memories based on current context
- Extract applicable decisions, conventions, or preferences
See for detailed implementation guide.
{baseDir}/references/implementation.md- 使用Read工具定位记忆文件
- 解析包含记忆条目的JSON结构
- 根据当前上下文识别相关记忆
- 提取适用的决策、规范或偏好
详细实现指南请查看。
{baseDir}/references/implementation.mdOutput
输出内容
- Memories applied automatically without announcement
- Decisions informed by historical context
- Consistent behavior aligned with past choices
- Natural incorporation of established patterns
- List of all stored memories with timestamps
- Confirmation of newly added memories
- 记忆将自动应用,无需额外通知
- 决策参考历史上下文信息
- 行为与过往选择保持一致
- 自然融入已确立的模式
- 带时间戳的所有已存储记忆列表
- 新添加记忆的确认信息
Error Handling
错误处理
See for comprehensive error handling.
{baseDir}/references/errors.md完整的错误处理说明请查看。
{baseDir}/references/errors.mdExamples
示例
See for detailed examples.
{baseDir}/references/examples.md详细示例请查看。
{baseDir}/references/examples.mdResources
相关资源
- - Add new memory to manual_memories array
/remember [text] - - Remove matching memory from storage
/forget [text] - - Display all currently stored memories
/memories - Apply memories silently without announcing to user
- Current explicit requests always override stored memories
- - 向manual_memories数组中添加新记忆
/remember [text] - - 从存储中移除匹配的记忆
/forget [text] - - 显示当前所有已存储的记忆
/memories - 静默应用记忆,无需向用户告知
- 当前明确的请求始终优先于已存储的记忆