关于 google-mobile-ads-validate
用于审查项目中 Google Mobile Ads SDK 集成的技能,可执行完整审计或仅检查指定项目,并按检查结果生成 Markdown 报告。
主要功能
- 01完整集成审计
- 02按需执行指定检查
- 03检查应用 ID 与广告单元
- 04核对 SKAdNetwork ID 与中介适配器
- 05验证广告预加载
- 06生成状态与后续步骤报告
适用场景
- 01发布前审查广告 SDK 配置
- 02仅排查广告预加载问题
- 03核验中介适配器兼容性
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ google/ skills --skill google-mobile-ads-validate安装后在 Claude Code 中输入/google-mobile-ads-validate确认已加载。
包含的文件
除 SKILL.md 外,安装时一起下载的参考资料和脚本。
references/ad-preloading.mdad-units.mdapplication-id.mdgoogle-skadnetwork-ids.mdmediation-adapter-compatibility.md详细介绍
验证 Google Mobile Ads SDK 集成
验证项目的 Google Mobile Ads(GMA)SDK 集成,可执行完整审计,也可针对指定检查项进行验证。
- 完整审计:如果用户要求进行常规验证或完整审计,请评估所有检查项。
- 指定检查项:如果用户要求只验证某个特定领域(例如广告预加载),请只评估相关检查项,而不运行完整检查清单。
评分规则
对于每项检查,应用以下状态之一:
- 通过:不符合任何“警告”“失败”或“不适用”条件。
- 警告、失败或不适用:符合相应状态下所述的条件。
验证检查清单
阅读每项待执行检查的参考指南:
- 项目中没有测试应用 ID,且格式正确:
references/application-id.md - 项目中没有测试广告单元,且格式正确:
references/ad-units.md - 已实现所有 Google SKAdNetwork ID:
references/google-skadnetwork-ids.md - 中介适配器兼容性:
references/mediation-adapter-compatibility.md - 广告预加载验证检查:
references/ad-preloading.md
最终输出
按照以下格式生成 Markdown 报告。仅包含实际执行过的检查项的结果。
| 检查项 | 状态 | 发现 | 后续步骤 |
|---|---|---|---|
| 项目中没有测试应用 ID,且格式正确 | {{status_1}} | {{findings_1}} | {{next_steps_1}} |
| 项目中没有测试广告单元,且格式正确 | {{status_2}} | {{findings_2}} | {{next_steps_2}} |
| 已实现所有 Google SKAdNetwork ID | {{status_3}} | {{findings_3}} | {{next_steps_3}} |
| 中介适配器兼容性 | {{status_4}} | {{findings_4}} | {{next_steps_4}} |
| 广告预加载验证检查 | {{status_5}} | {{findings_5}} | {{next_steps_5}} |
评论
支持 Markdown