MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

Remember

Remember是一款code方向的AI技能,核心价值是Transforms lessons learned into domain-organized memory instructions (global or workspace),可用于解决开发者在code领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。

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

Last verified on: 2026-05-30
mkdir -p ./skills/remember && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/remember/SKILL.md -o ./skills/remember/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# 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


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

- Otherwi

🎯 Best For

  • Claude users
  • GitHub Copilot users
  • Software engineers
  • Development teams
  • Tech leads

💡 Use Cases

  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Remember to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Is Remember compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for Remember?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install Remember?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/remember/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills