Mem Update Publish
БесплатноБез исполняемых скриптовНе проверенMemory Bank Update Workflow — v6.12 compliant with project-repo awareness. Use when the user invokes $mem-update or asks for this workflow by name. Triggers…
от space-cadet595 установок в других каталогахОб этом скилле
Memory Bank Update Workflow (v6.12)
Path Conventions
${MB_CORE_PATH}— path to your localmb-coreclone (the memory-bank spec repo). Set it as an environment variable; if unset, treat it as a placeholder for wherever you keep the v6.12 rules + templates.<workspace>— your working root (e.g. the parent of yourmemory-bank/andcode/directories).<project-repo>— any project repository that has its ownmemory-bank/directory.
This skill implements the 8-step manual memory bank update workflow from integrated-rules v6.12, enhanced with project-repo awareness. All updates are done by directly editing markdown files — no database involved. For the SQLite/mb CLI path, use mb-db-workflow.
Merged from mem-update and mb-text-workflow (faithful §6.5 encoding). Key additions:
- Step 0: Project-repo awareness — scan project repos before workspace to prevent duplicate tasks
- Correct edit-chunk handling:
edit_history.mdis a GENERATED VIEW — create chunk files, never edit the view directly - Correct commit format:
(type)TID: Headline - Details (% complete)
Documentation Philosophy
The memory bank has two complementary documentation layers:
Chronological Layer (tells the story):
- Task files — what was done, when, current status
- Session files — work completed in each session
- Edit history — precise record of every file change
- These answer: "What happened? When? In what order?"
Knowledge Layer (stores the understanding):
- Implementation docs — architecture, design decisions, APIs, patterns
- Technical context — system architecture, dependencies, constraints
- Product context — goals, user stories, feature specifications
- These answer: "How does this work? Why was it built this way? How do I use it?"
Both layers are essential. The chronological layer without the knowledge layer becomes an unreadable pile of session logs. The knowledge layer without the chronological layer loses traceability and becomes stale. They must be maintained together.
Prerequisites
Before starting, determine:
- Current system time and timezone (format:
YYYY-MM-DD HH:MM:SS TZ) - Active task ID being worked on
- Files modified and their change descriptions
- Whether implementation documentation needs updating (ALWAYS check this)
Step 0: Identify Correct Memory Bank Location + Discovery
This skill has TWO Step-0 responsibilities. Handle both before touching any file.
0A. Project-Repo Awareness (Location)
- Check if working on a project: Before touching ANY memory-bank files, determine:
- Is there an active project with its own memory-bank? (e.g.,
<project-repo>/memory-bank/) - Is this workspace/infrastructure work? (e.g.,
<workspace>/memory-bank/)
- Is there an active project with its own memory-bank? (e.g.,
- Rule: Project tasks → project memory-bank. Workspace tasks → workspace memory-bank.
- Scan locations:
<workspace>/code/*/memory-bank/(project repos)<workspace>/memory-bank/(workspace)${MB_CORE_PATH}/(mb-core repo for reference)
- Critical: If a task exists in a project repo, DO NOT create it in workspace memory-bank.
0B. Discovery — What Work Needs Documentation?
Use this when you do not already have a complete record of what was done. If you have been tracking work as it happened, skip to the 8-step workflow.
Use discovery when:
- You are resuming after a session restart or context loss
- You were not the agent that performed the work
- The user says "update the memory bank" without specifying what changed
- You suspect work was done that you are not aware of
0.1 Check Last Memory-Bank Update
Read memory-bank/edit_history.md or memory-bank/session_cache.md to find the last update timestamp.
0.2 Examine Git History (if needed)
cd <project-root>
git log --since="<last-memory-bank-update-date>" --oneline
0.3 Check Uncommitted Changes (if needed)
git status
git diff --stat
0.4 Review Existing Edit Chunks
ls -la memory-bank/edits/
cat memory-bank/edits/YYYY-MM-DD/HHMMSS-*.md
0.5 Build Work Summary
| Task ID | Description | Files Changed | Status |
|---|---|---|---|
| Txx | What was done | file1, file2 | in_progress / completed |
Anti-pattern: Documenting only what you remember without verifying completeness.
The 8-Step Workflow
Step 1: Update Individual Task File
File: memory-bank/tasks/Txx.md
If the task file exists, append progress updates. If not, request user approval to create it.
Status emojis (STRICT):
- 🔄 = In Progress
- ✅ = Completed
- ⏸️ = Paused
- ❌ = Cancelled
Update *Last Updated* timestamp. Keep Progress section current (✅ / 🔄 / ⬜).
Step 2: Update tasks.md Registry
File: memory-bank/tasks.md
MUST use the strict table schema:
| ID | Title | Status | Priority | Started | Dependencies | Details |
|----|-------|--------|----------|---------|--------------|---------|
| T1 | [Title] |
Установить Mem Update Publish в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Mem Update Publish?
Memory Bank Update Workflow — v6.12 compliant with project-repo awareness. Use when the user invokes $mem-update or asks for this workflow by name. Triggers on "update memory bank", "create edit chunk", "update tasks.md", "update session cache", "memory bank update workflow". NOT for database-native workflows (use mb-db-workflow instead).
Как установить скилл Mem Update Publish?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Mem Update Publish запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic