# Workbench Github

> GitHub workflows for Workbench CLI. Use when creating pull requests from work items or wiring GitHub-specific actions.

- Skill: `majiayu000/workbench-github-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/workbench-github-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/workbench-github-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/majiayu000/workbench-github-2

---


## 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 github pr create TASK-0001 --fill
```

Create a draft PR targeting a base branch:
```bash
workbench 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 github pr create`; `workbench pr create` is deprecated.
- Use `--fill` to include the work item summary and acceptance criteria in the PR body.

