Back to Engineering Notes
Professional ExperienceEngineering Note

2. Vibe Coding (AI-Assisted Development Approach)

Vibe Coding is how I structure systems so that AI can consistently understand, follow, and generate code aligned with the project’s design and rules.

🎯 Vibe Coding (AI-Assisted Development Approach)

Vibe Coding is how I structure systems so that AI can consistently understand, follow, and generate code aligned with the project’s design and rules.

Instead of relying on repeated prompts, I define clear system context and constraints upfront.


🧠 Why I Use This Approach

In AI-assisted development, the main problem is inconsistency:

outputs vary between prompts
design and logic drift over time
context is lost across iterations

To solve this, I treat documentation as part of the system, not just reference material.


🧩 How I Structure It

I typically organize projects using structured files:

AGENTS.md

Defines how AI should behave:

system rules
constraints
boundaries

👉 Ensures AI follows consistent logic and architecture


SKILL.md

Defines capabilities and responsibilities:

what each component or agent can do
input/output expectations

👉 Prevents overlap and unclear responsibilities


DESIGN.md

Defines UI/UX rules:

design system
component patterns
visual consistency

👉 Ensures consistent frontend generation


MCP (Model Context Protocol)

Defines how context is passed to AI:

structured inputs
tool integration
controlled interactions

👉 Makes AI behavior predictable and reproducible


🔄 How It Works in Practice

I define system rules and structure once
AI reads these as context
Code generation follows consistent patterns
Reduces need for repeated instructions

⚖️ Tradeoffs

Benefits:

consistent AI output
better system structure
faster iteration

Costs:

requires upfront design
needs discipline to maintain

📌 Practical Approach

I design AI-assisted systems the same way I design software:

> define boundaries, responsibilities, and rules first

Then use AI to accelerate implementation within those constraints.


💬 Summary

Vibe Coding is not just using AI to write code.

It’s about:

> designing systems where both humans and AI can work with clear structure, predictable behavior, and consistent output