All articlesTutorial

From prompt to published vibe: a full walkthrough

A start-to-finish tour: initialize a repo with vb, build a feature with an agent, capture the vibe, and publish it to VibeHub so anyone can read and fork it.

The VibeHub Team

The VibeHub Team

VibeHub · March 28, 2026 · 9 min read

From prompt to published vibe: a full walkthrough

This walkthrough takes a fresh repository all the way to a published, forkable vibe. You will need the vb CLI from the alpha — everything else is standard git.

1. Wrap your repo

vb init sets up the parallel vibe namespace next to your git history. Nothing about your existing repo changes.

vb init
  ✓ vibe namespace created
  ✓ git history untouched (12 commits)

2. Write the spec first

Describe what you want before you prompt for it. The spec is what reviewers read — and, once vb replay ships, what it will check against.

# spec.md
Add a /healthz endpoint that returns 200 and
the current git SHA as JSON. No auth.

3. Build with an agent

Drive your agent as usual. vb watches the session in the background and records the transcript, tool calls, and config — you do not change how you work.

4. Capture the vibe

vb commit makes a normal git commit and attaches the agent conversation that produced it.

vb commit -m "add /healthz endpoint"
  ✓ captured 9b2e1a (14 msg from claude-code)

5. Publish and share

vb push pushes your commits — with their captured conversations — to your project on VibeHub and mirrors them to GitHub. Publish the work as a public vibe from the dashboard and it gets its own page at vibehub.co/u/your-name/your-vibe, where anyone can read the spec behind it and fork it.

vb push
  ✓ mirrored 9b2e1a to github.com/you/your-repo
“You did not just ship code. You shipped the recipe for it.”