feat(onboarding): add agent-assisted setup for AI coding agents#110199
Draft
feat(onboarding): add agent-assisted setup for AI coding agents#110199
Conversation
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)
d2288bb to
e7d5f59
Compare
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>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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:
AgentAssistedSetupcomponent renders above the install steps inOnboardingLayoutUse curl to download, read and follow: https://skills.sentry.dev/{skill}/SKILL.mdButton,IconBot,IconCopy, theme tokens)onboarding.agent_assisted_prompt_copiedanalytics event on copyScope: Frontend-only change (3 files). No backend changes.
Mirrors the AgentSkillsCallout component from sentry-docs, adapted for Sentry's design system.