# Parity Checker

> Parity 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.

- Skill name: `parity-checker`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/poingstudios/godot-admob-plugin/blob/HEAD/.agents/skills/parity-checker/SKILL.md
- Repository: poingstudios/godot-admob-plugin (594 GitHub stars when collected)

## SKILL.md

# 👯 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 (usually `snake_case`).

### 2. Implementation Check
For every new feature in `admob.gd`:
- [ ] Create/Update the corresponding `.cs` class in `csharp/src/Api/`.
- [ ] Ensure `SafeConnect` is 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 to `csharp/sample/MainCSharpExample.cs`.
- [ ] Verify that the C# sample actually instantiates the classes (to trigger Static Initializers/Warnings).

## 🛠️ Verification Command
- Run `grep -r "_get_plugin" .` and `grep -r "GetPlugin" .` to compare list of initialized modules.

---

Source: https://www.openparable.com/skill/testing-quality/parity-checker (OpenParable). Cite the canonical URL above.
