memory-entry-update
Skill2 starsChanged 11 days agoMITView on GitHub
在用户明确要求更新特定长期信息时,同步已有记忆正文、description 与 MEMORY.md 索引并验证。触发:更新记忆、记忆索引同步、记忆维护。只读审阅仅给差异;不用于新增条目、临时进度、排错配方或代码结构。
In this repository131 other files it gives its agents.
- agent-client-network-triageSkill
- architecture-designerSkill
- async-python-patternsSkill
- audit-ci-cost-leversSkill
- awesome-design-mdSkill
- byok-model-retrySkill
- cloudbase-wechat-integrationSkill
- concurrent-edit-attribution-checkSkill
- continuation-state-auditSkill
- counterexample-driven-plan-reviewSkill
- deliver-prdSkill
- desktop-update-push-triageSkill
- diagnose-github-actions-quotaSkill
- diagnose-windows-webview2-blank-windowSkill
- disk-junction-migrationSkill
- distinctive-design-systemsSkill
- dsh-session-format-debugSkill
- electron-app-stuck-spinner-triageSkill
- electron-asar-code-forensicsSkill
- electron-tray-icon-diagnosisSkill
- encrypted-office-visual-inspectionSkill
- frontend-design-ui-uxSkill
- frontend-developmentSkill
- game-designer-toolkitSkill
- game-numeric-designSkill
- github-acceleratorSkill
- global-config-smoke-runnerSkill
- goal-driven-executionSkill
- hid-device-protocol-probeSkill
- i-have-adhdSkill
- injected-context-slimmingSkill
- java-architectSkill
- java-qualitySkill
- kafka-best-practicesSkill
- large-sqlite-text-extractionSkill
- local-api-contractsSkill
- local-browser-e2eSkill
- local-db-migrationsSkill
- local-frontend-a11ySkill
- local-performance-evidenceSkill
- local-reverse-proxy-triageSkill
- local-rust-engineeringSkill
- local-spring-mybatisSkill
- mechanize-rule-into-hook-guardSkill
- memory-bank-divergence-repairSkill
- merge-inbound-qoder-packageSkill
- minigame-dev-proSkill
- miniprogram-developmentSkill
- mongodb-atlas-stream-processingSkill
- mongodb-connectionSkill
- mongodb-mcp-setupSkill
- mongodb-natural-language-queryingSkill
- mongodb-query-optimizerSkill
- mongodb-schema-designSkill
- mongodb-search-and-aiSkill
- mysqlSkill
- nextjs-app-router-patternsSkill
- nginx-config-builderSkill
- nodejs-backend-patternsSkill
- oauth-login-failure-triageSkill
- The first 60 shown.
The file
Files
记忆条目更新
授权范围
用户明确要求新增、更新或删除特定长期信息,才允许相应写入;修改已有条目、描述和索引也不能省略这一前提。本技能处理已有条目,不代替新增条目的范围确认。 只读审阅不备份、不编辑、不写索引或同步副本;仅返回差异和建议,普通重试与临时纠正不授权记忆写入。
为什么要成对改
一条记忆有三个载体,漏一个就会漂移:
- 记忆正文(
memory/<name>.md) - 正文的 frontmatter
description(检索与索引用) MEMORY.md的索引行(不带 frontmatter,必须单独同步)
步骤
- Read 两个文件:正文 +
MEMORY.md,确认条目已存在、当前措辞与链接。 - 备份两个载体(改哪个备哪个):
不要用node ~/.qoder/scripts/backup-file.js "<memory 文件>" node ~/.qoder/scripts/backup-file.js "<MEMORY.md>"cp手搓,备份会无裁剪地堆积。 - Edit 三处成对改动:
- 正文:按锚点插入/替换,保留其他会话内容;
- frontmatter:
description单行,反映新增内容; - 索引:
- [标题](file.md) — 一句话钩子,不超过约 150 字符。
- 四条可失败验收:
- 对照用户要求核对正文含义与 frontmatter 描述,而不只检查关键词存在;
- 核对索引行的目标文件、名称和摘要与正文一致;
- Glob 确认没有新增平行条目,备份文件不计作记忆条目;
- 对照改前内容确认改动仅限获准条目与索引,其他会话内容仍在。
涉及客户端同步或规则机制时,再运行
node ~/.qoder/scripts/rules-weekly-audit.js --no-fix核对相关项;无关告警不作为本次更新的完成前置,也不授权顺带整改。[INFO]行不是告警。
- 汇报:写清改了哪三处、验收命令与结果;提示词层无法程序化验证的部分显式标「未验证 + 原因」。
两侧记忆已存在真分叉时
国际版与 CN 版 MEMORY.md 可能本来就各有独有条目(真分叉),此时不能要求周检整体 0 告警后收口:
- 先跑一次
rules-weekly-audit.js --no-fix记录基线(哪些告警是既有的)。 - 只定点修改两侧共同的索引行与同名正文;不复制整份
MEMORY.md,不删对方独有条目。 - 验收改为:正文与索引各只有一条、没有新增平行条目、未新增告警;允许周检因既有分叉继续非零。
- 汇报明确区分“既有红”与“本轮新增红”;本轮新增红必须归零,既有红只报告不改。
边界
- 只更新经核验的长期事实;短期进度、排错配方、代码结构不进记忆。
- 按当前记忆规范区分用户级与项目级;不把项目进度写入长期记忆。
- 多客户端先核对真源与获准同步范围;同源只改一次,实体副本只在批准范围内同步,未批准的一侧只做差异检查。
- 删除条目时同步删索引行,避免悬空引用。
相关
- 记忆链接 / 凭据专项审计:先用
skill-load检索memory-link-and-credential-audit;本包未附带该技能,未找到时报告能力缺口,不直接假定已安装。 - 规则周检:
global-config-smoke-runner。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

