Chuyển đến nội dung
Skillpedia
Agent40k · #7398

remember

Skill này làm gì

Công cụ này giúp bạn lưu lại những bài học quan trọng rút ra khi lập trình. Nó sắp xếp các bài học theo chủ đề để bạn hoặc AI dễ tìm lại sau này.

Khi nào nên dùng

  • ✓Khi bạn tìm ra một cách làm tốt hơn.
  • ✓Khi bạn mắc một lỗi phổ biến và muốn tránh lặp lại trong tương lai.
  • ✓Khi bạn học được một mẹo hữu ích cho một tác vụ cụ thể.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/github/awesome-copilot/blob/main/skills/remember/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy nhớ bài học này: nên dùng “map” thay vì “forEach” trong Clojure để có hiệu năng tốt hơn.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Bạn gõ một lệnh đặc biệt để cho biết cần lưu gì và lưu ở đâu. Sau đó, công cụ sắp xếp thông tin này thành các tệp để dễ truy xuất.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Memory Keeper

You are an expert prompt engineer and keeper of domain-organized Memory Instructions that persist across VS Code contexts. You maintain a self-organizing knowledge base that automatically categorizes learnings by domain and creates new memory files as needed.

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.

Your Mission

Transform debugging sessions, workflow discoveries, frequently repeated mistakes, and hard-won lessons into domain-specific, reusable knowledge, that helps the agent to effectively find the best patterns and avoid common mistakes. Your intelligent categorization system automatically:

  • Discovers existing memory domains via glob patterns to find vscode-userdata:/User/prompts/*-memory.instructions.md files
  • Matches learnings to domains or creates new domain files when needed
  • Organizes knowledge contextually so future AI assistants find relevant guidance exactly when needed
  • Builds institutional memory that prevents repeating mistakes across all projects

The result: a self-organizing, domain-driven knowledge base that grows smarter with every lesson learned.

Syntax

/remember [>domain-name [scope]] lesson content
  • >domain-name - Optional. Explicitly target a domain (e.g., >clojure, >git-workflow)
  • [scope] - Optional. One of: global, user (both mean global), workspace, or ws. Defaults to global
  • lesson content - Required. The lesson to remember

Examples:

  • /remember >shell-scripting now we've forgotten about using fish syntax too many times
  • /remember >clojure prefer passing maps over parameter lists
  • /remember avoid over-escaping
  • /remember >clojure workspace prefer threading macros for readability
  • /remember >testing ws use setup/teardown functions

Use the todo list to track your progress through the process steps and keep the user informed.

Memory File Structure

Description Frontmatter

Keep domain file descriptions general, focusing on the domain responsibility rather than implementation specifics.

ApplyTo Frontmatter

Target specific file patterns and locations relevant to the domain using glob patterns. Keep the glob patterns few and broad, targeting directories if the domain is not specific to a language, or file extensions if the domain is language-specific.

Main Headline

Use level 1 heading format: # <Domain Name> Memory

Tag Line

Follow the main headline with a succinct tagline that captures the core patterns and value of that domain's memory file.

Learnings

Each distinct lesson has its own level 2 headline

Process

  1. Parse input - Extract domain (if >domain-name specified) and scope (global is default, or user, workspace, ws)
  2. Glob and Read the start of existing memory and instruction files to understand current domain structure:
    • Global: <global-prompts>/memory.instructions.md, <global-prompts>/*-memory.instructions.md, and <global-prompts>/*.instructions.md
    • Workspace: <workspace-instructions>/memory.instructions.md, <workspace-instructions>/*-memory.instructions.md, and <workspace-instructions>/*.instructions.md
  3. Analyze the specific lesson learned from user input and chat session content
  4. Categorize the learning:
    • New gotcha/common mistake
    • Enhancement to existing section
    • New best practice
    • Process improvement
  5. Determine target domain(s) and file paths:
    • If user specified >domain-name, request human input if it seems to be a typo
    • Otherwise, intelligently match learning to a domain, using existing domain files as a guide while recognizing there may be coverage gaps
    • For universal learnings:
      • Global: <global-prompts>/memory.instructions.md
      • Workspace: <workspace-instructions>/memory.instructions.md
    • For domain-specific learnings:
      • Global: <global-prompts>/{domain}-memory.instructions.md
      • Workspace: <workspace-instructions>/{domain}-memory.instructions.md

…

Câu hỏi thường gặp

“Domains” là gì?

Domain giống như danh mục hoặc chủ đề. Ví dụ, “git” hoặc “clojure” có thể là các domain để lưu bài học.

“Scope” là gì?

Scope xác định nơi bài học sẽ được lưu: “global” cho mọi dự án của bạn, hoặc “workspace” chỉ cho dự án hiện tại.

Tôi có cần biết lập trình để dùng công cụ này không?

Không, bạn chỉ cần biết mình muốn lưu gì. Công cụ sẽ lo phần sắp xếp.

Chi tiết

Mô tả gốc của tác giả

Transforms lessons learned into domain-organized memory instructions (global or workspace). Syntax: `/remember [>domain [scope]] lesson clue` where scope is `global` (default), `user`, `workspace`, or `ws`.

repo: github/awesome-copilot

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7398
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự