OpenParable
Skip to content
← Back to skills

Memory Updater

Productivity
memory-updater

Memory Updater is an Agent Skill for productivity published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

更新 Memory Bank 檔案。觸發:memory、記憶、進度、存檔、sync、做到哪。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/context-management/memory-updater-u9401066-med-paper-assistant/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/memory-updater, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Memory Bank 更新技能

觸發條件

用戶說法觸發
更新 memory、記錄進度✅
存檔、sync、做到哪✅
工作階段結束時✅ 自動觸發

可用工具

Memory Bank MCP Tools

工具用途
memory_bank_update_progress更新 progress.md (done/doing/next)
memory_bank_update_context更新 activeContext.md
memory_bank_log_decision記錄重大決策到 decisionLog.md
memory_bank_show_memory顯示特定記憶檔案內容
memory_bank_switch_mode切換工作模式 (architect/code/ask/debug)

檔案對應

檔案內容更新時機
activeContext.md當前工作焦點每次切換任務
progress.md進度追蹤 (Done/Doing/Next)完成任務時
decisionLog.md重大決策記錄做出架構/技術決策時
productContext.md產品上下文專案設定變更時
systemPatterns.md系統模式發現新模式時

標準工作流程

流程 A:更新進度

# 完成任務
memory_bank_update_progress(
    done=["完成用戶認證模組"],
    doing=["撰寫測試"],
    next=["部署到 staging"]
)

流程 B:記錄決策

# 做出重大決策後
memory_bank_log_decision(
    decision="使用 JWT 進行認證",
    rationale="比 session 更適合 API 服務",
    alternatives=["Session-based", "OAuth2"]
)

流程 C:更新上下文

# 切換工作焦點
memory_bank_update_context(
    current_task="實作密碼重設功能",
    related_files=["src/auth/reset.py", "templates/reset_email.html"]
)

更新原則

  1. 增量更新 - 只新增/修改相關內容
  2. 保持簡潔 - 避免冗餘描述
  3. 時間標記 - 重要項目加上日期
  4. 關聯性 - 標記相關檔案和決策

相關技能

  • memory-checkpoint - 大量更新時的檢查點
  • git-precommit - 提交前自動同步