memory

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Memory

记忆功能

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

操作步骤

  1. Locate memory file using Read tool
  2. Parse JSON structure containing memory entries
  3. Identify relevant memories based on current context
  4. Extract applicable decisions, conventions, or preferences
See
{baseDir}/references/implementation.md
for detailed implementation guide.
  1. 使用Read工具定位记忆文件
  2. 解析包含记忆条目的JSON结构
  3. 根据当前上下文识别相关记忆
  4. 提取适用的决策、规范或偏好
详细实现指南请查看
{baseDir}/references/implementation.md

Output

输出内容

  • 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
{baseDir}/references/errors.md
for comprehensive error handling.
完整的错误处理说明请查看
{baseDir}/references/errors.md

Examples

示例

See
{baseDir}/references/examples.md
for detailed examples.
详细示例请查看
{baseDir}/references/examples.md

Resources

相关资源

  • /remember [text]
    - Add new memory to manual_memories array
  • /forget [text]
    - Remove matching memory from storage
  • /memories
    - Display all currently stored memories
  • Apply memories silently without announcing to user
  • Current explicit requests always override stored memories
  • /remember [text]
    - 向manual_memories数组中添加新记忆
  • /forget [text]
    - 从存储中移除匹配的记忆
  • /memories
    - 显示当前所有已存储的记忆
  • 静默应用记忆,无需向用户告知
  • 当前明确的请求始终优先于已存储的记忆