Bolt

The Fix-with-AI prompt PulseLight generates is calibrated for Bolt's StackBlitz-backed AI builder — restraint-engineered so the agent doesn't regenerate the WebContainer environment for one file change.

Bolt is a hosted AI builder running on StackBlitz WebContainers. PulseLight integrates via the paste-into-chat flow.

Paste-into-chat flow

01

Open the blocker.

From the Fix Queue, click the blocker and click Fix with Bolt. PulseLight copies the Bolt-tuned prompt to your clipboard.

02

Open your Bolt project.

Bolt’s chat panel sits beside your project files. The prompt is shaped so Bolt edits the specific file rather than rebuilding the WebContainer.

03

Paste, apply, re-scan.

Bolt previews the diff in the editor; click apply, push to your connected repo, PulseLight re-scans on next push.

Anatomy of a Bolt-tuned prompt

<!-- pulselight prompt v2 (bolt) -->

Goal:
<plain-English description>

Affected files:
- <path>:<line>

Working rules (Bolt-specific):
- Edit the affected file directly. Don't trigger a project
  rebuild for a one-line fix.
- Use the project's existing package.json scripts; don't
  add new ones.
- Keep imports as they are unless the fix requires a new
  one (and the new import resolves to a package already in
  package.json).

Do NOT:
- Regenerate the project boilerplate.
- Add or change packages in package.json beyond the fix.
- Rewrite tsconfig, vite.config, or other build files.

Validation steps:
- Reload the Bolt preview; verify the affected behaviour.
- Push to GitHub; PulseLight re-scans.

Output a unified diff for the affected file. Summarise the
change in 3 bullets.

Why this prompt shape works for Bolt

Bolt’s WebContainer-based runtime gives it strong end-to-end project awareness — great for greenfield builds, occasionally over-eager when you want a surgical fix. Without the “Don’t trigger a project rebuild” rule, Bolt sometimes reinstalls dependencies, restarts the dev server, or regenerates files for build-graph consistency. The PulseLight prompt explicitly opts out of that.

If the fix doesn’t apply cleanly

Same fallback as the other paste-flow tools: tell Bolt the constraint again in chat (“Just edit the affected file. Don’t rebuild the project.”) and re-paste the goal. Most fixes complete in a single turn; rare ones need two.

See also: Fix-with-AI overview.