generated from mintlify/starter
-
Notifications
You must be signed in to change notification settings - Fork 9
Restructure AI integrations docs with Skills and Rules pages #177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
34939aa
Restructure AI integrations docs with Skills and Rules pages
stefanjudis d577a86
Update snippets/agent-example.mdx
stefanjudis b28f866
Update integrations/ai/skills.mdx
stefanjudis 1b0d796
Update AI integrations section in sitemap to match docs.json
stefanjudis 8fead3d
Add quotes around example prompts in AI docs
stefanjudis 29c1c3c
Update CLI overview to reference Skills and Rules pages
stefanjudis db298a0
Update cli/overview.mdx
stefanjudis e48c2d8
Update cli/overview.mdx
stefanjudis 5a40baf
Update integrations/ai/overview.mdx
stefanjudis bd1ed44
Update integrations/ai/skills.mdx
stefanjudis 076b527
Merge branch 'main' into document-agent-skill-1
stefanjudis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,125 @@ | ||
| --- | ||
| title: 'Checkly Rules' | ||
| description: 'Use the provided Checkly rules to control, update and deploy your monitoring.' | ||
| sidebarTitle: 'Checkly Rules' | ||
| --- | ||
|
|
||
| import AgentExamples from "/snippets/agent-example.mdx" | ||
| import { YoutubeEmbed } from "/snippets/youtube-embed.jsx" | ||
|
|
||
| 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. | ||
|
|
||
| Once the Checkly rules are included in your AI context window, your agent can effectively assist you in managing your monitoring setup. | ||
|
|
||
| It will be able to: | ||
|
|
||
| <AgentExamples /> | ||
|
|
||
| With enough application context, you can even create checks for your specific use cases. | ||
|
|
||
| <Card title="Analyze application code and create the monitoring setup" horizontal> | ||
| "Can you create new API Checks for the application API endpoints?" | ||
| </Card> | ||
|
|
||
| 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. | ||
|
|
||
| <YoutubeEmbed id="WqTXa7GCk-k" title="No Coding! Just Prompting! Getting the most out of AI for Application Reliability." /> | ||
|
|
||
| ## Claude Code | ||
|
|
||
| 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. | ||
|
|
||
| To use Checkly rules with Claude Code, download the rules file and reference it in your `CLAUDE.md`: | ||
|
|
||
| <Tabs> | ||
| <Tab title="Mac and Linux"> | ||
|
|
||
| ```bash | ||
| mkdir -p .claude && | ||
| curl -o .claude/checkly.rules.md https://www.checklyhq.com/docs/ai/checkly.rules.md -L | ||
| echo "- examine checkly.rules.md for code generation rules" >> .claude/CLAUDE.md | ||
| ``` | ||
stefanjudis marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| </Tab> | ||
| <Tab title="Windows"> | ||
|
|
||
| ```powershell | ||
| New-Item -ItemType Directory -Path ".claude" -Force | ||
| Invoke-WebRequest -Uri "https://www.checklyhq.com/docs/ai/checkly.rules.md" -OutFile ".claude\checkly.rules.md" | ||
| Add-Content -Path ".claude\CLAUDE.md" -Value "- examine checkly.rules.md for code generation rules" | ||
| ``` | ||
|
|
||
| </Tab> | ||
| </Tabs> | ||
|
|
||
| Restart your Claude Code session to load the instructions. | ||
|
|
||
| ## GitHub Copilot | ||
|
|
||
| GitHub Copilot reads project-level instructions from `.github/copilot-instructions.md`. This file is automatically included in Copilot's context for all chat interactions. | ||
|
|
||
| <Tabs> | ||
| <Tab title="Mac and Linux"> | ||
|
|
||
| ```bash | ||
| mkdir -p .github && curl -o .github/copilot-instructions.md "https://www.checklyhq.com/docs/ai/checkly.rules.md" -L | ||
| ``` | ||
|
|
||
| </Tab> | ||
| <Tab title="Windows"> | ||
|
|
||
| ```powershell | ||
| New-Item -ItemType Directory -Path ".github" -Force | ||
| Invoke-WebRequest -Uri "https://www.checklyhq.com/docs/ai/checkly.rules.md" -OutFile ".github\copilot-instructions.md" | ||
| ``` | ||
|
|
||
| </Tab> | ||
| </Tabs> | ||
|
|
||
| ## Cursor | ||
|
|
||
| Cursor uses `.mdc` (Markdown Cursor) files stored in `.cursor/rules/` for project-specific instructions. These rules are automatically included in Cursor's context. | ||
|
|
||
| <Tabs> | ||
| <Tab title="Mac and Linux"> | ||
|
|
||
| ```bash | ||
| mkdir -p .cursor/rules && curl -o .cursor/rules/checkly.mdc "https://www.checklyhq.com/docs/ai/checkly.rules.md" -L | ||
| ``` | ||
|
|
||
| </Tab> | ||
| <Tab title="Windows"> | ||
|
|
||
| ```powershell | ||
| New-Item -ItemType Directory -Path ".cursor\rules" -Force | ||
| Invoke-WebRequest -Uri "https://www.checklyhq.com/docs/ai/checkly.rules.md" -OutFile ".cursor\rules\checkly.mdc" | ||
| ``` | ||
|
|
||
| </Tab> | ||
| </Tabs> | ||
|
|
||
| You can reference the rules file explicitly using `@checkly.mdc` in your Cursor chats. | ||
|
|
||
| ## Windsurf | ||
|
|
||
| Windsurf stores rules in `.windsurf/rules/` as Markdown files. These are included in the AI context when you interact with Windsurf's assistant. | ||
|
|
||
| <Tabs> | ||
| <Tab title="Mac and Linux"> | ||
|
|
||
| ```bash | ||
| mkdir -p .windsurf/rules && curl -o .windsurf/rules/checkly.md "https://www.checklyhq.com/docs/ai/checkly.rules.md" -L | ||
| ``` | ||
|
|
||
| </Tab> | ||
| <Tab title="Windows"> | ||
|
|
||
| ```powershell | ||
| New-Item -ItemType Directory -Path ".windsurf\rules" -Force | ||
| Invoke-WebRequest -Uri "https://www.checklyhq.com/docs/ai/checkly.rules.md" -OutFile ".windsurf\rules\checkly.md" | ||
| ``` | ||
|
|
||
| </Tab> | ||
| </Tabs> | ||
|
|
||
| You can reference the rules file using `@checkly.md` in your Windsurf chats. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.