Skip to content

feat(onboarding): add agent-assisted setup for AI coding agents#110199

Draft
HazAT wants to merge 3 commits intomasterfrom
haza/agent-assisted-onboarding
Draft

feat(onboarding): add agent-assisted setup for AI coding agents#110199
HazAT wants to merge 3 commits intomasterfrom
haza/agent-assisted-onboarding

Conversation

@HazAT
Copy link
Member

@HazAT HazAT commented Mar 9, 2026

Add an "Agent-Assisted Setup" callout banner to the SDK onboarding flow.
When a user selects a platform that has a matching skill on skills.sentry.dev, they see a prominent banner with a copyable prompt they can paste into their AI coding agent (Cursor, Claude Code, Codex, etc.) to set up Sentry automatically.

Why: AI coding agents are increasingly how developers set up tools. We already have agent skills published at skills.sentry.dev and documented in sentry-docs — this surfaces them directly in the onboarding flow where users are actively trying to set up Sentry.

How it works:

  • New AgentAssistedSetup component renders above the install steps in OnboardingLayout
  • Maps 100+ Sentry platform keys to 15 skills from the skills.sentry.dev registry
  • Shows a copy-to-clipboard prompt: Use curl to download, read and follow: https://skills.sentry.dev/{skill}/SKILL.md
  • Links to docs at docs.sentry.io/ai/agent-skills/
  • Uses existing Sentry UI primitives (Button, IconBot, IconCopy, theme tokens)
  • Fires onboarding.agent_assisted_prompt_copied analytics event on copy
  • Only renders for platforms with a matching skill — no-op for unsupported platforms

Scope: Frontend-only change (3 files). No backend changes.

Mirrors the AgentSkillsCallout component from sentry-docs, adapted for Sentry's design system.

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 9, 2026
Add an 'Agent-Assisted Setup' callout banner to the onboarding layout
that appears for all platforms with a matching skill on skills.sentry.dev.
Users can copy a prompt to paste into their AI coding agent (Cursor,
Claude Code, Codex, etc.) to set up Sentry automatically.

The component maps 100+ Sentry platform keys to 15 skills from the
skills.sentry.dev registry. It renders above the install steps in the
shared OnboardingLayout, avoiding changes to individual platform doc files.

Includes:
- New AgentAssistedSetup component with copy-to-clipboard prompt
- Platform-to-skill mapping covering all major SDKs
- Analytics event for tracking prompt copies
- Uses existing Sentry UI primitives (Button, IconBot, IconCopy)
Replace invalid theme property references that caused a runtime crash:
fontWeight.bold, fontSizeLarge, fontSizeSmall, and text.family.mono
with their correct equivalents under theme.font.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The agent-assisted setup is now handled by the new AgentAssistedSetup
callout component, so remove the old getAISetupStep and its usage
from Node, React, Next.js, and browser JS onboarding configs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant