Skip to content

Commit 07f408c

Browse files
authored
Merge pull request #177 from checkly/document-agent-skill-1
Restructure AI integrations docs with Skills and Rules pages
2 parents e823d59 + 076b527 commit 07f408c

11 files changed

Lines changed: 212 additions & 176 deletions

File tree

cli/overview.mdx

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebarTitle: 'Overview'
77
import MainCicdCards from "/snippets/main-cicd-cards.mdx"
88

99
The Checkly CLI gives you a JavaScript/TypeScript-native workflow for coding, testing and deploying synthetic
10-
monitoring at scale, from your code base. The Checkly CLI comes with **native `@playwright/test` support.** No lock-in,
10+
monitoring at scale, from your code base. The Checkly CLI comes with **native `@playwright/test` support.** No lock-in,
1111
just write standard `*.spec.ts` files.
1212

1313
## Starting your first project
@@ -31,7 +31,7 @@ After this, let's dry run the Checks in your new project against the global Chec
3131
npx checkly test
3232
```
3333

34-
This should report the following output to your terminal
34+
This should report the following output to your terminal
3535

3636
```
3737
Running 4 checks in eu-west-1.
@@ -53,25 +53,22 @@ Lastly, you deploy your Checks and related alert channels to Checkly, so we run
5353
npx checkly deploy
5454
```
5555

56-
You just created your entire synthetic monitoring setup with API and Playwright-based Browser Checks from your code base!
56+
You just created your entire synthetic monitoring setup with API and Playwright-based Browser Checks from your code base!
5757
Open up [your Checkly dashboard](https://app.checklyhq.com) and you should see your check, ready to start monitoring around the clock.
5858

5959
For a custom installation check out [our installation docs](/cli/installation/).
6060

61-
## Using AI IDEs and Copilots
61+
## Using Agents, AI IDEs and Copilots
6262

63-
Checkly is designed to work with AI IDEs and Copilots. You can use your preferred provider to generate code for API
63+
Checkly is designed to work with Agents, AI IDEs, and Copilots. You can use your preferred provider to generate code for API
6464
Checks, Browser Checks and all other constructs.
6565

66-
<Columns cols={3}>
67-
<Card title="GitHub Copilot" icon="/images/github-copilot-icon.svg" href="/integrations/ai/copilot">
68-
Download the Checkly instructions file and let copilot generate Checkly CLI code for you.
66+
<Columns cols={2}>
67+
<Card title="Checkly Skills" href="/integrations/ai/skills">
68+
Install Checkly Skills and let AI agents generate Checkly monitoring code for you.
6969
</Card>
70-
<Card title="Cursor" icon="/images/cursor-icon.svg" href="/integrations/ai/cursor">
71-
Download the Checkly `.mdc` rules file and let Cursor generate Checkly CLI code for you.
72-
</Card>
73-
<Card title="Claude Code" icon="/images/claude-icon.svg" href="/integrations/ai/claude">
74-
Download the Checkly rules file and let Claude generate Checkly CLI code for you.
70+
<Card title="Checkly Rules" href="/integrations/ai/rules">
71+
Include the Checkly Rules in your conversations to generate Checkly monitoring code for you.
7572
</Card>
7673
</Columns>
7774

@@ -80,4 +77,4 @@ Checks, Browser Checks and all other constructs.
8077
After kicking the tires, you should delegate the testing and deploying of your checks to your CI/CD pipeline. Check our
8178
docs on [setting up the Checkly CLI with your favourite CI/CD platform](/integrations/ci-cd/overview).
8279

83-
<MainCicdCards />
80+
<MainCicdCards />

docs.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -351,13 +351,11 @@
351351
"group": "Integrations",
352352
"pages": [
353353
{
354-
"group": "AI coding asssistants",
354+
"group": "AI Agents & Coding Assistants",
355355
"pages": [
356356
"integrations/ai/overview",
357-
"integrations/ai/claude",
358-
"integrations/ai/cursor",
359-
"integrations/ai/copilot",
360-
"integrations/ai/windsurf"
357+
"integrations/ai/skills",
358+
"integrations/ai/rules"
361359
]
362360
},
363361
{

integrations/ai/claude.mdx

Lines changed: 0 additions & 37 deletions
This file was deleted.

integrations/ai/copilot.mdx

Lines changed: 0 additions & 29 deletions
This file was deleted.

integrations/ai/cursor.mdx

Lines changed: 0 additions & 35 deletions
This file was deleted.

integrations/ai/overview.mdx

Lines changed: 21 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ sidebarTitle: 'Overview'
55
keywords: ['mcp', 'ai', 'rules', 'generate checks', 'agents', 'context']
66
---
77

8-
import { YoutubeEmbed } from "/snippets/youtube-embed.jsx"
8+
import AgentExamples from "/snippets/agent-example.mdx"
99

10-
From the beginning, Checkly has bet on [Monitoring as Code](/concepts/monitoring-as-code) which lets you create and control your monitoring infrastructure entirely using code. [Checkly constructs](/constructs/overview) can reflect all your monitoring properties.
10+
From the beginning, Checkly has bet on [Monitoring as Code](/concepts/monitoring-as-code) which lets you create and control your monitoring infrastructure entirely using code.
11+
12+
By default, [Checkly constructs](/constructs/overview) reflect all your monitoring properties.
1113

1214
```ts api.check.ts
1315
import { ApiCheck, AssertionBuilder } from "checkly/constructs"
@@ -36,51 +38,39 @@ npx checkly deploy
3638

3739
**The Monitoring as Code workflow is by default AI-native** because LLMs are excellent at writing and editing Checkly constructs code and modern AI agents can execute CLI commands easily.
3840

39-
You only need to provide the necessary context about Checkly and your monitoring setup to your AI agent of choice.
40-
41-
## Add custom Checkly rules to your AI conversation
41+
Provide the necessary Checkly context and let your AI agent of choice do the rest.
4242

43-
The [`checkly.rules.md` file](https://www.checklyhq.com/docs/ai/checkly.rules.md) includes best practices, example code and required CLI commands to give your AI workflow enough context to perform Checkly-related tasks.
43+
<AgentExamples />
4444

45-
Once the Checkly rules are included in your AI context window, your agent can effectively assist you in managing your monitoring setup.
45+
## Add Checkly context to your AI agent conversation
4646

47-
It will be able to:
48-
49-
<Card title="Create new checks, alert channels or other constructs" horizontal>
50-
"Can you create a new `BrowserCheck` monitoring `example.com`"
51-
</Card>
47+
Install [Checkly Skills](/integrations/ai/skills) or add the [Checkly Rules](/integrations/ai/rules) to your AI conversation to give your AI agent enough context to perform Checkly-related tasks.
5248

53-
<Card title="Gather information about the current monitoring setup" horizontal>
54-
"What are the currently used monitoring locations?"
49+
<Columns cols={2}>
50+
<Card title="Checkly Skills" href="/integrations/ai/skills" cta="Get started">
51+
Let your agents pull in all required Checkly context on demand.
5552
</Card>
5653

57-
<Card title="Bulk-update your monitoring resources" horizontal>
58-
"Can you change all checks to run every 5 minutes instead of every 10 minutes?"
54+
<Card title="Checkly Rules" href="/integrations/ai/rules" cta="Get started">
55+
Include the entire Checkly context in commands or documentation.
5956
</Card>
57+
</Columns>
6058

61-
With enough application context you can even create checks for your specific use cases.
59+
### Skills vs Rules
6260

63-
<Card title="Analyze application code and create the monitoring setup" horizontal>
64-
"Can you create new API Checks for the application API endpoints?"
65-
</Card>
66-
67-
Find a live session explaining how to automate Checkly monitoring with AI below and [read the "Agentic Workflows" guide](/guides/agentic-workflows) for more details.
61+
**Use Skills** when your AI agent supports the [Agent Skills](https://agentskills.io) standard. Skills load context on demand, keeping your agent's context window lean until Checkly-related tasks arise. This is the recommended approach for compatible agents.
6862

69-
<YoutubeEmbed id="WqTXa7GCk-k" title="No Coding! Just Prompting! Getting the most out of AI for Application Reliability." />
63+
**Use Rules** when your agent doesn't support skills or when you want the Checkly context always available. Rules files are loaded at session start and provide consistent context throughout your conversation.
7064

7165

72-
## Why is there no Checkly MCP server?
66+
## Why is there no Checkly MCP server (yet)?
7367

7468
The MCP concept is often used to enable LLMs to interact with external systems. It acts as a bridge between the AI model and the target system, translating natural language commands into actionable API calls or code snippets.
7569

7670
**With Monitoring as Code, Checkly already provides a native way to control your monitoring infrastructure via code and the command line.**
7771

7872
Whether you need to create new resources or update existing ones, AI can write and update the necessary construct files and execute the Checkly CLI commands autonomously.
7973

80-
## Additional Resources
81-
82-
Follow these guides if you use one of the popular AI coding tools:
83-
84-
- [Claude Code](/integrations/ai/claude)
85-
- [Cursor](/integrations/ai/cursor)
86-
- [GitHub Copilot](/integrations/ai/copilot)
74+
<Tip>
75+
We are researching additional AI-native workflows. [Let us know in the public roadmap](https://feedback.checklyhq.com/p/checkly-mcp) if you are interested in more agent-friendly integrations.
76+
</Tip>

integrations/ai/rules.mdx

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
---
2+
title: 'Checkly Rules'
3+
description: 'Use the provided Checkly rules to control, update and deploy your monitoring.'
4+
sidebarTitle: 'Checkly Rules'
5+
---
6+
7+
import AgentExamples from "/snippets/agent-example.mdx"
8+
import { YoutubeEmbed } from "/snippets/youtube-embed.jsx"
9+
10+
The [`checkly.rules.md` file](https://www.checklyhq.com/docs/ai/checkly.rules.md) includes best practices, example code and required CLI commands to give your AI workflow enough context to perform Checkly-related tasks.
11+
12+
Once the Checkly rules are included in your AI context window, your agent can effectively assist you in managing your monitoring setup.
13+
14+
It will be able to:
15+
16+
<AgentExamples />
17+
18+
With enough application context, you can even create checks for your specific use cases.
19+
20+
<Card title="Analyze application code and create the monitoring setup" horizontal>
21+
"Can you create new API Checks for the application API endpoints?"
22+
</Card>
23+
24+
Find a live session explaining how to automate Checkly monitoring with AI below and [read the "Agentic Workflows" guide](/guides/agentic-workflows) for more details.
25+
26+
<YoutubeEmbed id="WqTXa7GCk-k" title="No Coding! Just Prompting! Getting the most out of AI for Application Reliability." />
27+
28+
## Claude Code
29+
30+
Claude Code reads instructions from `CLAUDE.md` files. You can place these files globally (in your home directory) or locally (in your project root). Claude Code automatically includes these files in its context.
31+
32+
To use Checkly rules with Claude Code, download the rules file and reference it in your `CLAUDE.md`:
33+
34+
<Tabs>
35+
<Tab title="Mac and Linux">
36+
37+
```bash
38+
mkdir -p .claude &&
39+
curl -o .claude/checkly.rules.md https://www.checklyhq.com/docs/ai/checkly.rules.md -L
40+
echo "- examine checkly.rules.md for code generation rules" >> .claude/CLAUDE.md
41+
```
42+
43+
</Tab>
44+
<Tab title="Windows">
45+
46+
```powershell
47+
New-Item -ItemType Directory -Path ".claude" -Force
48+
Invoke-WebRequest -Uri "https://www.checklyhq.com/docs/ai/checkly.rules.md" -OutFile ".claude\checkly.rules.md"
49+
Add-Content -Path ".claude\CLAUDE.md" -Value "- examine checkly.rules.md for code generation rules"
50+
```
51+
52+
</Tab>
53+
</Tabs>
54+
55+
Restart your Claude Code session to load the instructions.
56+
57+
## GitHub Copilot
58+
59+
GitHub Copilot reads project-level instructions from `.github/copilot-instructions.md`. This file is automatically included in Copilot's context for all chat interactions.
60+
61+
<Tabs>
62+
<Tab title="Mac and Linux">
63+
64+
```bash
65+
mkdir -p .github && curl -o .github/copilot-instructions.md "https://www.checklyhq.com/docs/ai/checkly.rules.md" -L
66+
```
67+
68+
</Tab>
69+
<Tab title="Windows">
70+
71+
```powershell
72+
New-Item -ItemType Directory -Path ".github" -Force
73+
Invoke-WebRequest -Uri "https://www.checklyhq.com/docs/ai/checkly.rules.md" -OutFile ".github\copilot-instructions.md"
74+
```
75+
76+
</Tab>
77+
</Tabs>
78+
79+
## Cursor
80+
81+
Cursor uses `.mdc` (Markdown Cursor) files stored in `.cursor/rules/` for project-specific instructions. These rules are automatically included in Cursor's context.
82+
83+
<Tabs>
84+
<Tab title="Mac and Linux">
85+
86+
```bash
87+
mkdir -p .cursor/rules && curl -o .cursor/rules/checkly.mdc "https://www.checklyhq.com/docs/ai/checkly.rules.md" -L
88+
```
89+
90+
</Tab>
91+
<Tab title="Windows">
92+
93+
```powershell
94+
New-Item -ItemType Directory -Path ".cursor\rules" -Force
95+
Invoke-WebRequest -Uri "https://www.checklyhq.com/docs/ai/checkly.rules.md" -OutFile ".cursor\rules\checkly.mdc"
96+
```
97+
98+
</Tab>
99+
</Tabs>
100+
101+
You can reference the rules file explicitly using `@checkly.mdc` in your Cursor chats.
102+
103+
## Windsurf
104+
105+
Windsurf stores rules in `.windsurf/rules/` as Markdown files. These are included in the AI context when you interact with Windsurf's assistant.
106+
107+
<Tabs>
108+
<Tab title="Mac and Linux">
109+
110+
```bash
111+
mkdir -p .windsurf/rules && curl -o .windsurf/rules/checkly.md "https://www.checklyhq.com/docs/ai/checkly.rules.md" -L
112+
```
113+
114+
</Tab>
115+
<Tab title="Windows">
116+
117+
```powershell
118+
New-Item -ItemType Directory -Path ".windsurf\rules" -Force
119+
Invoke-WebRequest -Uri "https://www.checklyhq.com/docs/ai/checkly.rules.md" -OutFile ".windsurf\rules\checkly.md"
120+
```
121+
122+
</Tab>
123+
</Tabs>
124+
125+
You can reference the rules file using `@checkly.md` in your Windsurf chats.

0 commit comments

Comments
 (0)