Code generator that emits PlayFab client SDKs from JSON API specs.
🤖 AI agents: read
.github/copilot-instructions.md,AGENTS.md, and the README first.
# Sibling-folder layout (required):
mkdir playfab-sdks && cd playfab-sdks
git clone <SDKGenerator-url> SdkGenerator
git clone <API_Specs-url> API_Specs
# (clone target SDK repos under sdks/ as needed)
cd SdkGenerator
npm install| Prefix | Use For |
|---|---|
feature/ |
New target, new generator feature |
fix/ |
Bug fix |
chore/ |
Dependency / template updates |
docs/ |
Documentation only |
node generate.js csharp=../sdks/PlayFabClientSdkCSharp/
node generate.js unity-v2=../sdks/PlayFabSDK/Diff the output against the prior commit to spot regressions.
See .github/instructions/targets.instructions.md.
- Node.js + JS + EJS templates.
- 2-space indent everywhere (
.editorconfigenforces). - Logic in
make.js, rendering intemplates/. - One target = one folder under
targets/. - No cross-target imports.
targets/PlayStation/ is NDA-scoped content inside this otherwise non-NDA repo. See partycore-nda-boundary.md from the L1 footer for the team-wide policy; do not paste its source into external AI prompts.
- Branch.
- Implement; regenerate affected SDK(s); diff and verify.
- Update README / target docs as appropriate.
- Open PR (template).
- CI passes; review; merge.