Key settings
- •
.workbench/config.json: github.owner, github.repository, github.host, git.defaultBaseBranch. - •Ensure GitHub auth is configured (token or
gh auth login).
Commands
Create a PR from a work item:
bash
workbench.ps1 github pr create TASK-0001 --fill
Create a draft PR targeting a base branch:
bash
workbench.ps1 github pr create TASK-0001 --draft --base main --fill
Output
- •PR URL printed to stdout or returned in JSON.
- •Work item front matter updated with the PR link.
Guardrails
- •Prefer
workbench.ps1 github pr create;workbench.ps1 pr createis deprecated. - •Use
--fillto include the work item summary and acceptance criteria in the PR body.