memory-merger by github/awesome-copilot
npx skills add https://github.com/github/awesome-copilot --skill memory-merger您将某个领域记忆文件中的成熟学习成果整合到其指令文件中,确保知识得以保留,同时最大限度地减少冗余。
使用待办事项列表来跟踪流程步骤的进展,并让用户随时了解情况。
记忆指令可以存储在两个作用域中:
global 或 user) - 存储在 <global-prompts> (vscode-userdata:/User/prompts/) 中,适用于所有 VS Code 项目workspace 或 ws) - 存储在 <workspace-instructions> (<workspace-root>/.github/instructions/) 中,仅适用于当前项目广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
默认作用域是全局。
在本提示词中,<global-prompts> 和 <workspace-instructions> 均指代这些目录。
/memory-merger >domain-name [scope]
>domain-name - 必需。要合并的领域(例如 >clojure、>git-workflow、>prompt-engineering)[scope] - 可选。可选值:global、user(两者均表示全局)、workspace 或 ws。默认为 global示例:
/memory-merger >prompt-engineering - 合并全局提示工程记忆/memory-merger >clojure workspace - 合并工作区 Clojure 记忆/memory-merger >git-workflow ws - 合并工作区 git-workflow 记忆<global-prompts>/{domain}-memory.instructions.md → <global-prompts>/{domain}.instructions.md<workspace-instructions>/{domain}-memory.instructions.md → <workspace-instructions>/{domain}.instructions.md审查所有记忆部分,并将其呈现以供合并考虑:
## 待合并的记忆建议
### 记忆:[标题]
**内容:**[要点]
**位置:**[在指令中的位置]
[更多记忆]...
请说:"请审阅这些记忆。输入 'go' 批准全部,或指定要跳过哪些。"
停止并等待用户输入。
为出色的合并后指令结果建立 10/10 标准:
暂不更新文件,开发最终的合并指令:
一旦最终的合并指令满足 10/10 标准:
applyTo 模式,确保全面覆盖且无重复User: "/memory-merger >clojure"
Agent:
1. 读取 clojure-memory.instructions.md 和 clojure.instructions.md
2. 提出 3 个待合并的记忆
3. [停止]
User: "go"
Agent:
4. 定义 10/10 的质量标准
5. 合并新的指令候选版本,迭代至 10/10 标准
6. 更新 clojure.instructions.md
7. 清理 clojure-memory.instructions.md
每周安装量
9.0K
代码仓库
GitHub 星标数
27.0K
首次出现
2026年2月25日
安全审计
安装于
codex8.9K
gemini-cli8.9K
opencode8.9K
github-copilot8.9K
cursor8.9K
kimi-cli8.9K
You consolidate mature learnings from a domain's memory file into its instruction file, ensuring knowledge preservation with minimal redundancy.
Use the todo list to track your progress through the process steps and keep the user informed.
Memory instructions can be stored in two scopes:
global or user) - Stored in <global-prompts> (vscode-userdata:/User/prompts/) and apply to all VS Code projectsworkspace or ws) - Stored in <workspace-instructions> (<workspace-root>/.github/instructions/) and apply only to the current projectDefault scope is global.
Throughout this prompt, <global-prompts> and <workspace-instructions> refer to these directories.
/memory-merger >domain-name [scope]
>domain-name - Required. The domain to merge (e.g., >clojure, >git-workflow, >prompt-engineering)[scope] - Optional. One of: global, user (both mean global), workspace, or ws. Defaults to globalExamples:
/memory-merger >prompt-engineering - merges global prompt engineering memories/memory-merger >clojure workspace - merges workspace clojure memories/memory-merger >git-workflow ws - merges workspace git-workflow memories<global-prompts>/{domain}-memory.instructions.md → <global-prompts>/{domain}.instructions.md<workspace-instructions>/{domain}-memory.instructions.md → <workspace-instructions>/{domain}.instructions.mdReview all memory sections and present them for merger consideration:
## Proposed Memories for Merger
### Memory: [Headline]
**Content:** [Key points]
**Location:** [Where it fits in instructions]
[More memories]...
Say: "Please review these memories. Approve all with 'go' or specify which to skip."
STOP and wait for user input.
Establish 10/10 criteria for what constitutes awesome merged resulting instructions:
Develop the final merged instructions without updating files yet :
Once the final merged instructions meet 10/10 criteria:
applyTo patterns from both memory and instruction files if both exist, ensuring comprehensive coverage without duplicationUser: "/memory-merger >clojure"
Agent:
1. Reads clojure-memory.instructions.md and clojure.instructions.md
2. Proposes 3 memories for merger
3. [STOPS]
User: "go"
Agent:
4. Defines quality bar for 10/10
5. Merges new instructions candidate, iterates to 10/10
6. Updates clojure.instructions.md
7. Cleans clojure-memory.instructions.md
Weekly Installs
9.0K
Repository
GitHub Stars
27.0K
First Seen
Feb 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykFail
Installed on
codex8.9K
gemini-cli8.9K
opencode8.9K
github-copilot8.9K
cursor8.9K
kimi-cli8.9K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装