Update memory bank
Skill emaraschio/cursor-commands/plugin/.cursor/skill-contracts/update-memory-bank
Production-grade Cursor slash commands with paired skill contracts, behavioral evals, and ship-gate CI. Install as a user plugin.
npx -y skills add emaraschio/cursor-commands --skill update-memory-bankAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 9 stars9 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Sync memory bank with repository state
SKILL.md
2.0 KB, as published. Nobody here has run it
Overview
Sync the memory bank with the current state of the repository and recent agent interactions. Run after significant work sessions, feature completions, or when context has drifted from reality.
Memory Bank Files
Each file has a distinct responsibility. Update only what changed:
| File | Purpose | Update when... |
|---|---|---|
activeContext.md | Current state, recent commits, active work | After any meaningful commits |
progress.md | Changelog, milestones, statistics | After feature completion |
techContext.md | Tech stack, tools, environment | Tech stack changes |
systemPatterns.md | Coding standards, patterns | New patterns established |
projectbrief.md | Project purpose and scope | Rarely, only on major scope shifts |
Steps
-
Gather current state
- Run
git log --oneline -15to capture recent commits - Note any new files, commands, or rules added since last update
- Check
activeContext.md"Last Updated" date to understand the gap
- Run
-
Update each relevant file
activeContext.md: Update "Last Updated" date, "Latest Commits" list, "Recent Focus Areas", and "Cursor Commands Inventory" count if it changedprogress.md: Add a changelog entry for the current month if work occurred; update statistics if counts changed- Other files: Only touch if their specific domain changed
-
Verify accuracy
- Confirm commit hashes and descriptions match
git logoutput - Remove stale "Active Work Items" that are now complete
- Ensure statistics (command count, etc.) reflect reality
- Confirm commit hashes and descriptions match
-
Commit
- Use format:
docs(memory-bank): update memory bank with latest changes - Stage only memory bank files:
git add .cursor/memory-bank/ - Push to remote after commit
- Use format:
Guardrails
- Record only verified state; do not invent commits, files, or statistics.
- Update only the files whose domain changed; leave unchanged files alone.