You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/sdk-docs/SKILL.md
+17-13Lines changed: 17 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: sdk-docs
3
-
description: Generate user-facing SDK documentation for docs.sentry.io using MDX format. Use when writing integration docs, configuration options, SDK features, or instrumentation guides after implementation. Analyzes SDK PRs from sentry-python, sentry-javascript, sentry-ruby, etc., finds similar documentation patterns, and follows Sentry's customer documentation standards with proper MDX components like Alert, Note, SdkOption, and PlatformContent.
3
+
description: Generate user-facing SDK documentation for docs.sentry.io using MDX format. Use when writing integration docs, configuration options, SDK features, or instrumentation guides after implementation. Analyzes SDK PRs from sentry-python, sentry-javascript, sentry-ruby, etc., finds similar documentation patterns, and follows Sentry's customer documentation standards with proper MDX components like Alert, SdkOption, and PlatformContent.
compatibility: Requires gh CLI (GitHub CLI) with authentication configured for fetching PR details from SDK repositories. Uses the sentry-skills:create-pr skill for creating pull requests following Sentry conventions.
@@ -24,6 +24,8 @@ Generate user-facing documentation for docs.sentry.io showing users HOW TO USE i
- Changes to `*client*|*init*|*config*` with new params → **configuration_option**
65
+
- Files with paths containing "integration" and extensions .py, .rb, .js, or .go → **integration**
66
+
- Changes to files containing "client", "init", or "config" with new parameters → **configuration_option**
67
67
- New span/trace/instrumentation code → **feature**
68
68
- If unclear, default to **feature** and inform user
69
69
@@ -95,11 +95,12 @@ Handle three scenarios:
95
95
96
96
**Check for existing docs first:**
97
97
1. Search for existing docs PR: `gh search prs --repo getsentry/sentry-docs --match body "{PR_NUM}" --limit 3`
98
-
2. Check if docs exist: Use Glob to search `docs/platforms/{sdk}/**/*{feature-name}*.mdx`
98
+
2. Check if docs exist: Use Grep to search for feature name in `docs/platforms/{sdk}/` with pattern `{feature-name}` and output mode `files_with_matches`
99
99
3. If found, ask user to update existing docs or create new ones
0 commit comments