add_workflows
Generate CI and release workflow files for testing, OIDC publishing to npm/PyPI/crates, and GitHub releases from CHANGELOG; existing files remain unless overwrite is enabled.
Instructions
Write ci.yml and release.yml (on v* tags: test, publish via OIDC unless the version exists, GitHub release from CHANGELOG). Keeps existing files unless overwrite.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dir": "<dir>"
},
"name": "add_workflows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | ||
| private | No | Private repo: Ubuntu-only CI to save Actions minutes | |
| release | No | registry | |
| registry | No | Omit for repo-only | |
| overwrite | No |