chore(claude): add slash commands for OAS sync and SDK additions#76
Open
Gabrielpanga wants to merge 1 commit into
Open
chore(claude): add slash commands for OAS sync and SDK additions#76Gabrielpanga wants to merge 1 commit into
Gabrielpanga wants to merge 1 commit into
Conversation
Ports the pattern already established in pluggy-node (.claude/commands/) adapted to this SDK's Java/Maven/Retrofit/Lombok stack: - sync-api: fetch api.pluggy.ai/oas3.json, diff against PluggyApiService + DTOs, produce gap report. Run periodically to catch missing fields and casing mismatches before users do. - add-model-fields: Java/Lombok templates for adding fields, with the Gson IDENTITY casing gotcha called out as the highest-impact gap. - add-endpoint: Retrofit endpoint templates with DTO naming conventions. Also adds .claude/settings.local.json to .gitignore (local-only file, mirrors pluggy-node's convention) and points to the new commands from CLAUDE.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports the
.claude/commands/pattern already in use onpluggy-node, adapted to this SDK's Java/Maven/Retrofit/Lombok stack. Three commands:sync-api— fetchesapi.pluggy.ai/oas3.json, diffs it againstPluggyApiServiceand the DTOs underclient/request/+client/response/, and produces a gap report grouped by missing endpoints, missing fields, casing mismatches, and type mismatches.add-model-fields— Java/Lombok templates for adding fields to existing DTOs (@Data @Builderfor response,@Value @AllArgsConstructor @Builderfor request), with the GsonIDENTITYcasing gotcha called out as the highest-impact gap class.add-endpoint— Retrofit endpoint templates (@GET/@POST/@PATCH/@DELETE,@Path/@Query/@QueryMap/@Body) with DTO naming conventions and integration test scaffold.Catches the same class of gap that PR #71 (missing investment fields) and commit
d1befb0(payeeMCCcasing) both surface as bug-driven PRs.Other changes
.gitignore— ignore.claude/settings.local.json(local-only Claude Code config; mirrors pluggy-node)CLAUDE.md— adds a "Claude commands" section pointing to the three commandsTest plan
This PR is documentation/tooling only — no code or build changes. To validate the workflow end-to-end after merge:
/sync-api/add-model-fieldsand/add-endpointon a real gap in a follow-up PRFollow-up
A separate PR will run
/sync-apiand propose fixes for the gaps it finds.