Skip to content

feat(skills): Add span streaming migration skill for Dart#164

Draft
buenaflor wants to merge 5 commits into
mainfrom
feat/span-streaming-dart-skill
Draft

feat(skills): Add span streaming migration skill for Dart#164
buenaflor wants to merge 5 commits into
mainfrom
feat/span-streaming-dart-skill

Conversation

@buenaflor

@buenaflor buenaflor commented Jun 11, 2026

Copy link
Copy Markdown

Adds sentry-span-streaming-dart, a migration skill that walks an agent through moving a Dart/Flutter app from transaction-based tracing to streamed span delivery. Completes the span streaming trio alongside the existing JavaScript (#130) and Python skills.

Span streaming shipped in sentry-dart 9.19.0 (getsentry/sentry-dart#3659), and agents currently have no guidance for it — the feature-setup router only covers JS and Python. The skill follows the JS sibling's Detect / Migrate / Verify structure and covers enabling options.traceLifecycle = SentryTraceLifecycle.stream, replacing startTransaction/startChild with the Sentry.startSpan / startSpanSync / startInactiveSpan APIs, typed SentryAttributes, migrating beforeSendTransaction logic to beforeSendSpan (mutation-only in Dart — it cannot drop spans) or IgnoreSpanRule, and Flutter auto-instrumentation behavior, which switches automatically.

All API names, signatures, defaults, and the minimum version were verified against the sentry-dart source rather than written from memory. The detection commands were tested against the real pubspec.lock format.

Also registered in the sentry-feature-setup router, AGENTS.md, and regenerated SKILL_TREE.md (build-skill-tree.sh --check passes), and added the missing Dart cross-links to the JS and Python skills' intro paragraphs.

Related: getsentry/sentry-dart#3691

🤖 Generated with Claude Code

buenaflor and others added 2 commits June 10, 2026 23:47
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Comment thread skills/sentry-span-streaming-dart/SKILL.md
buenaflor and others added 3 commits June 11, 2026 14:50
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant