Skip to content

Onboarding: connect the coding agent second, and it adds VisualCI to CI from a prompt; Add a GitHub organization - #163

Merged
ndbroadbent merged 7 commits into
mainfrom
add-github-org
Dec 4, 2026
Merged

ndbroadbent merged 7 commits into
mainfrom
add-github-org

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Onboarding, agent-first (Nathan, 4 Dec 2026): setup goes from installing the GitHub App straight to connecting the coding agent, and the agent adds VisualCI to CI. Plus two gaps from a real walk-through of installing the App on a new GitHub organization.

The checklist order: install_github_app → connect_agent → add_to_ci → review_changes (API setup.steps, the router's ?setup=, the UI).

  • Connect your coding agent (step 2): one command per agent, as before.
  • Add VisualCI to CI (step 3): a copyable prompt, "Paste this into your coding agent", filled in for the project (a project switcher when there are several). It tells the agent to read the setup skill (get_skill), find what the tests produce, create a CI token (create_project_token) and save it as VISUALCI_TOKEN (gh secret set), add visualci.yml and the CI step, open a PR and review its build. I'll set it up myself shows the manual token and CI snippets in place. The step still ticks on the first CI build.
  • The repository picker's next button follows setup.next ("Next: connect your coding agent").
  • Docs: the quick start is agent-first (connect, then the agent adds it to CI; "Doing it yourself" keeps the CLI steps). Skills regenerated, plugin 0.1.54. design.md says why the agent comes before CI.

Add a GitHub organization

  • Organizations page: Add a GitHub organization is the primary button, to /github/install; New organization (by hand) is a ghost button beside it.
  • Account menu: Add a GitHub organization under the list of organizations.
  • Step 1: installations set up in other organizations move below the install button, under Your other GitHub installations.

The "Showing the first 1,000 of N" line waits for #162's listed/total.

Checks: tsc, 52 vitest tests, app/'s setup and installations tests. Journey 8 now clicks through to step 2, opens step 3, checks the prompt names the project, and opens "I'll set it up myself". The prompt was walked end to end in Claude Code with only VisualCI's MCP server, on a scratch repository (results in a comment).

@visualci-com

visualci-com Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #342 · 15 changed, 4 added, 346 unchanged · approved by visualci features agent for Nathan Broadbent

visualci subdomains (#163): the Organizations page's "Add a GitHub organization", the new app/org/personal shots, the agent-first quick start, and the MCP answers' new step order. Same as build 314, which the coordinator reviewed.

This PR vs base: nothing since #306, across 2 builds

Snapshot Before After
screenshots/app/orgs/1440-dark (changed)
screenshots/app/orgs/1440-dark-2x (changed)
screenshots/app/orgs/1440-light (changed)
screenshots/app/orgs/1440-light-2x (changed)
screenshots/app/orgs/390-dark (changed)
screenshots/app/orgs/390-dark-2x (changed)
screenshots/app/orgs/390-light (changed)
screenshots/app/orgs/390-light-2x (changed)
and 11 more in the build

docspring/visualci · journeys · build #339 · 5 changed, 2 added, 23 unchanged · approved by visualci features agent for Nathan Broadbent

visualci subdomains (#163): agent-first setup. Step 2 opens after the pick; step 3's prompt (with the MCP-connect line) and "I'll set it up myself"; "How did you hear" waits until setup is done; the new menu item; the swapped order. The coordinator reviewed the same flow in builds 316/314.

This PR vs base: 23 changed since #288, across 5 builds

Snapshot Before After
journeys/open-app-stays-in-the-app/03-app (changed)
journeys/setup-picks-from-300-repositories/06-added (changed)
journeys/setup-picks-from-300-repositories/07-next-step (changed)
journeys/sign-in-from-the-site/02-dashboard (changed)
journeys/sign-out-lands-on-the-site/02-account-menu (changed)
journeys/setup-picks-from-300-repositories/08-add-to-ci (added) –
journeys/setup-picks-from-300-repositories/09-add-to-ci-myself (added) –

Updated as builds change. Agents can review with VisualCI's MCP tools.

@ndbroadbent ndbroadbent changed the title Onboarding: "Add a GitHub organization" on the Organizations page and in the menu; other installations below step 1 Onboarding: connect the coding agent second, and it adds VisualCI to CI from a prompt; Add a GitHub organization Dec 4, 2026
@ndbroadbent

Copy link
Copy Markdown
Member Author

Walk of step 3's prompt, end to end (4 Dec 2026)

Setup: a new private repository, visualci-com/setup-walk (a small Node project with Vitest snapshot tests and a GitHub Actions workflow). It was linked as the project visualci-com/setup-walk, as the picker would. Then claude -p ran in a fresh clone with only VisualCI's MCP server (--strict-mcp-config, an agent token, no plugin or skills installed), given the prompt exactly as the step renders it for that project.

The result: done unattended in 26 turns, about 3 minutes and $0.87.

  • It read get_skill for visualci, visualci-github-actions, visualci-vitest and visualci-config, then found the .snap and the toMatchFileSnapshot HTML file.
  • It created a token with create_project_token and set VISUALCI_TOKEN with gh secret set (not in any file or commit).
  • It wrote visualci.yml (config check passes) and added the VisualCI action after the tests (-u, full-history checkout).
  • It opened visualci-com/setup-walk#1. CI passed, and it reviewed build QA: VisualCI's sticky PR comment (do not merge) #2 with get_build/get_snapshot: 2 added, as expected. It didn't approve, and reported back.

One gap, which it worked around and sent as feedback (support_send): --from auto reads only .snap/.ambr, so Vitest's toMatchFileSnapshot files need their own uploads entry, and the Vitest guide doesn't say so. Build #1 had 1 snapshot instead of 2; it noticed, fixed visualci.yml and pushed again. That's a docs/CLI follow-up, separate from this PR.

… in the account menu; other accounts' installations listed quietly below the install step
…es the agent a prompt for the project, with "I'll set it up myself" for the manual way
…How did you hear about VisualCI?" waits until setup is finished or hidden; prompt unit tests
@ndbroadbent
ndbroadbent merged commit 9eb62ed into main Dec 4, 2026
15 checks passed
@ndbroadbent
ndbroadbent deleted the add-github-org branch December 4, 2026 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant