◉CLAUDE LABJP
●CC 2.1.332 — In 2.1.332 (11/25), skills from MCP servers show up in the / menu as server:skill (beta)●SONNET 4.5 — Sonnet 4.5 retires from the Claude API on 11/30, 4 days left. Move to claude-sonnet-5-5●/SHIP — Users report a custom ship skill hidden behind the new built-in /ship command●NEW — New: Before Sonnet 4.5 retires, compare the 3 places its answers change●GEMINI 2.5 — Using Gemini 2.5 alongside Claude? From 12/1 requests reroute to newer models at their rates. 5 days left●JETBRAINS — Our guide to using Claude Code from JetBrains IDEs is the most-read page right now●CC 2.1.332 — In 2.1.332 (11/25), skills from MCP servers show up in the / menu as server:skill (beta)●SONNET 4.5 — Sonnet 4.5 retires from the Claude API on 11/30, 4 days left. Move to claude-sonnet-5-5●/SHIP — Users report a custom ship skill hidden behind the new built-in /ship command●NEW — New: Before Sonnet 4.5 retires, compare the 3 places its answers change●GEMINI 2.5 — Using Gemini 2.5 alongside Claude? From 12/1 requests reroute to newer models at their rates. 5 days left●JETBRAINS — Our guide to using Claude Code from JetBrains IDEs is the most-read page right now
Articles/Claude Code
⟐ Claude Code/2026-11-26Advanced

Per Callback, or Once at the Door? Deciding What Claude Code Should Touch on the Day I Installed an Ads SDK Migration Skill

Android's ads SDK is changing generations, and every callback will now arrive on a background thread. The official migration skill says to switch to the UI thread inside each callback; I chose to switch once, at the entrance of my ad wrapper layer. Three tools — an inventory scanner, an entrance-level normalizer, and a PreToolUse hook that fences Claude Code's edits on the migration branch — and the reasoning behind the choice.

Claude Code295Android10AdMob13Agent Skills5Hooks10Migration9

✦ Premium Article

In mid-August, an email arrived about the ads SDK I use in my Android wallpaper apps. Please move to the new generation of the SDK, it said; the old one will eventually stop serving.

That same night I added the migration agent skill Google publishes to my project. A single SKILL.md holds the import mappings, the class and method replacement tables, and a migration checklist. With that in place, asking Claude Code to "migrate this" would have carried the rewrite a long way.

Yet when I finished writing the migration plan, the decision I had reached was: not in the next release. As of late November, both apps are still on the old generation.

The short version

What I most want to pass on is this: a migration skill knows how to rewrite, not when, how much, or in what order to ship. Only someone who knows the app's circumstances can decide the second half.

As an indie developer, here is what I settled on:

  1. Never stack the ads SDK swap onto a release that already carries other changes
  2. Ship the smaller app (my ukiyo-e wallpaper app) first, watch it for a few weeks, then move the main app
  3. Move callbacks that arrive on a background thread onto the main thread once, at the entrance of the ad wrapper layer — not at each call site

The third one departs from what the skill tells you. Most of this piece is about why, and how I then scoped what Claude Code was allowed to do.

The skill does the rewriting; the shipping order and the fences are mine. Setting that line first meant that no matter how fast the agent rewrote things, I wasn't pushed around by the fear of touching the part of the app that pays for it.

Checking the deadline, then deciding not to hurry

The deadlines first. When I checked Google's deprecation and sunset pages in August, they read like this:

SDKDeprecatedSunset (ads may stop filling)
Legacy (play-services-ads 25.x)2027-06-302028-06-30
Next-Gen SDK 1.xQ1 2028Q2 2029

Nearly two years until sunset. At the same time, the legacy SDK is already in maintenance mode, and new ad formats only land in the new generation. No reason to rush, but a deadline that will corner you if ignored.

The one thing I wanted to avoid was touching the revenue core in a panic right before the cutoff. So I planned backwards and left more than a year of slack.

The other reason was that my unreleased build already carried a pile of changes: a raised minimum OS, an app-open ad fix, a new icon, theme work. Adding a full SDK swap on top would make it impossible to tell which change caused a crash or a drop in show rate. For a one-person shop, a bug you can't isolate is the kind that keeps you up at night.

✦

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
✦You will be able to inventory, in your own code, where ad callbacks touch the UI before you hand the rewrite to a migration skill
✦You can prevent the release-day crash where a pick-the-sites migration misses the most dangerous call chain
✦You will be able to fence, with a hook, exactly what Claude Code may rewrite while you are on the migration branch
Secure payment via Stripe · Cancel anytime
✦

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Claude Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

Related Articles

⟐ Claude Code2026-11-21
When Every New Desktop Session Creates a Worktree: Three Places to Check, and When It's Fine to Turn It Off
Claude Code Desktop keeps creating a worktree for every new session, and .claude/worktrees/ and claude/ branches pile up. Here is where the Worktree default actually gets turned on, when to keep it and when to skip it, and a SessionStart hook that tells you when a session is running inside a worktree.
⟐ Claude Code2026-11-19
My Porting Checklist Was Written in SwiftUI Terms, and It Couldn't Find a Single Purchase Item in My Objective-C Code
I built a small pipeline that hands Claude Code only the checks relevant to the file I'm editing, out of a 113KB list of 33 Android pitfalls. Three scripts, and how a SwiftUI vs Objective-C vocabulary gap let the most important items slip through.
⟐ Claude Code2026-10-29
When Claude Overwrites a Huge CLAUDE.md: Find the Missing Headings, Restore Them, and Block the Next One
Claude Code 2.1.312 fixed a bug where Claude overwrote a very large CLAUDE.md after seeing only its start. Here is how to spot lost headings on older versions, restore with git, and block full rewrites with a Write hook.