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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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 (
globaloruser) - Stored in<global-prompts>(vscode-userdata:/User/prompts/) and apply to all VS Code projects - Workspace (
workspaceorws) - 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.mdfiles - 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, orws. Defaults togloballesson 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
- Parse input - Extract domain (if
>domain-namespecified) and scope (globalis default, oruser,workspace,ws) - 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
- Global:
- Analyze the specific lesson learned from user input and chat session content
- Categorize the learning:
- New gotcha/common mistake
- Enhancement to existing section
- New best practice
- Process improvement
- 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
- Global:
- For domain-specific learnings:
- Global:
<global-prompts>/{domain}-memory.instructions.md - Workspace:
<workspace-instructions>/{domain}-memory.instructions.md
- Global:
- If user specified
…
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
Bình luận
- …
Thêm skill từ kho mã này
acquire-codebase-knowledge
40kGiúp agent của bạn hiểu và ghi tài liệu cho một dự án mã nguồn có sẵn. Hữu ích khi đón thành viên mới hoặc nắm tổng quan về kiến trúc.
acreadiness-assess
40kGiúp agent của bạn đánh giá mức độ sẵn sàng cho AI của dự án và tạo báo cáo. Hữu ích để biết dự án đã sẵn sàng dùng công cụ AI đến đâu.
acreadiness-generate-instructions
40kGiúp agent của bạn tạo hướng dẫn cho công cụ AI dựa trên kết quả đánh giá. Hữu ích để cải thiện cách AI làm việc với mã và khắc phục các khoảng trống.
acreadiness-policy
40kGiúp agent của bạn xác định hoặc áp dụng chính sách đánh giá dự án bằng AI. Hữu ích để chuẩn hóa cách đánh giá dự án và đảm bảo tuân thủ.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.