What problem does it solve?
It helps you reliably mirror new or changed backend admin API endpoints into the @connectedxm/admin-sdk TypeScript SDK so the generated OpenAPI spec and downstream types stay correct.
Core Features & Use Cases
- PR/Diff-to-SDK mirroring workflow: Translates a backend PR, patch diff, or pasted diff into the corresponding
src/queries and src/mutations files.
- Generator-safe file shaping: Ensures new endpoint files match the strict AST-detected export order and return types so they are not silently dropped from
openapi.json.
- Type reuse and correctness checks: Reuses existing types from
src/interfaces.ts and src/params.ts, then validates with npx tsc and npm run lint rather than relying on ad-hoc edits.
Quick Start
Use this skill when you want an AI to "update the admin-sdk to mirror the endpoints from this backend diff, adding the required query/mutation files under src/queries and src/mutations and then regenerating exports and verifying with typecheck and lint."