Interactive Before → After Switcher
Top 5 lenses for VS Code
Before — rough draft in VS Code
ERR_QUOTA_EXCEEDED: max_rows > 10000 in import worker, aborting tx
After — Error Message lens
View all 5 VS Code before → after examples at onceExpand
- Error Message· Cryptic exception string → helpful user-facing Error Message
Before: ERR_QUOTA_EXCEEDED: max_rows > 10000 in import worker, aborting tx
After: Import limit reached: CSV uploads support up to 10,000 rows per file. Split your file into smaller batches and try again.
- Code Comment· Rough inline explanation → crisp Code Comment / docstring
Before: we wait 250ms before calling resize observer callback bc safari fires 20 events during sheet animation and flickers layout
After: // Debounce ResizeObserver callbacks by 250ms to prevent layout flicker from rapid Safari sheet-animation events.
- Commit Message· Terminal commit note via `zs -l commit-message`
Before: stopped duplicate stripe webhooks from crediting accounts twice by adding unique index on event_id and returning 200 on conflict
After: fix(billing): make Stripe webhook credit grants idempotent Add a unique index on `event_id` and return HTTP 200 on duplicate deliveries so retried webhooks never double-credit accounts.
- API Docs· Endpoint notes → clean API Docs Markdown
Before: POST /v1/tokens creates a scoped api key, pass name and scopes array (read or write), returns plaintext secret once, expires in 90 days unless ttl_days set
After: ### `POST /v1/tokens` Creates a scoped API key. **Body Parameters** - `name` *(string, required)* — Human-readable token label. - `scopes` *(string[], required)* — Allowed scopes (`read`, `write`). - `ttl_days` *(number, optional)* — Expiration in days (defaults to `90`). > **Note:** The plaintext secret is returned once at creation time.
- Debug Log· Turning a raw stack trace note into a Debug Log summary
Before: repro'd locally: worker crashes with OOM at 512mb when streaming >80mb xlsx because xlsx.read loads full buffer into memory before parsing
After: **Root Cause:** Worker hits the 512 MB memory ceiling on `.xlsx` files >80 MB because `xlsx.read()` buffers the entire file in memory prior to parsing. **Next Step:** Switch to streaming row parser or raise worker memory ceiling for large imports.
Step-by-step VS Code hotkey workflow
The exact 4-step in-place loop for VS Code — no sidebar, no prompt engineering, no leaving your cursor.
Select prose in a Markdown doc, comment, or error string
Highlight rough README text, a JSDoc comment, or a cryptic user-facing error message inside VS Code.
Press Alt+Shift+Z (⌥⇧Z on Mac) to transform in place
Alt+Shift+Z / ⌥⇧ZZero Shot replaces only your highlighted text — surrounding code syntax and indentation stay untouched.
Use `zs` CLI directly in VS Code's integrated terminal
zs -l commit-messagePipe git diffs, logs, or rough commit notes straight through `zs -l commit-message` or `zs -l pr-description` (even offline with `zs --local`).
Cycle with Alt+T or undo with Alt+U
Alt+T / Alt+USwitch between Code Comment, API Docs, Error Message, and Plain English, or restore with Alt+U.
Built for VS Code edge cases & data fidelity
100% terminal-safe inside VS Code's integrated terminal (never injects accidental Enter or `Ctrl+C` SIGINT; uses `Ctrl+Shift+C/V` on Linux/Windows terminals) and pairs cleanly with the zero-dependency `zs` CLI + MCP server (`zs mcp`) and local Ollama mode.
Ready in 60 seconds
Set up Zero Shot for VS Code — 50 free transforms
No credit card required. Pay-as-you-go credits start at $5 and never expire, or run offline with Ollama.
Test a VS Code lens on your own draft
Paste your own draft below. 50 free transforms, no card — the same rewrite runs in any app with Alt+Shift+Z (⌥⇧Z on Mac).
Try it yourself
Type or paste text, then use the hotkeys to transform
Frequently asked questions
Is Zero Shot safe inside VS Code's integrated terminal?
Yes. Zero Shot detects terminal windows and never sends accidental Enter or `Ctrl+C` signals, and you can also pipe text directly via the `zs` CLI.
Can I pair Zero Shot with Harper in VS Code?
Yes — Harper gives instant zero-AI typo underlines in comments and Markdown, while Zero Shot transforms tone, docs, error messages, and PRs on demand.
Does the `zs` CLI support local offline Ollama models?
Yes. Run `zs --local -l commit-message` to point directly at your local Ollama server (`http://127.0.0.1:11434/v1`) for $0 offline transforms.
