Skip to content

About

Design, review, and evaluate GitHub CLI interactions in a Copilot canvas.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

CLI Design Studio

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

CLI Design Studio Visual editor previewing gh issue list with Primer-colored issue numbers, labels, Elements panel, and stream/mode controls.

Install in the Copilot app

  1. Customize → + Add → Manage marketplaces…: add cli/design-studio as the Marketplace source.
  2. + Add → Plugin…: enter cli-design-studio@design-studio in Name and click Install.
  3. In a new session, ask Copilot to open CLI Design Studio.

Try it

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.

The Visual tab showing an interactive gh issue create storyboard with a Primer-styled radio prompt, fixed icon-only tool rail, Elements panel, and four frames in the timeline below.

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.

The dedicated Scenarios workbench showing Gherkin acceptance criteria, blind agent task, expected side effects, Preconditions with files on disk and mocked records, and a timeline frame strip.

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").

The Review tab with an unread red indicator, Primer Actual vs Expected diff cards with Acknowledge actions, and a script compatibility diff catching a JSON number turning into a string.

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.

Run details showing Task passed and Route failed, with the API write and readback in the command timeline.

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

About

Design, review, and evaluate GitHub CLI interactions in a Copilot canvas.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages