Sitemap

AI-Generated Code Was a mess… Until I Figured This Out (10 Tips)

7 min readJul 14, 2025
Press enter or click to view image in full size

Vibe coding is writing software with the help of AI. AI comes in many shapes and forms like Claude Code, Windsurf, Copilot, or Cursor and different models like Claude, Gemini, or GPT. To get good results in vibe coding you need to know how to handle AI. It’s a skill on it’s own.

Hi! My name is Tom Smykowski and I’m a software engineer for quite some time, and use AI as a tool to build software faster and better. Here are 10 tricks I find useful when dealing with AI that can help you as well:

1. Optimise Your Prompt With AI

Let’s say I want Windsurf to add users and tickets list. It may be tempting to write short, not-detailed request for more complex feature like:

Add a new page that should show list of all users.
When I click a user I should see his requests with the
ids of them, when clicking on a request I can close it
or reply to it. I see also whole conversation so far.
To handle it use angular components separation, with
service calling api and api calling supabase sdk

However, it may be ambiguous to both humans and AI. You can either expand it on your own, or actually use AI to improve the prompt:

🧩 Task: Build User Request Management Page (Angular + Supabase)
🖥 Page Overview…

--

--

Tom Smykowski
Tom Smykowski

Written by Tom Smykowski

I help startups ship stunning, scalable MVPs—fast. With deep frontend expertise and AI-powered development workflows, I build and audit. Programmer

Responses (4)