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
Copy file name to clipboardExpand all lines: adminforth/documentation/blog/2025-10-21-context7-setup/index.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ The installation is complete. You can now use it.
46
46
Here is an example prompt you can use to add the adminforth bulk-ai-flow plugin:
47
47
48
48
**Prompt:**
49
-
`Add adminforth bulk-ai-flow plugin to this file using only Context7 MCP`
49
+
`Add adminforth bulk-ai-flow plugin to this file using Context7 MCP`
50
50
51
51
**Generated Code:**
52
52

@@ -58,3 +58,14 @@ As we can see, the generation works really well.
58
58
59
59
### Tips
60
60
If you don’t want to add `use context7` to every prompt, you can [define a simple rule in your MCP client's rule section](https://github.com/upstash/context7?tab=readme-ov-file#-tips).
61
+
62
+
If you're using github copilot, you can:
63
+
1) In the root of your repository, create the .github directory if it does not already exist.
64
+
2) create a file named `.github/copilot-instructions.md`
65
+
3) Inside new file add:
66
+
67
+
```txt
68
+
Always use context7 when I need code generation, setup or configuration steps, or
69
+
library/API documentation. This means you should automatically use the Context7 MCP
70
+
tools to resolve library id and get library docs without me having to explicitly ask.
0 commit comments