All articles

VIBEFIX GUIDES

AI Coding Guides

Practical knowledge for tools, deployment, workflows, and building projects.

Real photo of a programmer examining code on a monitor
Guide
Stop Running JSON.parse Naked: Validating and Repairing AI Structured Output

A prompt is a suggestion, not a constraint. Four defensive layers for reliable AI structured output: native structured outputs (OpenAI vs Anthropic, verified against docs), zod validation with the strict/passthrough tradeoff, repair retries that feed raw errors back, and degraded fallbacks chosen by cost.

Backend EngineeringProject BuildingIndie Development
Top-down view: laptop running code, open handwritten notebooks and a coffee beside it
Guide
Before AI Takes Over Your Project, Write Its Manual: A Practical AGENTS.md Guide

Every new agent session starts with amnesia: it doesn't know your test commands, which directories are off-limits, or the pitfalls you hit last week. AGENTS.md is the project manual written for AI — a good one makes the agent feel like a veteran teammate on day one. This guide covers the 5 must-have sections, 3 anti-patterns, and a copy-paste-ready template.

Developer WorkflowTool TipsAI Coding
JavaScript fetch POST request code on an API documentation interface
Guide
Let the Outside World Knock: Webhook Integration in Practice for Vibe Projects

A user just paid — how does your system know? Code was pushed to GitHub — how does deployment trigger itself? The answer is webhooks: APIs called in reverse. This guide breaks webhook integration into five pieces — receiver design, signature verification, idempotency, retries and dead letters, local debugging — walks you through complete Stripe and GitHub flows, and flags the three traps AI loves to fall into.

AutomationAPI IntegrationBackend Engineering
Desktop delivery pipeline diagram: source, build, package, sign, distribute, and auto-update stages
Guide
When the Web Isn't Enough: Packaging Vibe Projects as Desktop Apps (Electron/Tauri)

From npm run dev to a double-clickable installer: a solo-team field guide to desktop packaging for vibe projects. The 5 scenarios where the web hits its limits, an Electron vs Tauri decision tree, minimal packaging with electron-builder and the Tauri CLI, auto-update and 2026 signing costs, 6 moves to slim a 200MB installer to 30MB, a GitHub Actions three-platform matrix, and direct download vs. store distribution.

Developer WorkflowDeploymentProject Building
Illustration of two robots working at computers in a late-night office
Guide
Let the Agent Run for Hours: 5 Design Principles for Async Collaboration Workflows

AI coding agents can now work autonomously for hours — the bottleneck is no longer agent speed but your trust and workflow design. Still staring at the screen waiting? This guide gives 5 principles: split tasks to be verifiable, checkpoints over screen-watching, notifications over polling, failure budgets over perfectionism, retrospectives over reruns. Treat the agent as an async colleague, not a pairing buddy.

Developer WorkflowTool TipsAI Coding

No more guides