Design gh commands in the GitHub Copilot desktop app. Define scenario contracts, preview interactive prompts and non-interactive streams, review Primer diffs live, and let an agent try a command before you implement it.
Install in Copilot · Editor guide
- Customize → + Add → Manage marketplaces…: add
cli/design-studioas the Marketplace source. - + Add → Plugin…: enter
cli-design-studio@design-studioin Name and click Install. - In a new session, ask Copilot to open CLI Design Studio.
Studio opens with a GitHub issues starter covering three gh issue workflows: creating an issue with flags, creating an issue interactively across a four-frame timeline, and listing open issues.
Open the Visual tab, pick Create an issue interactively, select Choose how to submit, and edit an option in Properties. Press Play to step through the prompt sequence, or switch between All, stdout, and stderr in Interactive or Non-interactive mode.
Start blank or ask Copilot to author a Primer-grounded design from a feature brief, GitHub issue, or Gherkin acceptance criteria. Preset elements in the Element toolbox render with gh Primer colors out of the box and emit clean tab-separated, exact-timestamp output in non-interactive mode.
Author scenario expectations and preconditions
The dedicated Scenarios tab separates scenario contracts from screen mockups. Write Gherkin Acceptance criteria, define the Blind agent task and Expected side effects separately, and declare Preconditions (local files on disk, mocked records, git branches, and repository permissions) in one place.
Catch Primer issues and script breakages live
Review runs continuously as you edit and lights an unread red dot on the Review tab whenever unacknowledged issues appear. Each Primer finding shows what was graded, an Actual vs Expected (Primer) diff, and an Acknowledge flow for intentional deviations or grading false positives. Compatibility with existing scripts compares non-interactive output against a saved baseline (here, 142 changed from a JSON number to "142").
Test whether an agent finds the command
Evals runs a proposed command or implementation against each scenario and shows Preconditions alongside expectations in run details. Use the top-right History and Settings icons to inspect past runs or access agent-managed fixtures and repository scenarios. In this scripted local example, gh api created the requested handoff: Task passed, while Route failed because the proposed gh handoff create was never used.
Share an SVG or PNG for visual review. Export a handoff ZIP for the full editable design, including hidden elements, preconditions, and fixtures.
Canvas-only install · Eval runbook · Development · MIT license



