applying-backend-diff
OfficialPort backend API changes into your SDK
Software Engineering#typescript#sdk#api mirroring#openapi generation#react-query hooks#backend diff#AST codegen
Authorconnectedxm
Version1.0.0
Installs0
System Documentation
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/queriesandsrc/mutationsfiles. - 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.tsandsrc/params.ts, then validates withnpx tscandnpm run lintrather 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."
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: applying-backend-diff Download link: https://github.com/connectedxm/admin-sdk/archive/main.zip#applying-backend-diff Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.