Skip to content

Feat: sdk generator#3

Merged
raynaudoe merged 5 commits intomainfrom
feat/sdk_generator
Dec 1, 2025
Merged

Feat: sdk generator#3
raynaudoe merged 5 commits intomainfrom
feat/sdk_generator

Conversation

@raynaudoe
Copy link
Copy Markdown
Collaborator

⚠️ BETA ⚠️

This PR introduces a Claude Code / Cursor "slash command" /canton-sdk-generator:generate-api that does the following:
1 - Locates and builds the DAML projects in root dir
2 - Runs DAML's JS codegen tool
3 - Runs the scripts generate-canton-api and generate-canton-tests
4 - Enhance the output of the previous step by running a custom prompt

The final output consist on a folder <your-daml-project-dir>/sdk with the generated sdk code and tests in the __test__ dir.

TODOs:

  • Improve scripts and prompts to better pack the sdk code
  • Test generator should be able to generate integration tests against a running ledger
  • Steps [1,2,3] can be packed into one script -> less tokens usage
  • Try the workflow: simple DAML project -> slash command -> sdk -> ask AI to build a UI by using only the sdk code

@raynaudoe raynaudoe merged commit 5adae47 into main Dec 1, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant