Fun Vibe-Coding Trick
When you vibe code an app, you should be testing it and stress testing it as you build. Here's a trick to let AI click buttons, even while building chrome extension apps.
Open up the extension management tab as you see here so the AI can reload modified files into the chrome extension, then test everything that it has built.
This is my app I built earlier this year that made $4k in the first 7 days. It's a Facebook CRM and AI app.
For purposes of this community, I decided to work on the next update so I can sell it again.
So, what I am doing here is I am using Claude Code + Playwright. You can tell Claude code you want to setup a playwright skill, and it will walk you through those steps. That lets it control CHROMIUM. Which means it can launch your app into the browser, you login (or it does), and test EVERYTHING.
This is the most efficient way to test an app. EVEN A CHROME EXTENSION APP!
When using Claude Code/Codex, make sure you always create a "Criticism" loop. This is where the AI will criticize all of its plans, edits, etc. AI will ALWAYS make mistakes coding So knowing this, put into your commands "I want you to criticize every play, and debug + criticize every set of edits you do. Mark this into your memory file so you always execute like this. Assume you are wrong and assume you have made a mistake. Mark every change, oversight, fix, build, into an ever-growing memory bank that you always refer to so you never forget where you've been, what you've done, what's happened, for an efficient build and perfect vision"
Get what I'm doing?
We are testing, mitigating broken builds and code, while creating a self-evolving/self-learning loop in the process. Simple, not necessarily the most advanced way. But it works for me, and it will work for you.
1
0 comments
Ty Shane
2
Fun Vibe-Coding Trick
🦞 AI Villains
skool.com/clawrevops
Learn Principled AI Skills. This is not a course; this is the futuristic way of thinking to survive and thrive the AI revolution. Make Money with AI.
Leaderboard (30-day)
Powered by