type
Post
status
Published
date
May 18, 2026
slug
summary
tags
AI
category
Code
icon
password
What “vibing coding” can mean
“Vibing coding” usually means leaning on an LLM to keep momentum: rapid iteration, low friction, and a focus on flow more than formal upfront design.
Common vibing styles (and how they differ)
1) Prompt-to-app (Chat-first)
How it works
- Describe the feature → LLM generates code → you paste/run → repeat.
Best for
- Prototypes, throwaway demos, quick UI scaffolds.
Strengths
- Fastest time-to-first-working-version
- Great for exploration and unfamiliar APIs
Risks
- Architecture drifts quickly
- Subtle bugs + inconsistent patterns
- Harder to test and refactor later
Good practice
- Keep prompts small and iterative
- Ask for tests before adding new features
- Force conventions: lint, format, folder structure
2) “Driver–Navigator” (You code, LLM reviews)
How it works
- You write the code; LLM acts like a reviewer: suggests improvements, edge cases, refactors.
Best for
- Production code where you still want speed but need control.
Strengths
- You keep architectural ownership
- Higher code quality than chat-first generation
Risks
- Slower than prompt-to-app
- If you under-specify intent, feedback can be generic
Good practice
- Ask for: “What did I miss?” “Worst-case inputs?” “Concurrency/latency/security issues?”
3) Spec-first vibing (LLM helps plan, then you implement)
How it works
- Co-write a short spec (requirements, constraints, acceptance tests) → implement.
Best for
- Anything that will live longer than a week.
Strengths
- Prevents scope creep
- Easier to test, easier to hand off
Risks
- Feels less “vibey” at first
- Requires discipline to keep spec lightweight
Good practice
- Keep the spec to 1 page:
- “Must/Should/Won’t”
- API contract
- Data model
- 5–10 acceptance checks
4) Test-first vibing (LLM writes tests, you fill implementation)
How it works
- Describe behavior → LLM generates unit/integration tests → you implement until green.
Best for
- Logic-heavy code, bug fixes, regressions.
Strengths
- Higher confidence
- Great for refactoring without fear
Risks
- LLM can write unrealistic tests if your environment isn’t specified
- Setup/fixtures can become overhead
Good practice
- Provide real constraints (runtime, libraries, DB, HTTP clients)
- Prefer a few high-value integration tests over many brittle unit tests
5) Repo-aware vibing (LLM inside IDE with context)
How it works
- Use an IDE assistant that reads your project, symbols, and files; you work in-place.
Best for
- Medium/large codebases.
Strengths
- Better consistency with existing patterns
- Faster navigation (find relevant files, suggest edits)
Risks
- Context still incomplete (generated changes can be wrong)
- Over-trust can introduce silent breakage
Good practice
- Always run tests/linters
- Ask it to point to the exact files/functions it relied on
- Use small diffs and review carefully
6) “Ops vibing” (LLM for DevOps + debugging)
How it works
- Feed logs, metrics, error traces → LLM proposes hypotheses and experiments.
Best for
- Incident response, performance tuning, environment issues.
Strengths
- Faster triage and idea generation
- Helps translate between layers (app ↔ infra)
Risks
- Can hallucinate root causes
- Needs accurate, complete signals
Good practice
- Ask for ranked hypotheses + evidence needed for each
- Log the experiments you try and outcomes
Comparison cheat sheet
Style | Speed | Quality ceiling | Best use | Watch out for |
Prompt-to-app | Very high | Medium | Prototype | Messy architecture |
Driver–Navigator | High | High | Production features | Reviewer becomes generic |
Spec-first | Medium | Very high | Long-lived systems | Over-planning |
Test-first | Medium | Very high | Logic + refactors | Brittle tests |
Repo-aware IDE | High | High | Large codebases | Context gaps |
Ops vibing | High | Medium–High | Debugging | Hallucinated causes |
Picking a style (simple rules)
- If it’s a weekend project: Prompt-to-app.
- If it must be maintainable: Driver–Navigator or Spec-first.
- If correctness matters: Test-first.
- If the codebase is big: Repo-aware IDE + small diffs.
- If you’re firefighting: Ops vibing with hypothesis-driven checks.
- Author:Hang Ke
- URL:https://hang.ke/article/196e0d46-4b9a-80f8-a278-dedd65d9d9c3
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
Relate Posts
