[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79DREX7Q65QWH83BX9XWHP6":3,"skill-same:01M79DREX7Q65QWH83BX9XWHP6":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M79DREX7Q65QWH83BX9XWHP6","google-mobile-ads-android-migrate-to-next-gen",null,"Migrates Android applications from the old, legacy Google Mobile Ads (GMA) SDK (com.google.android.gms:play-services-ads) to the new GMA Next-Gen SDK (com.google.android.libraries.ads.mobile.sdk:ads-mobile-sdk). Provides comprehensive mapping tables for imports, classes, and method signatures to help determine migration steps. Use when migrating an existing Android codebase from the old, legacy GMA SDK to GMA Next-Gen SDK.","hamzabellouch\u002Fagent-skills","hamzabellouch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F237856042?v=4","01M79BRYW7XAMK3YDWQEMTWGWS","Hamza Bellouch","01M79BRYWXQV3JK2TGVTX8GN2A",8,"MIT","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FProgramming\u002FAI_Engineering_and_Platforms\u002FAgents_and_LLM_Platforms\u002Fgoogle-mobile-ads-android-migrate-to-next-gen\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: google-mobile-ads-android-migrate-to-next-gen\ndescription: Migrates Android applications from the old, legacy Google Mobile\n  Ads (GMA) SDK (com.google.android.gms:play-services-ads) to the new GMA\n  Next-Gen SDK (com.google.android.libraries.ads.mobile.sdk:ads-mobile-sdk).\n  Provides comprehensive mapping tables for imports, classes, and method\n  signatures to help determine migration steps. Use when migrating an existing\n  Android codebase from the old, legacy GMA SDK to GMA Next-Gen SDK.\nmetadata:\n  version: 1.1.0\n  category: GoogleAds\n---\n# AI Migration Agent Instructions for the Google Mobile Ads SDK\n\n## Migration Workflow\n\nUse this checklist to track your migration progress:\n\n*   **Configure Gradle**:\n    -   [ ] Replace `com.google.android.gms:play-services-ads` with the latest\n        stable version of\n        `com.google.android.libraries.ads.mobile.sdk:ads-mobile-sdk`. If you\n        cannot access Maven directly, run the following command to fetch the\n        latest version. The version returned in the `latest` tag is the latest\n        version of the GMA Next-Gen SDK:\n\n        ```bash\n        curl -sS https:\u002F\u002Fdl.google.com\u002Fdl\u002Fandroid\u002Fmaven2\u002Fcom\u002Fgoogle\u002Fandroid\u002Flibraries\u002Fads\u002Fmobile\u002Fsdk\u002Fads-mobile-sdk\u002Fmaven-metadata.xml | sed -n 's\u002F.*\u003Clatest>\\(.*\\)\u003C\\\u002Flatest>.*\u002F\\1\u002Fp'\n        ```\n\n    -   [ ] Update `minSdk` (24+) and `compileSdk` (34+).\n    -   [ ] Exclude `play-services-ads` and `play-services-ads-lite` from all\n        dependencies globally in the app-level build file to avoid duplicate\n        symbol errors.\n    -   [ ] Sync Gradle before moving on to the next step.\n*   **Per-File Migration**:\n    -   [ ] Refactor the codebase following the API Mapping and Method Mapping\n        tables to migrate imports, class names, and method signature to GMA\n        Next-Gen SDK.\n*   **Verify and Build**:\n    -   [ ] Run `gradle build -x test` to confirm a successful clean build.\n        Resolve any GMA SDK related compile errors.\n\n## Core Migration Rules\n\n*   **App ID Usage**: **Always** use the value of the\n    `com.google.android.gms.ads.APPLICATION_ID` meta-data tag from\n    `AndroidManifest.xml` for the `applicationId` in `InitializationConfig`.\n    *   *Constraint*: Preserve the `\u003Cmeta-data>` tag in the manifest; it is\n        still required for publishers using the User Messaging Platform SDK.\n*   **Initialization Sequence**:\n    1.  Call `MobileAds.initialize()` on a background thread.\n    2.  Ensure `initialize()` is called **before** any other SDK methods.\n    3.  If using `RequestConfiguration`, bundle it into\n        `InitializationConfig.Builder.setRequestConfiguration()`. **Do not**\n        call `MobileAds.setRequestConfiguration()` before initialization.\n*   **UI Threading**: **MANDATORY**: Callbacks in GMA-Next Gen SDK are invoked\n    on a background thread. **ALL UI-RELATED OPERATIONS** (e.g., Toasts, View\n    updates, Fragment transactions) **MUST** be wrapped in `runOnUiThread {}` or\n    `Dispatchers.Main.launch {}` within GMA SDK callbacks. SKIPPING THIS STEP\n    WILL CAUSE THE APPLICATION TO CRASH.\n*   **Mediation**: Classes implementing\n    `com.google.android.gms.ads.mediation.Adapter` MUST continue using\n    `com.google.android.gms.ads`.\n\n## Format Specifics\n\n### Banner Ads\n\n*   Use `com.google.android.libraries.ads.mobile.sdk.banner.AdView` for loading\n    GMA Next-Gen SDK banners.\n*   The following API checks if a banner is collapsible:\n    `adView.getBannerAd().isCollapsible()`.\n\n### Native Ads\n\n*   **NativeAdLoader**: `NativeAdLoader` is abstract and cannot be instantiated.\n    It is used statically (e.g., `NativeAdLoader.load(...)`).\n*   The following APIs are now set on the `NativeAdRequest.Builder`:\n    *   `.setCustomFormatIds(customFormatIds: List\u003CString>)`\n    *   `.disableImageDownloading()`\n    *   `.setMediaAspectRatio(mediaAspectRatio: NativeMediaAspectRatio)`\n    *   `.setAdChoicesPlacement(adChoicesPlacement: AdChoicesPlacement)`\n    *   `.setVideoOptions(videoOptions: VideoOptions)`\n*   **Removal**: Delete all \"Mute This Ad\" logic; it is unsupported in GMA\n    Next-Gen SDK.\n*   **MediaView**: `NativeAd` no longer has a direct `mediaView` variable; use\n    `registerNativeAd(nativeAd, mediaView)` to associate the ad with the view.\n\n### Ad preloading\n\n*   Unless specified in the mapping table, ad preloading methods in the GMA\n    Next-Gen SDK retain the same API signatures and parameters as the Old SDK.\n\n## API Mapping\n\nThis table covers the main classes and their GMA Next-Gen SDK equivalents.\n\n| Feature                    | Old SDK Import (`com.google.android.gms.ads...`)                                     | GMA Next-Gen SDK Import (`com.google.android.libraries.ads.mobile.sdk...` )                                                                                                           |\n|:---------------------------|:-------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Core**                   |                                                                                      |                                                                                                                                                                                       |\n| Initialization             | `MobileAds`                                                                          | `MobileAds`, `initialization.InitializationConfig`                                                                                                                                    |\n| Initialization Listener    | `initialization.OnInitializationCompleteListener`                                    | `initialization.OnAdapterInitializationCompleteListener`                                                                                                                              |\n| Ad Request                 | `AdRequest`                                                                          | *Format specific* (e.g. `common.AdRequest`, `banner.BannerAdRequest`, `nativead.NativeAdRequest`) (Ad Unit ID is declared in `Builder`. Load() no longer takes an activity)           |\n| Load Error                 | `LoadAdError`                                                                        | `common.LoadAdError` (`LoadAdError` no longer has a domain variable. REMOVE the domain variable if found.)                                                                            |\n| Full Screen Show Error     | `AdError` (within `FullScreenContentCallback`)                                       | `common.FullScreenContentError` (within format-specific `AdEventCallback`)                                                                                                            |\n| Request Configuration      | `RequestConfiguration`                                                               | `common.RequestConfiguration` (Nested Enums\u002FConstants for RequestConfiguration are now under common.RequestConfiguration.)                                                            |\n| Event Callbacks            | `FullScreenContentCallback` (for full screen formats), `AdListener` (Banner, Native) | *Format Specific* (e.g., `interstitial.InterstitialAdEventCallback`, `banner.BannerAdEventCallback`, `native.NativeAdEventCallback`). Variable on the ad format is `adEventCallback`. |\n| **Tools**                  |                                                                                      |                                                                                                                                                                                       |\n| Ad Inspector               | `MobileAds.openAdInspector()`                                                        | `MobileAds.openAdInspector()` (`openAdInspector` no longer takes an activity)                                                                                                         |\n| Ad Inspector Listener      | `OnAdInspectorClosedListener`                                                        | `common.OnAdInspectorClosedListener`                                                                                                                                                  |\n| **Formats**                |                                                                                      |                                                                                                                                                                                       |\n| App Open                   | `appopen.AppOpenAd`                                                                  | `appopen.AppOpenAd`                                                                                                                                                                   |\n| App Open Load              | `appopen.AppOpenAd.AppOpenAdLoadCallback`                                            | `common.AdLoadCallback\u003Cappopen.AppOpenAd>`                                                                                                                                            |\n| Banner                     | `AdView`, `AdSize`                                                                   | `banner.AdView`, `banner.AdSize` (`AdView` no longer has `pause()`, `resume()`, `setAdSize()`). `AdSize` is declared in `BannerAdRequest`.                                            |\n| Banner Load                | `AdListener`                                                                         | `common.AdLoadCallback\u003Cbanner.BannerAd>`                                                                                                                                              |\n| Banner Events              | `AdListener`                                                                         | `banner.BannerAdEventCallback`, `banner.BannerAdRefreshCallback`                                                                                                                      |\n| Interstitial               | `interstitial.InterstitialAd`                                                        | `interstitial.InterstitialAd`                                                                                                                                                         |\n| Interstitial Load          | `interstitial.InterstitialAd.InterstitialAdLoadCallback`                             | `common.AdLoadCallback\u003Cinterstitial.InterstitialAd>`                                                                                                                                  |\n| Ad Loader                  | `AdLoader`                                                                           | `nativead.NativeAdLoader`                                                                                                                                                             |\n| Native                     | `nativead.NativeAd`                                                                  | `nativead.NativeAd` (No longer has a `mediaView` variable)                                                                                                                            |\n| Native Custom Format Ad    | `nativead.NativeCustomFormatAd`                                                      | `nativead.CustomNativeAd`                                                                                                                                                             |\n| Native Custom Click        | `nativead.NativeCustomFormatAd.OnCustomClickListener`                                | `nativead.OnCustomClickListener` (set on the `CustomNativeAd` object (e.g., `.onCustomClickListener`)                                                                                 |\n| Native Load                | `nativead.NativeAd.OnNativeAdLoadedListener`                                         | `nativead.NativeAdLoaderCallback`                                                                                                                                                     |\n| Native Ad View             | `nativead.NativeAdView`                                                              | `nativead.NativeAdView`                                                                                                                                                               |\n| Media Content              | `MediaContent`                                                                       | `nativead.MediaContent` (hasVideoContent is declared as a `val`)                                                                                                                      |\n| Media Aspect Ratio         | `MediaAspectRatio`                                                                   | `nativead.MediaAspectRatio`                                                                                                                                                           |\n| Video Options              | `VideoOptions`                                                                       | `common.VideoOptions`                                                                                                                                                                 |\n| Video Controller           | `VideoController`                                                                    | `common.VideoController` (VideoLifecycleCallbacks is now an interface, so instantiate with `object : VideoController.VideoLifecycleCallbacks { ... }`)                                |\n| Rewarded                   | `rewarded.RewardedAd`                                                                | `rewarded.RewardedAd`                                                                                                                                                                 |\n| Rewarded Load              | `rewarded.RewardedAd.RewardedAdLoadCallback`                                         | `common.AdLoadCallback\u003Crewarded.RewardedAd>`                                                                                                                                          |\n| Rewarded Interstitial      | `rewardedinterstitial.RewardedInterstitialAd`                                        | `rewardedinterstitial.RewardedInterstitialAd`                                                                                                                                         |\n| Rewarded Interstitial Load | `rewardedinterstitial.RewardedInterstitialAd.RewardedInterstitialAdLoadCallback`     | `common.AdLoadCallback\u003Crewardedinterstitial.RewardedInterstitialAd>`                                                                                                                  |\n| Paid Event Listener        | `OnPaidEventListener`                                                                | `common.AdEventCallback`                                                                                                                                                              |\n| Response Info              | `ResponseInfo`                                                                       | `common.ResponseInfo`                                                                                                                                                                 |\n| Adapter Response Info      | `AdapterResponseInfo`                                                                | `common.AdSourceResponseInfo`                                                                                                                                                         |\n| **Rewards**                |                                                                                      |                                                                                                                                                                                       |\n| Reward Listener            | `OnUserEarnedRewardListener`                                                         | `rewarded.OnUserEarnedRewardListener`                                                                                                                                                 |\n| Reward Item                | `rewarded.RewardItem`                                                                | `rewarded.RewardItem` (property access on `RewardedAd` and `RewardedInterstitialAd` is now `getRewardItem()`)                                                                         |\n| Ad Value                   | `AdValue`                                                                            | `common.AdValue`                                                                                                                                                                      |\n| **Preloading**             |                                                                                      |                                                                                                                                                                                       |\n| Configuration              | `preload.PreloadConfiguration`                                                       | `common.PreloadConfiguration`                                                                                                                                                         |\n| Callback                   | `preload.PreloadCallbackV2`                                                          | `common.PreloadCallback` (Now an interface instead of an abstract class)                                                                                                              |\n| Interstitial Preloader     | `interstitial.InterstitialPreloader`                                                 | `interstitial.InterstitialAdPreloader`                                                                                                                                                |\n| **Ad Manager**             |                                                                                      |                                                                                                                                                                                       |\n| Ad Request                 | `admanager.AdManagerAdRequest`                                                       | `common.AdRequest` (Now directly implemented in the `AdRequest` class)                                                                                                                |\n| Ad View                    | `admanager.AdView`                                                                   | `banner.AdView` (No `AdManagerAdView` class)                                                                                                                                          |\n| App Event Listener         | `admanager.AppEventListener`                                                         | `common.OnAppEventListener`                                                                                                                                                           |\n\n## Method Mapping\n\nThis table covers the main methods and their GMA Next-Gen SDK equivalents.\n\n| Feature                                  | Old SDK Method Signature                                                                                                                     | GMA Next-Gen SDK Method Signature                                                                                                                                                                                                                                                          |\n|:-----------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Core**                                 |                                                                                                                                              |                                                                                                                                                                                                                                                                                            |\n| MobileAds Initialization                 | `MobileAds.initialize(Context context, OnInitializationCompleteListener listener)`                                                           | `MobileAds.initialize(Context context, InitializationConfig config, OnInitializationCompleteListener listener)`                                                                                                                                                                            |\n| InitializationConfig Builder             | N\u002FA                                                                                                                                          | `InitializationConfig.Builder(String applicationId)`                                                                                                                                                                                                                                       |\n| Ad Request Builder                       | `AdRequest.Builder().build()`                                                                                                                | `AdRequest.Builder(String adUnitId).build()` (for App Open, Interstitial, Rewarded, Rewarded Interstitial) **Banner:** `BannerAdRequest.Builder(String adUnitId, AdSize adSize).build()` **Native:** `NativeAdRequest.Builder(String adUnitId, nativeAdTypes: List\u003CNativeAdType>).build()` |\n| Add Network Extras (AdMobAdapter)        | `AdRequest.Builder().addNetworkExtrasBundle(Class\u003CMediationExtrasReceiver>, Bundle networkExtras)`                                           | `AdRequest.Builder(String adUnitId).setGoogleExtrasBundle(Bundle extraBundle)`                                                                                                                                                                                                             |\n| Add Network Extras (Ad Source Adapter)   | `AdRequest.Builder().addNetworkExtrasBundle(Class\u003CMediationExtrasReceiver>, Bundle networkExtras)`                                           | `AdRequest.Builder(String adUnitId).putAdSourceExtrasBundle(Class\u003CMediationExtrasReceiver> adapterClass, Bundle adSourceExtras)`                                                                                                                                                           |\n| Custom Targeting                         | `AdRequest.Builder().setCustomTargeting(String key, String value)`                                                                           | `AdRequest.Builder(String adUnitId).putCustomTargeting(String key, String value)`                                                                                                                                                                                                          |\n| **Formats**                              |                                                                                                                                              |                                                                                                                                                                                                                                                                                            |\n| App Open                                 | `AppOpenAd.load(Context context, String adUnitId, AdRequest request, AppOpenAdLoadCallback loadCallback)`                                    | `AppOpenAd.load(AdRequest request, AdLoadCallback\u003CAppOpenAd> loadCallback)`                                                                                                                                                                                                                |\n| Banner                                   | `AdView.loadAd(AdRequest request)`                                                                                                           | `AdView.loadAd(BannerAdRequest request, AdLoadCallback\u003CBannerAd> loadCallback)`                                                                                                                                                                                                            |\n| Interstitial                             | `InterstitialAd.load(Context context, String adUnitId, AdRequest request, InterstitialAdLoadCallback loadCallback)`                          | `InterstitialAd.load(AdRequest request, AdLoadCallback\u003CInterstitialAd> loadCallback)`                                                                                                                                                                                                      |\n| Rewarded                                 | `RewardedAd.load(Context context, String adUnitId, AdRequest request, RewardedAdLoadCallback loadCallback)`                                  | `RewardedAd.load(AdRequest request, AdLoadCallback\u003CRewardedAd> loadCallback)`                                                                                                                                                                                                              |\n| Rewarded Interstitial                    | `RewardedInterstitialAd.load(Context context, String adUnitId, AdRequest request, RewardedInterstitialAdLoadCallback loadCallback)`          | `RewardedInterstitialAd.load(AdRequest request, AdLoadCallback\u003CRewardedInterstitialAd> loadCallback)`                                                                                                                                                                                      |\n| Native Builder                           | `AdLoader.Builder(Context context, String adUnitId).forNativeAd(NativeAd.OnNativeAdLoadedListener onNativeAdLoadedListener)`                 | `NativeAdRequest.Builder(String adUnitId, nativeAdTypes: List\u003CNativeAdType>)` (Include `NativeAd.NativeAdType.NATIVE` in `nativeAdTypes`)                                                                                                                                                  |\n| Native Load                              | `AdLoader.Builder(...).build().loadAd(AdRequest request)`                                                                                    | `NativeAdLoader.load(NativeAdRequest request, NativeAdLoaderCallback callback)`                                                                                                                                                                                                            |\n| Native Ad Register                       | `NativeAdView.setNativeAd(NativeAd nativeAd)`                                                                                                | `NativeAdView.registerNativeAd(NativeAd nativeAd, mediaView: MediaView?)`                                                                                                                                                                                                                  |\n| Set an App Event Listener (Banner)       | `AdManagerAdView.appEventListener`                                                                                                           | `BannerAd.adEventCallback` (`onAppEvent(name: String, data: String?)` is now part of the `BannerAdEventCallback`)                                                                                                                                                                          |\n| Set an App Event Listener (Interstitial) | `AdManagerInterstitialAd.appEventListener`                                                                                                   | `InterstitialAd.adEventCallback` (`onAppEvent(name: String, data: String?)` is now part of the `InterstitialAdEventCallback`)                                                                                                                                                              |\n| **Callbacks**                            |                                                                                                                                              |                                                                                                                                                                                                                                                                                            |\n| onAdOpened                               | `AdListener.onAdOpened()`                                                                                                                    | `AdEventCallback.onAdShowedFullScreenContent()`                                                                                                                                                                                                                                            |\n| onAdClosed                               | `AdListener.onAdClosed()`                                                                                                                    | `AdEventCallback.onAdDismissedFullScreenContent()`                                                                                                                                                                                                                                         |\n| onFailedToShowFullScreenContent          | `onAdFailedToShowFullScreenContent(adError: AdError)`                                                                                        | `onAdFailedToShowFullScreenContent(fullScreenContentError: FullScreenContentError)`                                                                                                                                                                                                        |\n| onAdLoaded                               | **AdLoadCallback**: `onAdLoaded(ad: T)` (e.g., `InterstitialAdLoadCallback`, `RewardedAdLoadCallback`, `RewardedInterstitialAdLoadCallback`) | Parameter name is always `ad` **Format specific**: `onAdLoaded(ad: InterstitialAd)`, `onAdLoaded(ad: RewardedAd)`, `onAdLoaded(ad: RewardedInterstitialAd)`                                                                                                                                |\n| onAdFailedToLoad                         | `onAdFailedToLoad(loadAdError: LoadAdError)`                                                                                                 | `onAdFailedToLoad(adError: LoadAdError)`                                                                                                                                                                                                                                                   |\n| onCustomFormatAdLoaded                   | `OnCustomFormatAdLoadedListener.onCustomFormatAdLoaded(NativeCustomFormatAd ad)`                                                             | `NativeAdLoaderCallback.onCustomNativeAdLoaded(CustomNativeAd customNativeAd)`                                                                                                                                                                                                             |\n| onPaidEventListener                      | `OnPaidEventListener.onPaidEvent(AdValue value)`                                                                                             | `AdEventCallback.onAdPaid(value: AdValue)` (Format-specific e.g., `banner.BannerAdEventCallback.onAdPaid(value: AdValue)`)                                                                                                                                                                 |\n| onVideoMute                              | `onVideoMute(muted: Boolean)`                                                                                                                | `onVideoMute(isMuted: Boolean)`                                                                                                                                                                                                                                                            |\n| onAdPreloaded                            | `onAdPreloaded(preloadId: String, responseInfo: ResponseInfo?)`                                                                              | `onAdPreloaded(preloadId: String, responseInfo: ResponseInfo)`                                                                                                                                                                                                                             |\n| **Preloading**                           |                                                                                                                                              |                                                                                                                                                                                                                                                                                            |\n| Configuration                            | `PreloadConfiguration.Builder(String adUnitId).build()`                                                                                      | `PreloadConfiguration(AdRequest request)`                                                                                                                                                                                                                                                  |\n| **Response Info**                        |                                                                                                                                              |                                                                                                                                                                                                                                                                                            |\n| Get Response Info                        | `ad.responseInfo`                                                                                                                            | `ad.getResponseInfo()`                                                                                                                                                                                                                                                                     |\n| Loaded Adapter Responses Info            | `responseInfo.getLoadedAdapterResponseInfo()`                                                                                                | `responseInfo.loadedAdSourceResponseInfo`                                                                                                                                                                                                                                                  |\n| Get Adapter Responses                    | `responseInfo.getAdapterResponses()`                                                                                                         | `responseInfo.adSourceResponses`                                                                                                                                                                                                                                                           |\n| Get Mediation Adapter Class              | `responseInfo.getMediationAdapterClassName()`                                                                                                | `responseInfo.adapterClassName`                                                                                                                                                                                                                                                            |\n| **Adapter Response Info**                |                                                                                                                                              |                                                                                                                                                                                                                                                                                            |\n| Ad Source ID                             | `AdapterResponseInfo.getAdSourceId()`                                                                                                        | `AdSourceResponseInfo.id`                                                                                                                                                                                                                                                                  |\n| Ad Source Name                           | `AdapterResponseInfo.getAdSourceName()`                                                                                                      | `AdSourceResponseInfo.name`                                                                                                                                                                                                                                                                |\n| Ad Source Instance ID                    | `AdapterResponseInfo.getAdSourceInstanceId()`                                                                                                | `AdSourceResponseInfo.instanceId`                                                                                                                                                                                                                                                          |\n| Ad Source Instance Name                  | `AdapterResponseInfo.getAdSourceInstanceName()`                                                                                              | `AdSourceResponseInfo.instanceName`                                                                                                                                                                                                                                                        |\n\n","# AI Migration Agent Instructions for the Google Mobile Ads SDK\n\n## Migration Workflow\n\nUse this checklist to track your migration progress:\n\n*   **Configure Gradle**:\n    -   [ ] Replace `com.google.android.gms:play-services-ads` with the latest\n        stable version of\n        `com.google.android.libraries.ads.mobile.sdk:ads-mobile-sdk`. If you\n        cannot access Maven directly, run the following command to fetch the\n        latest version. The version returned in the `latest` tag is the latest\n        version of the GMA Next-Gen SDK:\n\n        ```bash\n        curl -sS https:\u002F\u002Fdl.google.com\u002Fdl\u002Fandroid\u002Fmaven2\u002Fcom\u002Fgoogle\u002Fandroid\u002Flibraries\u002Fads\u002Fmobile\u002Fsdk\u002Fads-mobile-sdk\u002Fmaven-metadata.xml | sed -n 's\u002F.*\u003Clatest>\\(.*\\)\u003C\\\u002Flatest>.*\u002F\\1\u002Fp'\n        ```\n\n    -   [ ] Update `minSdk` (24+) and `compileSdk` (34+).\n    -   [ ] Exclude `play-services-ads` and `play-services-ads-lite` from all\n        dependencies globally in the app-level build file to avoid duplicate\n        symbol errors.\n    -   [ ] Sync Gradle before moving on to the next step.\n*   **Per-File Migration**:\n    -   [ ] Refactor the codebase following the API Mapping and Method Mapping\n        tables to migrate imports, class names, and method signature to GMA\n        Next-Gen SDK.\n*   **Verify and Build**:\n    -   [ ] Run `gradle build -x test` to confirm a successful clean build.\n        Resolve any GMA SDK related compile errors.\n\n## Core Migration Rules\n\n*   **App ID Usage**: **Always** use the value of the\n    `com.google.android.gms.ads.APPLICATION_ID` meta-data tag from\n    `AndroidManifest.xml` for the `applicationId` in `InitializationConfig`.\n    *   *Constraint*: Preserve the `\u003Cmeta-data>` tag in the manifest; it is\n        still required for publishers using the User Messaging Platform SDK.\n*   **Initialization Sequence**:\n    1.  Call `MobileAds.initialize()` on a background thread.\n    2.  Ensure `initialize()` is called **before** any other SDK methods.\n    3.  If using `RequestConfiguration`, bundle it into\n        `InitializationConfig.Builder.setRequestConfiguration()`. **Do not**\n        call `MobileAds.setRequestConfiguration()` before initialization.\n*   **UI Threading**: **MANDATORY**: Callbacks in GMA-Next Gen SDK are invoked\n    on a background thread. **ALL UI-RELATED OPERATIONS** (e.g., Toasts, View\n    updates, Fragment transactions) **MUST** be wrapped in `runOnUiThread {}` or\n    `Dispatchers.Main.launch {}` within GMA SDK callbacks. SKIPPING THIS STEP\n    WILL CAUSE THE APPLICATION TO CRASH.\n*   **Mediation**: Classes implementing\n    `com.google.android.gms.ads.mediation.Adapter` MUST continue using\n    `com.google.android.gms.ads`.\n\n## Format Specifics\n\n### Banner Ads\n\n*   Use `com.google.android.libraries.ads.mobile.sdk.banner.AdView` for loading\n    GMA Next-Gen SDK banners.\n*   The following API checks if a banner is collapsible:\n    `adView.getBannerAd().isCollapsible()`.\n\n### Native Ads\n\n*   **NativeAdLoader**: `NativeAdLoader` is abstract and cannot be instantiated.\n    It is used statically (e.g., `NativeAdLoader.load(...)`).\n*   The following APIs are now set on the `NativeAdRequest.Builder`:\n    *   `.setCustomFormatIds(customFormatIds: List\u003CString>)`\n    *   `.disableImageDownloading()`\n    *   `.setMediaAspectRatio(mediaAspectRatio: NativeMediaAspectRatio)`\n    *   `.setAdChoicesPlacement(adChoicesPlacement: AdChoicesPlacement)`\n    *   `.setVideoOptions(videoOptions: VideoOptions)`\n*   **Removal**: Delete all \"Mute This Ad\" logic; it is unsupported in GMA\n    Next-Gen SDK.\n*   **MediaView**: `NativeAd` no longer has a direct `mediaView` variable; use\n    `registerNativeAd(nativeAd, mediaView)` to associate the ad with the view.\n\n### Ad preloading\n\n*   Unless specified in the mapping table, ad preloading methods in the GMA\n    Next-Gen SDK retain the same API signatures and parameters as the Old SDK.\n\n## API Mapping\n\nThis table covers the main classes and their GMA Next-Gen SDK equivalents.\n\n| Feature                    | Old SDK Import (`com.google.android.gms.ads...`)                                     | GMA Next-Gen SDK Import (`com.google.android.libraries.ads.mobile.sdk...` )                                                                                                           |\n|:---------------------------|:-------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Core**                   |                                                                                      |                                                                                                                                                                                       |\n| Initialization             | `MobileAds`                                                                          | `MobileAds`, `initialization.InitializationConfig`                                                                                                                                    |\n| Initialization Listener    | `initialization.OnInitializationCompleteListener`                                    | `initialization.OnAdapterInitializationCompleteListener`                                                                                                                              |\n| Ad Request                 | `AdRequest`                                                                          | *Format specific* (e.g. `common.AdRequest`, `banner.BannerAdRequest`, `nativead.NativeAdRequest`) (Ad Unit ID is declared in `Builder`. Load() no longer takes an activity)           |\n| Load Error                 | `LoadAdError`                                                                        | `common.LoadAdError` (`LoadAdError` no longer has a domain variable. REMOVE the domain variable if found.)                                                                            |\n| Full Screen Show Error     | `AdError` (within `FullScreenContentCallback`)                                       | `common.FullScreenContentError` (within format-specific `AdEventCallback`)                                                                                                            |\n| Request Configuration      | `RequestConfiguration`                                                               | `common.RequestConfiguration` (Nested Enums\u002FConstants for RequestConfiguration are now under common.RequestConfiguration.)                                                            |\n| Event Callbacks            | `FullScreenContentCallback` (for full screen formats), `AdListener` (Banner, Native) | *Format Specific* (e.g., `interstitial.InterstitialAdEventCallback`, `banner.BannerAdEventCallback`, `native.NativeAdEventCallback`). Variable on the ad format is `adEventCallback`. |\n| **Tools**                  |                                                                                      |                                                                                                                                                                                       |\n| Ad Inspector               | `MobileAds.openAdInspector()`                                                        | `MobileAds.openAdInspector()` (`openAdInspector` no longer takes an activity)                                                                                                         |\n| Ad Inspector Listener      | `OnAdInspectorClosedListener`                                                        | `common.OnAdInspectorClosedListener`                                                                                                                                                  |\n| **Formats**                |                                                                                      |                                                                                                                                                                                       |\n| App Open                   | `appopen.AppOpenAd`                                                                  | `appopen.AppOpenAd`                                                                                                                                                                   |\n| App Open Load              | `appopen.AppOpenAd.AppOpenAdLoadCallback`                                            | `common.AdLoadCallback\u003Cappopen.AppOpenAd>`                                                                                                                                            |\n| Banner                     | `AdView`, `AdSize`                                                                   | `banner.AdView`, `banner.AdSize` (`AdView` no longer has `pause()`, `resume()`, `setAdSize()`). `AdSize` is declared in `BannerAdRequest`.                                            |\n| Banner Load                | `AdListener`                                                                         | `common.AdLoadCallback\u003Cbanner.BannerAd>`                                                                                                                                              |\n| Banner Events              | `AdListener`                                                                         | `banner.BannerAdEventCallback`, `banner.BannerAdRefreshCallback`                                                                                                                      |\n| Interstitial               | `interstitial.InterstitialAd`                                                        | `interstitial.InterstitialAd`                                                                                                                                                         |\n| Interstitial Load          | `interstitial.InterstitialAd.InterstitialAdLoadCallback`                             | `common.AdLoadCallback\u003Cinterstitial.InterstitialAd>`                                                                                                                                  |\n| Ad Loader                  | `AdLoader`                                                                           | `nativead.NativeAdLoader`                                                                                                                                                             |\n| Native                     | `nativead.NativeAd`                                                                  | `nativead.NativeAd` (No longer has a `mediaView` variable)                                                                                                                            |\n| Native Custom Format Ad    | `nativead.NativeCustomFormatAd`                                                      | `nativead.CustomNativeAd`                                                                                                                                                             |\n| Native Custom Click        | `nativead.NativeCustomFormatAd.OnCustomClickListener`                                | `nativead.OnCustomClickListener` (set on the `CustomNativeAd` object (e.g., `.onCustomClickListener`)                                                                                 |\n| Native Load                | `nativead.NativeAd.OnNativeAdLoadedListener`                                         | `nativead.NativeAdLoaderCallback`                                                                                                                                                     |\n| Native Ad View             | `nativead.NativeAdView`                                                              | `nativead.NativeAdView`                                                                                                                                                               |\n| Media Content              | `MediaContent`                                                                       | `nativead.MediaContent` (hasVideoContent is declared as a `val`)                                                                                                                      |\n| Media Aspect Ratio         | `MediaAspectRatio`                                                                   | `nativead.MediaAspectRatio`                                                                                                                                                           |\n| Video Options              | `VideoOptions`                                                                       | `common.VideoOptions`                                                                                                                                                                 |\n| Video Controller           | `VideoController`                                                                    | `common.VideoController` (VideoLifecycleCallbacks is now an interface, so instantiate with `object : VideoController.VideoLifecycleCallbacks { ... }`)                                |\n| Rewarded                   | `rewarded.RewardedAd`                                                                | `rewarded.RewardedAd`                                                                                                                                                                 |\n| Rewarded Load              | `rewarded.RewardedAd.RewardedAdLoadCallback`                                         | `common.AdLoadCallback\u003Crewarded.RewardedAd>`                                                                                                                                          |\n| Rewarded Interstitial      | `rewardedinterstitial.RewardedInterstitialAd`                                        | `rewardedinterstitial.RewardedInterstitialAd`                                                                                                                                         |\n| Rewarded Interstitial Load | `rewardedinterstitial.RewardedInterstitialAd.RewardedInterstitialAdLoadCallback`     | `common.AdLoadCallback\u003Crewardedinterstitial.RewardedInterstitialAd>`                                                                                                                  |\n| Paid Event Listener        | `OnPaidEventListener`                                                                | `common.AdEventCallback`                                                                                                                                                              |\n| Response Info              | `ResponseInfo`                                                                       | `common.ResponseInfo`                                                                                                                                                                 |\n| Adapter Response Info      | `AdapterResponseInfo`                                                                | `common.AdSourceResponseInfo`                                                                                                                                                         |\n| **Rewards**                |                                                                                      |                                                                                                                                                                                       |\n| Reward Listener            | `OnUserEarnedRewardListener`                                                         | `rewarded.OnUserEarnedRewardListener`                                                                                                                                                 |\n| Reward Item                | `rewarded.RewardItem`                                                                | `rewarded.RewardItem` (property access on `RewardedAd` and `RewardedInterstitialAd` is now `getRewardItem()`)                                                                         |\n| Ad Value                   | `AdValue`                                                                            | `common.AdValue`                                                                                                                                                                      |\n| **Preloading**             |                                                                                      |                                                                                                                                                                                       |\n| Configuration              | `preload.PreloadConfiguration`                                                       | `common.PreloadConfiguration`                                                                                                                                                         |\n| Callback                   | `preload.PreloadCallbackV2`                                                          | `common.PreloadCallback` (Now an interface instead of an abstract class)                                                                                                              |\n| Interstitial Preloader     | `interstitial.InterstitialPreloader`                                                 | `interstitial.InterstitialAdPreloader`                                                                                                                                                |\n| **Ad Manager**             |                                                                                      |                                                                                                                                                                                       |\n| Ad Request                 | `admanager.AdManagerAdRequest`                                                       | `common.AdRequest` (Now directly implemented in the `AdRequest` class)                                                                                                                |\n| Ad View                    | `admanager.AdView`                                                                   | `banner.AdView` (No `AdManagerAdView` class)                                                                                                                                          |\n| App Event Listener         | `admanager.AppEventListener`                                                         | `common.OnAppEventListener`                                                                                                                                                           |\n\n## Method Mapping\n\nThis table covers the main methods and their GMA Next-Gen SDK equivalents.\n\n| Feature                                  | Old SDK Method Signature                                                                                                                     | GMA Next-Gen SDK Method Signature                                                                                                                                                                                                                                                          |\n|:-----------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Core**                                 |                                                                                                                                              |                                                                                                                                                                                                                                                                                            |\n| MobileAds Initialization                 | `MobileAds.initialize(Context context, OnInitializationCompleteListener listener)`                                                           | `MobileAds.initialize(Context context, InitializationConfig config, OnInitializationCompleteListener listener)`                                                                                                                                                                            |\n| InitializationConfig Builder             | N\u002FA                                                                                                                                          | `InitializationConfig.Builder(String applicationId)`                                                                                                                                                                                                                                       |\n| Ad Request Builder                       | `AdRequest.Builder().build()`                                                                                                                | `AdRequest.Builder(String adUnitId).build()` (for App Open, Interstitial, Rewarded, Rewarded Interstitial) **Banner:** `BannerAdRequest.Builder(String adUnitId, AdSize adSize).build()` **Native:** `NativeAdRequest.Builder(String adUnitId, nativeAdTypes: List\u003CNativeAdType>).build()` |\n| Add Network Extras (AdMobAdapter)        | `AdRequest.Builder().addNetworkExtrasBundle(Class\u003CMediationExtrasReceiver>, Bundle networkExtras)`                                           | `AdRequest.Builder(String adUnitId).setGoogleExtrasBundle(Bundle extraBundle)`                                                                                                                                                                                                             |\n| Add Network Extras (Ad Source Adapter)   | `AdRequest.Builder().addNetworkExtrasBundle(Class\u003CMediationExtrasReceiver>, Bundle networkExtras)`                                           | `AdRequest.Builder(String adUnitId).putAdSourceExtrasBundle(Class\u003CMediationExtrasReceiver> adapterClass, Bundle adSourceExtras)`                                                                                                                                                           |\n| Custom Targeting                         | `AdRequest.Builder().setCustomTargeting(String key, String value)`                                                                           | `AdRequest.Builder(String adUnitId).putCustomTargeting(String key, String value)`                                                                                                                                                                                                          |\n| **Formats**                              |                                                                                                                                              |                                                                                                                                                                                                                                                                                            |\n| App Open                                 | `AppOpenAd.load(Context context, String adUnitId, AdRequest request, AppOpenAdLoadCallback loadCallback)`                                    | `AppOpenAd.load(AdRequest request, AdLoadCallback\u003CAppOpenAd> loadCallback)`                                                                                                                                                                                                                |\n| Banner                                   | `AdView.loadAd(AdRequest request)`                                                                                                           | `AdView.loadAd(BannerAdRequest request, AdLoadCallback\u003CBannerAd> loadCallback)`                                                                                                                                                                                                            |\n| Interstitial                             | `InterstitialAd.load(Context context, String adUnitId, AdRequest request, InterstitialAdLoadCallback loadCallback)`                          | `InterstitialAd.load(AdRequest request, AdLoadCallback\u003CInterstitialAd> loadCallback)`                                                                                                                                                                                                      |\n| Rewarded                                 | `RewardedAd.load(Context context, String adUnitId, AdRequest request, RewardedAdLoadCallback loadCallback)`                                  | `RewardedAd.load(AdRequest request, AdLoadCallback\u003CRewardedAd> loadCallback)`                                                                                                                                                                                                              |\n| Rewarded Interstitial                    | `RewardedInterstitialAd.load(Context context, String adUnitId, AdRequest request, RewardedInterstitialAdLoadCallback loadCallback)`          | `RewardedInterstitialAd.load(AdRequest request, AdLoadCallback\u003CRewardedInterstitialAd> loadCallback)`                                                                                                                                                                                      |\n| Native Builder                           | `AdLoader.Builder(Context context, String adUnitId).forNativeAd(NativeAd.OnNativeAdLoadedListener onNativeAdLoadedListener)`                 | `NativeAdRequest.Builder(String adUnitId, nativeAdTypes: List\u003CNativeAdType>)` (Include `NativeAd.NativeAdType.NATIVE` in `nativeAdTypes`)                                                                                                                                                  |\n| Native Load                              | `AdLoader.Builder(...).build().loadAd(AdRequest request)`                                                                                    | `NativeAdLoader.load(NativeAdRequest request, NativeAdLoaderCallback callback)`                                                                                                                                                                                                            |\n| Native Ad Register                       | `NativeAdView.setNativeAd(NativeAd nativeAd)`                                                                                                | `NativeAdView.registerNativeAd(NativeAd nativeAd, mediaView: MediaView?)`                                                                                                                                                                                                                  |\n| Set an App Event Listener (Banner)       | `AdManagerAdView.appEventListener`                                                                                                           | `BannerAd.adEventCallback` (`onAppEvent(name: String, data: String?)` is now part of the `BannerAdEventCallback`)                                                                                                                                                                          |\n| Set an App Event Listener (Interstitial) | `AdManagerInterstitialAd.appEventListener`                                                                                                   | `InterstitialAd.adEventCallback` (`onAppEvent(name: String, data: String?)` is now part of the `InterstitialAdEventCallback`)                                                                                                                                                              |\n| **Callbacks**                            |                                                                                                                                              |                                                                                                                                                                                                                                                                                            |\n| onAdOpened                               | `AdListener.onAdOpened()`                                                                                                                    | `AdEventCallback.onAdShowedFullScreenContent()`                                                                                                                                                                                                                                            |\n| onAdClosed                               | `AdListener.onAdClosed()`                                                                                                                    | `AdEventCallback.onAdDismissedFullScreenContent()`                                                                                                                                                                                                                                         |\n| onFailedToShowFullScreenContent          | `onAdFailedToShowFullScreenContent(adError: AdError)`                                                                                        | `onAdFailedToShowFullScreenContent(fullScreenContentError: FullScreenContentError)`                                                                                                                                                                                                        |\n| onAdLoaded                               | **AdLoadCallback**: `onAdLoaded(ad: T)` (e.g., `InterstitialAdLoadCallback`, `RewardedAdLoadCallback`, `RewardedInterstitialAdLoadCallback`) | Parameter name is always `ad` **Format specific**: `onAdLoaded(ad: InterstitialAd)`, `onAdLoaded(ad: RewardedAd)`, `onAdLoaded(ad: RewardedInterstitialAd)`                                                                                                                                |\n| onAdFailedToLoad                         | `onAdFailedToLoad(loadAdError: LoadAdError)`                                                                                                 | `onAdFailedToLoad(adError: LoadAdError)`                                                                                                                                                                                                                                                   |\n| onCustomFormatAdLoaded                   | `OnCustomFormatAdLoadedListener.onCustomFormatAdLoaded(NativeCustomFormatAd ad)`                                                             | `NativeAdLoaderCallback.onCustomNativeAdLoaded(CustomNativeAd customNativeAd)`                                                                                                                                                                                                             |\n| onPaidEventListener                      | `OnPaidEventListener.onPaidEvent(AdValue value)`                                                                                             | `AdEventCallback.onAdPaid(value: AdValue)` (Format-specific e.g., `banner.BannerAdEventCallback.onAdPaid(value: AdValue)`)                                                                                                                                                                 |\n| onVideoMute                              | `onVideoMute(muted: Boolean)`                                                                                                                | `onVideoMute(isMuted: Boolean)`                                                                                                                                                                                                                                                            |\n| onAdPreloaded                            | `onAdPreloaded(preloadId: String, responseInfo: ResponseInfo?)`                                                                              | `onAdPreloaded(preloadId: String, responseInfo: ResponseInfo)`                                                                                                                                                                                                                             |\n| **Preloading**                           |                                                                                                                                              |                                                                                                                                                                                                                                                                                            |\n| Configuration                            | `PreloadConfiguration.Builder(String adUnitId).build()`                                                                                      | `PreloadConfiguration(AdRequest request)`                                                                                                                                                                                                                                                  |\n| **Response Info**                        |                                                                                                                                              |                                                                                                                                                                                                                                                                                            |\n| Get Response Info                        | `ad.responseInfo`                                                                                                                            | `ad.getResponseInfo()`                                                                                                                                                                                                                                                                     |\n| Loaded Adapter Responses Info            | `responseInfo.getLoadedAdapterResponseInfo()`                                                                                                | `responseInfo.loadedAdSourceResponseInfo`                                                                                                                                                                                                                                                  |\n| Get Adapter Responses                    | `responseInfo.getAdapterResponses()`                                                                                                         | `responseInfo.adSourceResponses`                                                                                                                                                                                                                                                           |\n| Get Mediation Adapter Class              | `responseInfo.getMediationAdapterClassName()`                                                                                                | `responseInfo.adapterClassName`                                                                                                                                                                                                                                                            |\n| **Adapter Response Info**                |                                                                                                                                              |                                                                                                                                                                                                                                                                                            |\n| Ad Source ID                             | `AdapterResponseInfo.getAdSourceId()`                                                                                                        | `AdSourceResponseInfo.id`                                                                                                                                                                                                                                                                  |\n| Ad Source Name                           | `AdapterResponseInfo.getAdSourceName()`                                                                                                      | `AdSourceResponseInfo.name`                                                                                                                                                                                                                                                                |\n| Ad Source Instance ID                    | `AdapterResponseInfo.getAdSourceInstanceId()`                                                                                                | `AdSourceResponseInfo.instanceId`                                                                                                                                                                                                                                                          |\n| Ad Source Instance Name                  | `AdapterResponseInfo.getAdSourceInstanceName()`                                                                                              | `AdSourceResponseInfo.instanceName`                                                                                                                                                                                                                                                        |\n\n",{"name":5,"metadata":24,"description":7},{"version":25,"category":26},"1.1.0","GoogleAds","main","e905af21e5f1e1c3ca605e9656c3a7930360a84e","Programming\u002FAI_Engineering_and_Platforms\u002FAgents_and_LLM_Platforms\u002Fgoogle-mobile-ads-android-migrate-to-next-gen",1,"https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills","https:\u002F\u002Fhamzabellouch.github.io\u002F","https:\u002F\u002Fgithub.com\u002Fhamzabellouch","hamzabellouch.github.io","CEO & Founder of @tknoglobal | Researcher in Technology & Applied Sciences.","2026-10-17 03:20:19",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add hamzabellouch\u002Fagent-skills --skill google-mobile-ads-android-migrate-to-next-gen",{"tool":43,"command":44},"bunx","bunx skills add hamzabellouch\u002Fagent-skills --skill google-mobile-ads-android-migrate-to-next-gen",{"tool":46,"command":47},"pnpm","pnpm dlx skills add hamzabellouch\u002Fagent-skills --skill google-mobile-ads-android-migrate-to-next-gen","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FProgramming\u002FAI_Engineering_and_Platforms\u002FAgents_and_LLM_Platforms\u002Fgoogle-mobile-ads-android-migrate-to-next-gen\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M79FHH2H815A9TAP6WNKH4Q8","security-audit","Comprehensive security guidance, source code audit, vulnerability assessment, and penetration test review for codebases, APIs, microservices, CLI tools, libraries, and LLM-backed applications. Triggers on requests to audit a codebase, conduct security reviews, find vulnerabilities or flaws, pen-test source code, or when the user asks in Arabic (فحص أمني، تدقيق الكود أمنياً، مراجعة الثغرات، فحص أمان المشروع). Supports Guidance mode (focused review) and Full Audit mode (deterministic 6-phase harness).","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FSecurity_Audit_and_Code_Review\u002Fsecurity-audit\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M79FHBGXVBY6VQ1X7ETAZMF1","malware-analysis-reversing","Production malware analysis workflows, reverse engineering methodologies, isolated sandbox triage, static\u002Fdynamic binary analysis, memory forensics, and YARA detection rule authoring.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fmalware-analysis-reversing\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M79FH6EACDR801TZCE4R8SAC","application-security-pentesting","Production Application Security (AppSec) standards, OWASP Top 10 vulnerability remediation, SAST\u002FDAST pipeline integration, secure code review, threat modeling, and defensive security posture.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fapplication-security-pentesting\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79FH0VKVT44FK923K520ZQA","oauth2-oidc-security-flows","Implement enterprise OAuth 2.1 and OpenID Connect (OIDC) authorization code flow with Proof Key for Code Exchange (PKCE), state and nonce verification, refresh token rotation, token revocation, and centralized IdP federation (Keycloak, Auth0, Okta). Trigger when building secure authentication, single sign-on (SSO), or third-party delegated authorization.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Foauth2-oidc-security-flows\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79FGVVB3R4T88XXD8FRSV5B","jwt-session-management-hardening","Harden JWT-based authentication and session lifecycles using asymmetric signing (RS256\u002FEdDSA), JWKS rotation, strict claims validation, Redis-backed sliding window sessions, revocation lists, and secure HttpOnly cookie storage. Trigger when implementing token validation, session revocation, or hardening API authentication.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Fjwt-session-management-hardening\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79FGNCPZ85CVEY0B3NE4H3B","soc2-compliance-automation","Best practices for implementing SOC 2 Type II compliance controls, continuous evidence collection, infrastructure policy-as-code, and automated security monitoring. Use when automating Trust Services Criteria (Security, Availability, Confidentiality, Processing Integrity, Privacy), audit logging, IAM least privilege, or CI\u002FCD security gates.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FGovernance_Compliance_and_Legal_Tech\u002Fsoc2-compliance-automation\u002FSKILL.md",[],[]]