memory-updater — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited memory-updater (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
維護和更新專案的 Memory Bank 記憶系統,確保專案狀態在對話間持久化。
memory-bank/
├── activeContext.md # 當前工作焦點(最常更新)
├── progress.md # 進度追蹤 Done/Doing/Next
├── decisionLog.md # 重要決策記錄
├── architect.md # 架構文檔
├── productContext.md # 專案上下文
├── projectBrief.md # 專案簡介
└── systemPatterns.md # 系統模式使用 read_file 工具讀取要更新的檔案:
read_file("memory-bank/activeContext.md")
read_file("memory-bank/progress.md")| 情況 | 更新檔案 | 更新方式 |
|---|---|---|
| 開始新任務 | activeContext.md, progress.md | 新增 Doing |
| 完成任務 | progress.md | Doing → Done |
| 做出決策 | decisionLog.md | 新增條目 |
| 架構變更 | architect.md | 更新相關區塊 |
使用 replace_string_in_file 進行精確更新(推薦):
replace_string_in_file(
filePath="memory-bank/progress.md",
oldString="## Doing\n\n- [ ] 任務 A",
newString="## Doing\n\n- [ ] 任務 A\n- [ ] 新任務 B"
)或使用 write_file 完整覆寫(適合大幅修改)。
# Active Context
> Last updated: 2026-01-15
## 🎯 當前焦點
[一句話描述正在處理的主要任務]
## 📁 相關檔案
- `path/to/file1.py` - [用途說明]
- `path/to/file2.ts` - [用途說明]
## ⚠️ 待解決問題
- [ ] 問題 1
- [ ] 問題 2
## 💡 備註
[其他需要記住的事項]# Progress
## Done ✅
- [x] 已完成任務 1 (2026-01-15)
- [x] 已完成任務 2 (2026-01-14)
## Doing 🚧
- [ ] 進行中任務 1
- [ ] 進行中任務 2
## Next 📋
- [ ] 計劃任務 1
- [ ] 計劃任務 2# Decision Log
## 2026-01-15
### 決策:選擇 React 作為前端框架
- **背景**:需要選擇前端框架
- **選項**:React, Vue, Svelte
- **決定**:React
- **原因**:團隊熟悉度高,生態系完整
---
## 2026-01-14
### 決策:...✅ 正確:只修改相關區塊
❌ 錯誤:每次都覆寫整個檔案✅ 正確:「完成用戶認證模組」
❌ 錯誤:「今天我們完成了用戶認證模組的開發工作,包括...」✅ 正確:- [x] 完成功能 A (2026-01-15)
❌ 錯誤:- [x] 完成功能 A✅ 正確:`src/domain/entities/User.py`
❌ 錯誤:`User.py`| Skill | 整合方式 |
|---|---|
memory-checkpoint | checkpoint 後呼叫 updater 寫入 |
git-precommit | commit 前強制更新 progress.md |
feature-development | 功能完成後更新 Done |
執行完成後回報:
📝 Memory Bank 已更新
更新內容:
- ✅ activeContext.md - 更新當前焦點
- ✅ progress.md - 新增 1 個 Done 項目
- ⏭️ decisionLog.md - 無變更
下次記得:完成重要任務後執行「更新 memory bank」~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.