You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance Copilot instructions and documentation with detailed memory management strategies and workflow guidelines for improved efficiency and organization
Copy file name to clipboardExpand all lines: copilot/docs/main-instructions.md
+29-5Lines changed: 29 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,36 @@ This document serves as the main entry point for GitHub Copilot instructions. Ea
20
20
21
21
Always begin new tasks by recalling project information using the `search_nodes` and `open_nodes` tools.
22
22
23
-
If you're unsure what information you need, start with the `read_graph` tool to retreive all of the stored information about the project. Only use this as a fallback if you can't find the information you need using the other tools first.
23
+
If you're unsure what information you need, start with the `read_graph` tool to retrieve all of the stored information about the project. Only use this as a fallback if you can't find the information you need using the other tools first.
24
24
25
-
For quick reference:
25
+
## Quick Reference
26
26
27
-
- Use `read_graph` to get all of the stored information about the project
28
-
- Use `search_nodes` to search for information about specific topics or keywords
29
-
- Use `open_nodes` to access observations and relationships about specific entities
27
+
### Memory Management Tools
28
+
29
+
-`read_graph` - Get all stored information (use sparingly due to token usage)
30
+
-`search_nodes` - Search for specific topics or keywords (preferred first approach)
31
+
-`open_nodes` - Access specific entities by exact name
32
+
-`create_entities` - Add new concepts, components or information
33
+
-`create_relations` - Connect existing entities with meaningful relationships
34
+
-`add_observations` - Append new information to existing entities
35
+
36
+
### Memory Maintenance
37
+
38
+
The `.github/copilot/organize_memory.ps1` script helps maintain memory organization by:
39
+
- Creating timestamped backups before changes
40
+
- Sorting entities by logical type groups
41
+
- Arranging properties in consistent order
42
+
- Organizing relations after entities
43
+
44
+
Run this script periodically to keep memory files well-structured.
45
+
46
+
### Workflow Efficiency Tips
47
+
48
+
- Use context-focused memory searches rather than retrieving all information
49
+
- Organize task approaches with step-by-step plans before execution
50
+
- Document memory changes including what was added and why
51
+
- Always validate code changes with appropriate testing tools
52
+
- Create memory entities for common procedures and patterns
53
+
- Update memory with discovered project information in real-time
30
54
31
55
Refer to the individual documents linked above for detailed instructions on each topic.
Copy file name to clipboardExpand all lines: copilot/tasks.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Complete the following tasks, checking them off as you complete them.
6
6
7
7
-[x] analyze and store memories about mcp tools you have available to you, so that you can remember to use them in more situations
8
8
-[x] organize and sort `.github/copilot/memory.jsonl` without breaking its structure or format
9
-
-[] enhance #file:copilot-instructions.md and the docs in .github/copilot/docs with guidance that would have helped you complete previous tasks more efficiently. ensure that the new guidance is project agnostic and can be applied to any project
9
+
-[x] enhance #file:copilot-instructions.md and the docs in .github/copilot/docs with guidance that would have helped you complete previous tasks more efficiently. ensure that the new guidance is project agnostic and can be applied to any project
10
10
-[] optimize the copilot instructions to be more efficient and effective, including the following:
11
11
-[] make sure that the instructions are clear and concise
12
12
-[] ensure that the instructions are easy to follow and understand
0 commit comments