Skip to main content
Back to Blog
GuideBy Alp YalayOct 6, 202611 min read

Vibe coding for production apps

Natural-language coding can help after launch, but production work fails when an agent treats the whole codebase as a blank canvas. This guide is the review loop I use to keep AI-assisted changes small, testable, and recoverable.

LinkedIn Bluesky

Quick answer

Vibe coding for production apps means directing coding agents with natural language while enforcing scope, project-file context, diff review, real interface checks, and a written handoff before the next change.

Why production is a different problem

The beginner path in the five-step workflow is designed for a greenfield MVP: research, PRD, technical design, agent setup, then build. Production apps already have users, deploy pipelines, data, and unfinished decisions buried in code. Asking an agent to “improve the app” collapses those constraints into one vague prompt.

Production vibe coding is closer to disciplined pair programming than to idea-to-MVP generation. The agent drafts. You decide scope, risk, and release. The useful artifact is not a longer prompt. It is a sequence of review gates that survive a new chat, a new model, or a teammate taking over tomorrow.

This article does not claim that AI coding agents make production work faster for every team. Speed depends on review depth, test quality, deploy safety, and how well the repository already encodes decisions. Treat any time estimate as a plan, not a promise.

When an agent belongs in the production path

Agents help when the change has a visible pass condition and the relevant files are readable. They struggle when policy is missing, when correctness depends on undocumented side effects, or when a mistake would be expensive to reverse.

Good production candidates

Fix a failing test, add a guarded UI state, refine an API error path, update docs to match behavior, or implement a change already described in an approved PRD slice.

Keep humans in the loop

Auth and permission changes, payment flows, data migrations, irreversible deletes, secret handling, and anything without a rollback plan.

If you are still defining the product, stay on the MVP path described in the handoff walkthrough. Production gates assume the product already has a living source of truth and a way to verify changes.

01

Scope the change, not the product

Production work starts with a bounded request: one user-visible behavior, one bug class, or one operational risk. Ask the agent for a plan that names the files it expects to touch and the checks it will run. Reject plans that rewrite unrelated modules “while we are here.”

Output
Change brief + approved file list
Review check
A reviewer can say what is in scope, what is out of scope, and which command proves the change.
02

Restore context from project files

Do not depend on an old chat transcript. Point the agent at the current PRD slice, technical design, AGENTS.md, and any MEMORY or handoff notes for the active phase. If those files disagree, stop and reconcile them before code changes.

Output
Session brief that cites living docs
Review check
A fresh agent session can explain the current phase without inventing product policy.
03

Review the diff as a release candidate

Treat every agent patch like a pull request from a fast junior teammate. Read the diff for wrong assumptions, silent API changes, new secrets, and tests that assert the wrong behavior. Prefer small commits that land behind a feature flag when the risk is high.

Output
Reviewed diff + explicit accept/reject notes
Review check
Every changed behavior has an owner decision, not only a model justification.
04

Verify in the real interface

Run the project’s normal checks, then exercise the feature the way a user would. For web apps that means a browser pass. For APIs that means the documented request and failure paths. Record which commands passed, which failed, and what remains open.

Output
Test evidence + manual check notes
Review check
Automated checks and a human path through the product both support the same claim.
05

Leave a recoverable handoff

Before closing the session, write what changed, what was deferred, and the next small task. Update agent docs only when a standing rule changed. The next person—or the next agent—should not need the chat history to continue safely.

Output
Handoff note + updated phase status
Review check
A new session can resume from files alone within a few minutes of reading.

Cursor, Claude Code, and other agent workflows

Tool choice matters less than whether the tool can read project instructions, propose a plan, edit a bounded set of files, and leave evidence you can inspect. Cursor agent workflows, Claude Code sessions, and similar coding agents all benefit from the same rule: standing decisions live in the repository, temporary chat lives for the current task only.

Put durable rules in AGENTS.md or equivalent agent docs. Include real commands, coding conventions, safety boundaries, and pointers to the PRD and technical design. Keep tool-specific wrappers thin so switching models does not require rewriting product policy. The public agent setup instructions show one way to structure that handoff.

If an agent cannot find the requirements, the run command, or the current phase from files alone, the production workflow is incomplete—even if the latest prompt sounded clear.

Anti-patterns that look productive

  1. Whole-app rewrites: a single prompt that asks to redesign architecture, UI, and tests at once hides risk until review is too late.
  2. Chat as source of truth: decisions trapped in a long transcript disappear when the session ends or the model changes.
  3. Green tests for the wrong behavior: an agent can invent assertions that pass while the user-facing bug remains.
  4. Silent dependency or secret changes: production incidents often start with a “small cleanup” that altered auth, env, or package versions without a human call.

The maintainer definition of vibe coding still applies here: natural language directs the work, but a human owns scope, review, testing, security, and release.

A one-page production checklist

Before you merge an agent-assisted change into a production branch, confirm each item in writing:

  • The change brief names one outcome and explicit non-goals.
  • The agent cited current project files instead of inventing policy.
  • The diff is small enough that a human read every changed path.
  • Automated checks and a real interface path both passed.
  • Rollback or feature-flag strategy is known before deploy.
  • The handoff note states what remains and who should do it next.

Local projects and exports stay free. Compare pricing when you want included AI and cloud sync on the same documents.

If you want the same discipline earlier in a project’s life, start from the public workflow repository and keep the documents next to the code they govern.

Sources and verification

These links support the public facts and examples used in this article. Dates show when each source was checked.

Keep production changes reviewable

Use the workflow to turn a production request into scoped documents before an agent edits the live path.

Frequently Asked Questions

Can vibe coding safely change a production app?

It can help when changes are narrowly scoped, grounded in project files, reviewed as diffs, verified in the real interface, and recorded in a handoff. It is not a substitute for release ownership.

Do I need Cursor specifically for this workflow?

No. Cursor agent workflows, Claude Code, and similar tools all work if they can read project instructions, propose a plan, edit a bounded file set, and leave evidence you can inspect.

How is this different from the beginner five-step workflow?

The beginner path creates an MVP handoff from research through build. Production gates assume the app already exists and focus on safe, reviewable changes instead of greenfield generation.

Analytics Preferences

Optional analytics help us improve the tool. API keys stay local in your browser. Privacy