Skip to content

feat: Add Mini Program SDK skill (sentry-miniapp)#83

Open
lizhiyao wants to merge 1 commit intogetsentry:mainfrom
lizhiyao:feat/add-sentry-miniapp-sdk
Open

feat: Add Mini Program SDK skill (sentry-miniapp)#83
lizhiyao wants to merge 1 commit intogetsentry:mainfrom
lizhiyao:feat/add-sentry-miniapp-sdk

Conversation

@lizhiyao
Copy link
Copy Markdown

Summary

Add sentry-miniapp-sdk skill — a complete SDK setup wizard for sentry-miniapp, enabling AI coding assistants to guide developers through integrating Sentry into mini program projects.

What are Mini Programs?

Mini Programs (小程序) are lightweight apps running inside super-apps like WeChat, Alipay, and ByteDance/Douyin — a massive mobile ecosystem in China with hundreds of millions of DAU. Sentry has no official SDK for this platform; sentry-miniapp is a community SDK built on @sentry/core v10 that fills this gap.

Skill Structure

skills/sentry-miniapp-sdk/
├── SKILL.md                    # 4-phase wizard (Detect → Recommend → Guide → Cross-Link)
└── references/
    ├── error-monitoring.md     # Automatic + manual error capture, context, filtering
    ├── tracing.md              # Performance monitoring, spans, distributed tracing, sessions
    ├── offline-cache.md        # Weak network reliability (mini program specific)
    └── sourcemap.md            # Multi-platform path normalization + upload guide

Platform Coverage

  • 7 mini program platforms: WeChat, Alipay, ByteDance, Baidu, QQ, DingTalk, Kuaishou
  • Cross-platform frameworks: Taro, uni-app
  • Unique features: Offline cache for weak networks, multi-platform stack trace normalization

About sentry-miniapp

  • Built on @sentry/core v10, follows Unified API
  • 447 tests, 100% coverage, MIT license
  • Published on npm
  • Also submitted to community SDK docs

🤖 Generated with Claude Code

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Add a complete SDK setup wizard for mini programs using sentry-miniapp,
a community SDK built on @sentry/core v10.

Supports WeChat, Alipay, ByteDance, Baidu, QQ, DingTalk, Kuaishou
mini programs and cross-platform frameworks (Taro / uni-app).

Includes references for:
- Error monitoring (automatic + manual capture)
- Performance tracing (spans, distributed tracing, sessions)
- Offline cache (weak network reliability)
- Source map (stack trace resolution)
@lizhiyao lizhiyao force-pushed the feat/add-sentry-miniapp-sdk branch from 3db5cca to 3f76c67 Compare March 28, 2026 10:51
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