type: rule
status: active
timestamp: 2026-07-02
tags: [agent, philosophy, prompting, workflow, practical-vibe-coding]

Practical vibe coding — the middle way

Neither over-plan nor yolo. Iterate feature-by-feature with an anchoring AGENTS.md, focused ICC prompts, behavior-constraints, and verify each before starting next. The umbrella framework.

Practical vibe coding

The middle way

Two failure modes at the extremes:

Practical vibe coding sits in the middle. Keep the speed of AI, add just enough structure so:

  1. AI knows what it’s working on (AGENTS.md at repo root, always read first).
  2. You don’t lose track (feature-by-feature, verify each).
  3. Failures are localized (one change per prompt).

The four anchors

1. AGENTS.md at repo root (living doc)

Written once, updated as recurring issues surface. Every prompt starts with “read AGENTS.md first and follow it strictly.”

See agents-md-living-doc for the update discipline.

2. 4-part prompt structure

Every non-trivial prompt has these four parts, in this order:

  1. Read AGENTS.md — “Read the AGENTS.md first and follow it strictly.”
  2. One task — exactly one feature, one screen, one integration. Not three merged.
  3. Constraints that protect what works — behavior constraints, not code prescriptions. See icc-prompt-formula §“Constraints describe behavior.”
  4. Design references — screenshots, images, docs pasted inline. AI reads layouts better than descriptions of layouts.

3. Feature isolation

One prompt = one feature. Never merge tasks like “set up NativeWind AND build onboarding AND add auth.” If something breaks across 3 tasks, you can’t tell which caused it.

4. Verify-then-move-on

After each feature: test on real device/simulator, review the diff, then move on. Don’t stack unfinished features.

See session-hygiene for when to reset chat between features.

When to escalate to over-planning

Reach for full architecture docs ONLY when:

Everything else = practical vibe coding.

When to escalate to pure yolo

Never. Even a 5-line change gets an AGENTS.md read.

Anti-patterns

Composition with existing rules

ElementRule
Prompt structureicc-prompt-formula
Grounding before taskground-first-ask-second
Skill capture from iterationsiterate-before-skill
Skill compositionsmall-composable-skills
AGENTS.md updatesagents-md-living-doc
Session breakssession-hygiene
Context gapscontext-interview
Assumptions firstkarpathy-guidelines

Cross-refs


Edit on GitHub · Back to index