AgentSkillsCN

memories

记录、更新并精心整理持久化的项目记忆,例如架构决策、编码偏好、工作流程、工具选择,以及领域规则。当用户希望保存或铭记某段记忆时,或当您发现某些高价值知识应当在不同会话间持续留存时,可使用此功能。此外,当您被要求回顾、验证,或清理已存储的记忆时,也可使用此功能。

SKILL.md
--- frontmatter
name: memories
description: Capture, update, and curate durable project memories such as architecture decisions, coding preferences, workflows, tooling choices, and domain rules. Use when the user asks to save/remember a memory or when you identify high-leverage knowledge that should persist across sessions. Also use when asked to review, validate, or prune stored memories.

Memories

When this skill triggers, keep the main agent context minimal. Immediately spin up a sub-agent to save or update the memory (the "xx" insight). Provide the sub-agent the insight text and direct it to read references/memory-workflow.md for the full workflow, templates, and scripts. The sub-agent should execute the workflow and report back with what changed.