본문으로 건너뛰기
Skillpedia
에이전트40k · #7287

memory-merger

하는 일

이 도구는 프로젝트의 중요한 지식을 정리하고 업데이트하도록 돕습니다. 'memory' 파일에 기록된 교훈을 'instructions' 파일에 옮겨, 아무것도 잃지 않고 체계적으로 정리합니다.

사용하는 경우

  • ✓프로젝트에서 새롭고 중요한 것을 배워 앞으로를 위해 저장하고 싶을 때.
  • ✓프로젝트의 여러 팁과 정보를 한곳에 모으고 싶을 때.
  • ✓중요한 지식이 잊히거나 헷갈리지 않도록 하고 싶을 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/memory-merger/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/memory-merger/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“'prompt engineering' 프로젝트의 중요한 교훈을 내 전역 지침에 합쳐 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

어떤 종류의 지식(도메인)을 합칠지, 그리고 모든 프로젝트용(global)인지 현재 프로젝트만(workspace)인지 알려 주시면 됩니다. 그러면 제가 그 지식을 정리해, 저장하기 전에 승인을 받도록 보여 드립니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Memory Merger

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.

Scopes

Memory instructions can be stored in two scopes:

  • Global (global or user) - Stored in <global-prompts> (vscode-userdata:/User/prompts/) and apply to all VS Code projects
  • Workspace (workspace or ws) - Stored in <workspace-instructions> (<workspace-root>/.github/instructions/) and apply only to the current project

Default scope is global.

Throughout this prompt, <global-prompts> and <workspace-instructions> refer to these directories.

Syntax

/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 global

Examples:

  • /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

Process

1. Parse Input and Read Files

  • Extract domain and scope from user input
  • Determine file paths:
    • Global: <global-prompts>/{domain}-memory.instructions.md → <global-prompts>/{domain}.instructions.md
    • Workspace: <workspace-instructions>/{domain}-memory.instructions.md → <workspace-instructions>/{domain}.instructions.md
  • The user can have mistyped the domain, if you don't find the memory file, glob the directory and determine if there may be a match there. Ask the user for input if in doubt.
  • Read both files (memory file must exist; instruction file may not)

2. Analyze and Propose

Review 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.

3. Define Quality Bar

Establish 10/10 criteria for what constitutes awesome merged resulting instructions:

  1. Zero knowledge loss - Every detail, example, and nuance preserved
  2. Minimal redundancy - Overlapping guidance consolidated
  3. Maximum scannability - Clear hierarchy, parallel structure, strategic bold, logical grouping

4. Merge and Iterate

Develop the final merged instructions without updating files yet:

  1. Draft the merged instructions incorporating approved memories
  2. Evaluate against quality bar
  3. Refine structure, wording, organization
  4. Repeat until the merged instructions meet 10/10 criteria

5. Update Files

Once the final merged instructions meet 10/10 criteria:

  • Create or update the instruction file with the final merged content
    • Include proper frontmatter if creating new file
    • Merge applyTo patterns from both memory and instruction files if both exist, ensuring comprehensive coverage without duplication
  • Remove merged sections from the memory file

Example

User: "/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
자주 묻는 질문

'global'과 'workspace'는 무엇을 뜻하나요?

'global'은 지침이 모든 프로젝트에 적용된다는 뜻입니다. 'workspace'는 지금 작업 중인 프로젝트에만 적용된다는 뜻입니다.

메모리 파일이 없으면 어떻게 되나요?

이 도구는 메모리 파일이 있어야 작동합니다. 파일이 없으면 비슷한 파일을 찾아 보고, 맞는지 확인해 달라고 요청합니다.

도구는 지식의 품질을 어떻게 보장하나요?

10점 만점의 기준을 따릅니다. 모든 지식이 보존되었는지, 반복되는 내용이 없는지, 읽고 이해하기 쉬운지 확인합니다.

상세 정보

작성자의 원본 설명

Merges mature lessons from a domain memory file into its instruction file. Syntax: `/memory-merger >domain [scope]` where scope is `global` (default), `user`, `workspace`, or `ws`.

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7287
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬