diff --git a/docs/ai/agent-skills/copilot.mdx b/docs/ai/agent-skills/copilot.mdx new file mode 100644 index 0000000000000..4c9c3caa741a9 --- /dev/null +++ b/docs/ai/agent-skills/copilot.mdx @@ -0,0 +1,51 @@ +--- +title: GitHub Copilot Agent Setup +sidebar_order: 20 +description: "Set up the GitHub Copilot integration to send Sentry issues directly to Copilot agents for automated root cause analysis and fix generation." +keywords: + - GitHub Copilot + - Copilot + - agent skills + - AI coding assistant + - integration +--- + +You can trigger GitHub Copilot agents from your [Seer Autofix](/product/ai-in-sentry/seer/autofix/) tab. The agent is provided with Seer's root cause analysis output and issue context, so it can understand the problem and generate a fix, including opening a pull request in GitHub. + +## Install and Configure + + + +Sentry Owner, Manager, or Admin permissions are required to install this integration. + + + +1. In Sentry, navigate to **Settings > Integrations** and search for **GitHub Copilot**. + +2. Click **Install**. + +
+ + + +## First-Time Authorization + +The first time you use the integration, you'll need to authorize Copilot from within a Sentry issue. + +1. Go to a Sentry issue and click **Start Root Cause Analysis**. + +2. Once root cause analysis completes, click **Set Up GitHub Copilot** in the Seer panel. + +3. Complete the authorization and redirect flow to connect your GitHub account. + +## Using the Integration + +Once authorized, you can send any Seer root cause analysis to a Copilot agent. + +1. On any Seer root cause analysis, open the dropdown and select **Send to GitHub Copilot**. + + +2. A link to the Copilot agent run and any resulting pull request will appear in the Sentry UI. Click it to follow Copilot's progress and review the changes. + +
+ diff --git a/docs/ai/agent-skills/img/copilot-pull-request.png b/docs/ai/agent-skills/img/copilot-pull-request.png new file mode 100644 index 0000000000000..fc386438e2a5c Binary files /dev/null and b/docs/ai/agent-skills/img/copilot-pull-request.png differ diff --git a/docs/ai/agent-skills/img/copilot-send-to-copilot.png b/docs/ai/agent-skills/img/copilot-send-to-copilot.png new file mode 100644 index 0000000000000..5b62d8c514159 Binary files /dev/null and b/docs/ai/agent-skills/img/copilot-send-to-copilot.png differ diff --git a/docs/ai/agent-skills/img/copilot-setup-button.png b/docs/ai/agent-skills/img/copilot-setup-button.png new file mode 100644 index 0000000000000..37d7ecf6970d0 Binary files /dev/null and b/docs/ai/agent-skills/img/copilot-setup-button.png differ diff --git a/docs/ai/agent-skills.mdx b/docs/ai/agent-skills/index.mdx similarity index 100% rename from docs/ai/agent-skills.mdx rename to docs/ai/agent-skills/index.mdx diff --git a/src/components/arcade.tsx b/src/components/arcade.tsx index 10f543677102b..9e3ab72f19cb4 100644 --- a/src/components/arcade.tsx +++ b/src/components/arcade.tsx @@ -1,30 +1,42 @@ type ArcadeProps = { src: string; + /** Constrains the embed width (for example `640px` or `80%`). Defaults to full width of the content column. */ + width?: string; }; -export function Arcade({src}: ArcadeProps) { + +export function Arcade({src, width}: ArcadeProps) { return (
-