generate-clients
Generates c# and typescript clients for BymseRead.Service.
When & Why to Use This Skill
This Claude skill automates the generation of C# and TypeScript client libraries for the BymseRead.Service. By executing specialized dotnet tools, it ensures that client-side code remains perfectly synchronized with the backend service definition, significantly reducing manual boilerplate coding and preventing integration errors through automated type-safe client production.
Use Cases
- Frontend Synchronization: Automatically generate updated TypeScript clients for web applications whenever the BymseRead.Service API contract changes, ensuring type safety across the stack.
- Cross-Service Communication: Rapidly create C# client libraries for other microservices to consume BymseRead.Service APIs without manual Data Transfer Object (DTO) mapping.
- Development Workflow Automation: Integrate client generation into the local development loop to identify breaking API changes early by regenerating clients immediately after backend modifications.
| name | generate-clients |
|---|---|
| description | Generates c# and typescript clients for BymseRead.Service. |
- Check current folder and go to root of the repository if needed
- Ensure project dotnet tools are restored by running
dotnet tool restore - Then run
dotnet run --project src/BymseRead.Tools/BymseRead.Tools.csproj GenerateClients - If tool exited with error then report the issue to user and stop