Parity Checker
Testing & Qualityparity-checkerParity Checker is an Agent Skill for testing & quality published in the poingstudios/godot-admob-plugin repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Ensure API parity between GDScript and C#. Use when adding new methods, signals, or features to the plugin bridge to verify that Mono users have identical functionality.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/poingstudios/godot-admob-plugin/blob/HEAD/.agents/skills/parity-checker/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/parity-checker, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
👯 AdMob API Parity Checker
Ensure that GDScript and C# implementations remain synchronized and consistent.
⚖️ The Parity Standard
1. Method Naming
- GDScript:
snake_case(e.g.,load_ad) - C#:
PascalCase(e.g.,LoadAd) - Note: Internal
_plugin.Call("method_name")must always use the EXACT string defined in the native bridge (usuallysnake_case).
2. Implementation Check
For every new feature in admob.gd:
- Create/Update the corresponding
.csclass incsharp/src/Api/. - Ensure
SafeConnectis used for signals in C#. - Verify that all optional parameters have the same default values in both languages.
3. Sample Sync
- If a feature is added to
gdscript/sample/Main.gd, it MUST be added tocsharp/sample/MainCSharpExample.cs. - Verify that the C# sample actually instantiates the classes (to trigger Static Initializers/Warnings).
🛠️ Verification Command
- Run
grep -r "_get_plugin" .andgrep -r "GetPlugin" .to compare list of initialized modules.