Skip to the content.

Vibe Coding Guidelines

LLMs may be used to generate code, but correctness must be established by you.

WashU provides AI resources that can help you. Vibe coding is new, and best and emerging practices are still being developed. EEPS has condensed these into five rules. These rules apply to notebooks, scripts, cloud workflows, and command-line work.

The five rules of vibe coding

1) Think first. Prompt second.

Before generating code, define the problem:

Unclear prompts lead to confident but wrong code.

2) Go small.

Work in small, testable steps:

Always start with a reduced scope, small dataset, or simplified case before scaling up.

3) Trust nothing without checking.

You must verify correctness. At minimum:

Running successfully is not evidence of correctness.

4) You own the consequences.

You are responsible for the behavior and correctness of the code itself, regardless of who or what generated it.

This includes wrong answers, hidden assumptions, and silent failures.
Code that runs but produces incorrect results is still your responsibility.

You are also responsible for secondary consequences (cost, data loss, security), but correctness comes first.

5) No explanation = no credit.

If you submit code, you must be able to explain:

If you cannot explain it, you do not understand it.

A practical workflow that satisfies the rules

  1. Write the spec (short).
  2. Ask for a plan/pseudocode that matches the spec.
  3. Implement one step at a time.
  4. After each step, add one verification check.
  5. Only scale up after the small-case run is correct.

What to include in submissions

Common failure modes to watch for

If you are unsure

Stop and reduce scope:

Being cautious and correct beats being fast and wrong.