vibe-coding
Vibe coding methodology
Practical strategies for building software effectively with AI coding assistants.
Planning process
Start by working with the AI to write a detailed implementation plan in a markdown file.
Scope management: Review and refine the plan—delete unnecessary items, mark complex features as "won't do," and keep a separate section for ideas to implement later. This prevents scope creep and maintains focus.
Incremental implementation: Work section by section rather than building everything at once. Have the AI mark sections complete after successful implementation, and commit each working section to git before moving to the next.
Track progress visibly: Use todo lists, markdown checklists, or inline status markers so both you and the AI can see what's done and what remains. This prevents re-implementing completed work and keeps sessions focused.
Version control strategies
Git is your safety net—don't rely solely on the AI tool's revert functionality.
Clean slate principle: Begin each new feature with a clean git state. When stuck, use git reset --hard HEAD if the AI goes down an unproductive path. Multiple failed attempts create layers of bad code that compound problems.