Skip to content

Add Claude skill: android-sdk-event-inspection#3220

Merged
mormubis merged 5 commits into
developfrom
adlrb/android-sdk-event-inspection-skill
Mar 9, 2026
Merged

Add Claude skill: android-sdk-event-inspection#3220
mormubis merged 5 commits into
developfrom
adlrb/android-sdk-event-inspection-skill

Conversation

@mormubis

@mormubis mormubis commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a Claude skill documenting the workflow for inspecting Datadog Android SDK event payloads locally.

The skill covers:

  • Enabling CurlInterceptor(printBody = true) in debug builds to expose full JSON payloads in logcat
  • Build-time config format (config/{flavor}.json) and credential requirements
  • Build + install command for the sample/kotlin app
  • Logcat tag filtering (Datadog, DD_LOG, Curl)
  • Event structure by endpoint (logs, RUM, Session Replay, traces)
  • Common mistakes (empty rumApplicationId, wrong activity name, no body output)

File

.claude/skills/android-sdk-event-inspection/SKILL.md

Related

  • mobile-mcp — MCP server for Android/iOS device interaction via Claude

@mormubis
mormubis marked this pull request as ready for review March 4, 2026 15:09
@mormubis
mormubis requested review from a team as code owners March 4, 2026 15:09

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f6f04529b4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .claude/skills/android-sdk-event-inspection/SKILL.md Outdated
@aleksandr-gringauz

Copy link
Copy Markdown
Contributor

mobile-mcp — MCP server for Android/iOS device interaction via Claude

How is this PR related to mobile-mcp?

@datadog-datadog-prod-us1-2

This comment has been minimized.

@mormubis

mormubis commented Mar 4, 2026

Copy link
Copy Markdown
Contributor Author

mobile-mcp — MCP server for Android/iOS device interaction via Claude

How is this PR related to mobile-mcp?

@aleksandr-gringauz we need the mobile-mcp to run the skill.

@aleksandr-gringauz

Copy link
Copy Markdown
Contributor

mobile-mcp — MCP server for Android/iOS device interaction via Claude

How is this PR related to mobile-mcp?

@aleksandr-gringauz we need the mobile-mcp to run the skill.

@mormubis Can you please be more specific? I don't see anything in the skill that requires the MCP. It uses Adb only.

@codecov-commenter

codecov-commenter commented Mar 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.57%. Comparing base (091844a) to head (cba8202).
⚠️ Report is 177 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3220      +/-   ##
===========================================
+ Coverage    71.46%   71.57%   +0.11%     
===========================================
  Files          934      934              
  Lines        34628    34641      +13     
  Branches      5862     5863       +1     
===========================================
+ Hits         24745    24791      +46     
+ Misses        8238     8229       -9     
+ Partials      1645     1621      -24     

see 44 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hamorillo

hamorillo commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

I would say the goal of the skill is to prepare the sample app so that we can extract event information from logcat. The mobile-mcp will be used to interact with the app and generate the events that need to be tested. That’s why MCP is not mentioned directly in the skill, because the skill doesn’t strictly require it.

@mormubis, feel free to correct me, but if I’m not mistaken, the idea is for an agent to use the skill to prepare the sample app, then perform some tests by interacting with the device via MCP and extract the necessary information from logcat to verify the results.

@hamorillo hamorillo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚀 Tested and works well! I’ve left a few minor comments.

Comment thread .claude/skills/android-sdk-event-inspection/SKILL.md
Comment thread .claude/skills/android-sdk-event-inspection/SKILL.md Outdated
Comment thread .claude/skills/android-sdk-event-inspection/SKILL.md Outdated
Comment thread .claude/skills/android-sdk-event-inspection/SKILL.md Outdated
@mormubis
mormubis requested a review from hamorillo March 5, 2026 11:32

@aleksandr-gringauz aleksandr-gringauz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@mormubis thanks for the contribution. I left some comments.

In short - I think most of the skill's content shouldn't be there because it is some knowledge that can either be understood by the agent by itself or should be put in some place else (AGENTS.md).

We don't have AGENTS.md and other tools set up yet in this repo.

I suggest we do this preliminary setup first (I created a ticket RUM-14903, I'll take care of it). And then come back to this skill and see if we can simplify it.

The skill itself looks useful to me.

Comment thread .claude/skills/android-sdk-event-inspection/SKILL.md Outdated

This change is gated by `BuildConfig.DEBUG` — it only runs in debug builds.

### 2. Configure Build-Time Credentials

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this section isn't related to the skill. If we really need to instruct the agent about it, it should be put into AGENTS.md.

Otherwise we would need to duplicate it in every skill.

Comment thread .claude/skills/android-sdk-event-inspection/SKILL.md Outdated

## Related Tools

[mobile-mcp](https://github.com/mobile-next/mobile-mcp) — use alongside this skill to interact with the device and generate events (taps, navigation, actions) that you then observe via logcat.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ideally we need to add the mcp to .mcp.json in this repo (it doesn't exist yet, yes).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't want to force people onto mcps (just yet), but if you try to execute the skill, it must tell you what you need to do to install it.

Comment thread .claude/skills/android-sdk-event-inspection/SKILL.md Outdated
Comment thread .claude/skills/android-sdk-event-inspection/SKILL.md Outdated
Comment thread .claude/skills/android-sdk-event-inspection/SKILL.md Outdated
Comment thread .claude/skills/android-sdk-event-inspection/SKILL.md
@mormubis
mormubis merged commit d46334a into develop Mar 9, 2026
26 checks passed
@mormubis
mormubis deleted the adlrb/android-sdk-event-inspection-skill branch March 9, 2026 08:59
@ncreated
ncreated restored the adlrb/android-sdk-event-inspection-skill branch April 9, 2026 09:50
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.

5 participants