sdk/init
Source
Usage
bash
npm exec saf-workflow kickoff sdk/init <name>To run this workflow automatically, tell the agent to:
- Navigate to the target package
- Run this command
- Follow the instructions until done
Checklist
When run, the workflow will:
- Upsert 5 templates.
- Add @saflib/saflib-dossier-sdk dependency to parent sdk
- Change working directory to dossier/sdk
- Run
npm install - Run
npm run typecheck
Help Docs
bash
Usage: npm exec saf-workflow kickoff sdk/init <name>
Scaffold an offshoot SDK package and register it on the parent sdk
Arguments:
name Kebab-case offshoot name (e.g. 'dossier'). Creates {product}/{name}/sdk and registers it on the parent sdk package.
Example: "dossier"