@@ -3,7 +3,6 @@ title: Using Checkly with AI IDEs and Copilots - Checkly Docs
3
3
displayTitle : Use Checkly with AI IDEs & Copilots
4
4
navTitle : Use Checkly with AI IDEs & Copilots
5
5
weight : 3
6
- beta : true
7
6
menu :
8
7
platform :
9
8
parent : " AI"
@@ -19,59 +18,100 @@ Make sure to index the following url:
19
18
https://checklyhq.com/docs/
20
19
```
21
20
22
- - [ Cursor] ( https://docs.cursor.com/context/@-symbols/@-docs )
21
+ - [ Referencing @ docs with Cursor] ( https://docs.cursor.com/context/@-symbols/@-docs )
23
22
24
23
At the time of writing this unfortunately no other IDE supports this kind of context enrichment.
25
24
26
- ## Custom Rules
25
+ ## Plain text docs
27
26
28
- We prepared a first set of ai rules which you can use to teach your AI IDE of choice on how to generate code for Checkly.
27
+ Every page on our docs site is accessible as a plain markdown file by appending ` index.md ` to the url, e.g.
28
+ [ https://www.checklyhq.com/docs/cli/constructs-reference/index.md ] ( https://www.checklyhq.com/docs/cli/constructs-reference/index.md ) .
29
29
30
- Go into the root of your IDEs workspace and download the rules according to your IDEs config parameters.
30
+ There is also an [ ` /llms.txt ` ] ( https://www.checklyhq.com/llms.txt ) at the root of our site which contains all the URLs
31
+ of our docs pages in plain text format. You can use this file to index our docs in your AI IDE of choice.
32
+
33
+ ## Custom Rules
31
34
35
+ We prepared a first set of AI rules which you can use to teach your AI IDE of choice on how to generate code for Checkly.
36
+ Go into the root of your IDEs workspace and download the rules according to your IDEs config parameters.
32
37
When asking questions about Checkly manually add the download rules files to your prompt.
33
38
34
39
### GitHub Copilot
35
40
36
- Windows
41
+ {{< tabs "GH Copilot" >}}
37
42
38
- ``` powershell
39
- New-Item -ItemType Directory -Path ".github\instructions" -Force
40
- Invoke-WebRequest -Uri "https://www.checklyhq.com/docs/ai/docs/ai/checkly.rules.md" -OutFile ".github\instructions\checkly-api-check.md"
43
+ {{< tab "Mac and Linux" >}}
44
+
45
+ ``` bash
46
+ mkdir -p .github && curl -o .github/copilot-instructions.md " https://www.checklyhq.com/docs/ai/checkly.rules.md"
41
47
```
42
48
43
- Mac and Linux
49
+ {{< /tab >}}
50
+
51
+ {{< tab "Windows" >}}
44
52
45
53
``` bash
46
- mkdir -p .github/instructions && curl -o .github/instructions/checkly-api-check.md " https://www.checklyhq.com/docs/ai/checkly.rules.md"
54
+ New-Item -ItemType Directory -Path " .github\instructions" -Force
55
+ Invoke-WebRequest -Uri " https://www.checklyhq.com/docs/ai/docs/ai/checkly.rules.md" -OutFile " .github\copilot-instructions.md"
47
56
```
48
57
58
+ {{< /tab >}}
59
+
60
+ {{< /tabs >}}
61
+
62
+ You can ask Copilot to install the ` checkly ` NPM package and generate code for API Checks, Browser checks, Multistep checks
63
+ and all other constructs.
64
+
65
+
49
66
### Cursor
50
67
51
- Windows
68
+ {{< tabs "Cursor" >}}
52
69
53
- ``` powershell
54
- New-Item -ItemType Directory -Path ".cursor\rules" -Force
55
- Invoke-WebRequest -Uri "https://www.checklyhq.com/docs/ai/checkly.rules.md" -OutFile ".cursor\rules\checkly-api-check.mdc"
70
+ {{< tab "Mac and Linux" >}}
71
+
72
+ ``` bash
73
+ mkdir -p .cursor/rules && curl -o .cursor/rules/checkly.mdc " https://www.checklyhq.com/docs/ai/checkly.rules.md"
56
74
```
57
75
58
- Mac and Linux
76
+ Now make sure to add the new ` checkly.mdc ` file to your context.
77
+
78
+ You can now ask Cursor to install the ` checkly ` NPM package and generate code for API Checks, Browser checks, Multistep checks
79
+ and all other constructs. Make sure to use the ` checkly.mdc ` file as context for your questions.
59
80
81
+ {{< /tab >}}
82
+
83
+ {{< tab "Windows" >}}
60
84
``` bash
61
- mkdir -p .cursor/rules && curl -o .cursor/rules/checkly-api-check.md " https://www.checklyhq.com/docs/ai/checkly.rules.md"
85
+ New-Item -ItemType Directory -Path " .cursor\rules" -Force
86
+ Invoke-WebRequest -Uri " https://www.checklyhq.com/docs/ai/checkly.rules.md" -OutFile " .cursor\rules\checkly.mdc"
62
87
```
88
+ {{< /tab >}}
63
89
64
- ## Windsurf
90
+ {{< /tabs >}}
65
91
66
- Windows
92
+ You can now reference the ` checkly.mdc ` using ` @checkly.mdc ` file in your Cursor chats and ask it to generate code for
93
+ API Checks, Browser checks, Multistep checks and all other constructs.
67
94
68
- ``` powershell
69
- New-Item -ItemType Directory -Path ".windsurf\rules" -Force
70
- Invoke-WebRequest -Uri "https://www.checklyhq.com/docs/ai/checkly-api-check.md" -OutFile ".windsurf\rules\checkly-api-check.md"
95
+ ### Windsurf
96
+
97
+ {{< tabs "Windsurf" >}}
98
+
99
+ {{< tab "Mac and Linux" >}}
100
+
101
+ ``` bash
102
+ mkdir -p .windsurf/rules && curl -o .windsurf/rules/checkly.md " https://www.checklyhq.com/docs/ai/checkly.rules.md"
71
103
```
104
+ {{< /tab >}}
72
105
73
- Mac and Linux
106
+ {{< tab "Windows" >}}
74
107
75
108
``` bash
76
- mkdir -p .windsurf/rules && curl -o .windsurf/rules/checkly-api-check.md " https://www.checklyhq.com/docs/ai/checkly.rules.md"
109
+ New-Item -ItemType Directory -Path " .windsurf\rules" -Force
110
+ Invoke-WebRequest -Uri " https://www.checklyhq.com/docs/ai/checkly.rules.md" -OutFile " .windsurf\rules\checkly.md"
77
111
```
112
+ {{< /tab >}}
113
+
114
+ {{< /tabs >}}
115
+
116
+ You can now reference the ` checkly.md ` using ` @checkly.md ` file in your WindSurf chats and ask it to generate code for
117
+ API Checks, Browser checks, Multistep checks and all other constructs.
0 commit comments