惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
Recent Announcements
Recent Announcements
L
LangChain Blog
B
Blog
阮一峰的网络日志
阮一峰的网络日志
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
M
MIT News - Artificial intelligence
D
Docker
WordPress大学
WordPress大学
J
Java Code Geeks
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The GitHub Blog
The GitHub Blog
博客园 - 叶小钗
Last Week in AI
Last Week in AI
Stack Overflow Blog
Stack Overflow Blog
有赞技术团队
有赞技术团队
MyScale Blog
MyScale Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MongoDB | Blog
MongoDB | Blog
博客园 - Franky

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
How to Write Prompts When You’re Vibe Coding
aichannode · 2026-04-25 · via DEV Community

Cursor and ChatGPT already changed how I work

A few years ago, coding felt like a solo sport: you, the keyboard, and Stack Overflow when things went sideways. Now there’s an assistant in the editor, another tab for chat, sometimes a whole builder that spits out UI before you’ve finished your coffee.

I’m not here to argue whether that’s good or bad—it’s mostly here, and I’ve adapted. The part that surprised me is not “the model can code.” It’s that most of my pain now comes from communication, not syntax. Cursor and ChatGPT didn’t just speed up typing for me; they shifted the job toward directing: I say what I want, something gets drafted, I react, we iterate.

So if you ask what actually matters in vibe coding now, I’d say it’s boring and unsexy: the prompt. Not the biggest context window, not the trendiest stack—a clear ask, written like you mean it.

The trade nobody warned me about

When I started, I treated prompts like quick texts. “Make a dashboard.” “Fix this.” “Add auth.” I thought I was being efficient.

I wasn’t. I was renting my future self a pile of cleanup. The model would hand back something plausible—almost always wrong in small, expensive ways: the layout was almost right, the state handling was almost right, the happy path worked and everything else melted. I’d burn an hour tracing behavior that would never have gone sideways if I’d spent one extra minute sharpening the request.

My rule of thumb now: one more minute on the prompt often buys back something like an hour of debugging and rework. Not always, but often enough that I’m embarrassed I ever skipped it.

What follows isn’t theory. It’s what I actually do when I want the output to land closer to finished the first time.

What I try to get right every time

Be specific.

I name what I’m building in plain pieces: features, rough layout, vibe of the UI, and what “done” looks like. “Dashboard” tells the model nothing useful. “Three KPIs on top, one line chart for last 30 days, table below with sortable columns, calm spacing like Notion, no neon gradients”—that’s a picture someone can draw.

Give it structure.

I split the prompt into chunks with headers or bullets so neither of us has to hunt. Usually something like: goal, must-haves, nice-to-haves, hard limits (tech, performance, what not to do), and how I’ll know it’s correct. It reads a bit like a tiny ticket. That’s the point.

Point at examples.

If I’ve got a screenshot, a product I like, or even a single phrase—“dense like Linear,” “quiet like Stripe’s docs”—I put it in. I’m not asking for a clone; I’m giving a target so the model stops free-styling typography and spacing I’ll hate.

Work in steps.

I stopped asking for the whole castle in one message. First the skeleton and the main user path. Then CRUD or filters. Then polish. Big all-in-one prompts feel productive for sixty seconds and expensive for the rest of the afternoon.

Refine like you mean it.

First output is a draft. I read it like code review: what’s wrong, what’s missing, what’s structurally off. If the same mistake shows up twice, I fix the prompt, not just the line—the spec was probably thin.

Prompts that wasted my time vs. prompts that didn’t

These are shortened, but the pattern is real.

Landing page

Bad (I’ve sent worse):

> Make a nice landing page for my SaaS.

Enter fullscreen mode Exit fullscreen mode

That’s not a brief; it’s a mood. No audience, no sections, no tone—“nice” could mean anything, so the model guesses.

Better (still pasteable):

> Single-page site for a B2B analytics tool, audience = small ecommerce teams.  
> Sections: hero with headline, subhead, primary CTA, screenshot placeholder; logo strip; three feature blocks; one quote for social proof; pricing with two tiers; FAQ accordion; simple footer.  
> Look: lots of whitespace, neutral background, one accent, something like Inter, thin borders—no glassmorphism.  
> Must be responsive. Proper heading order, visible focus states on buttons. Use placeholder copy, don’t invent fake customer names.  
> I’m happy when mobile scroll has zero horizontal junk.

Enter fullscreen mode Exit fullscreen mode

Dashboard

Bad:

> Create a dashboard with charts.

Enter fullscreen mode Exit fullscreen mode

Better:

> Admin shell: sidebar (Dashboard / Users / Settings), top bar with search + user menu.  
> Dashboard body: four KPI cards—Revenue, Orders, Conversion, Refunds—then a 30-day line chart, then a bar chart for top products, then a sortable orders table with id, customer, total, status, date.  
> Data from mocked JSON in a `data/` folder. Show loading skeletons; empty state when the table has no rows.  
> No paid chart APIs. Small components, semantic HTML.  
> This step is only layout + fake data + route placeholders—no real auth yet.

Enter fullscreen mode Exit fullscreen mode

Adding a feature mid-flight

Bad:

> Add user profiles.

Enter fullscreen mode Exit fullscreen mode

Better:

> Profile screen from the user menu. Fields: name (required), avatar URL optional, bio max 240 chars, timezone dropdown.  
> Inline validation; Save disabled until valid; toast on success. Optimistic updates optional—don’t block on that.  
> Explicitly out of scope: password, email, billing.  
> Match whatever spacing and components the app already uses; if there’s no form primitive, add a single `ProfileForm` instead of copy-pasting markup everywhere.

Enter fullscreen mode Exit fullscreen mode

A scrap of template I keep in Notes

When I’m blanking, I paste this and fill what I know:

Goal:
Who it’s for:
Main happy-path (a short paragraph):

Must ship:
Nice if there’s time:

Visual refs (apps, screenshots, adjectives):

Tech / limits / “do not”:

Empty & error behavior:

Definition of done:

Enter fullscreen mode Exit fullscreen mode

Blank lines mean “model will improvise here” on purpose. I only leave them blank when I’m fine with that.

Last thing

I used to think long prompts were overhead. They’re not—they’re where the work moved. The model is fast either way; I slow down when my ask is fuzzy.

So yeah: spend the extra minute. Your future you, the one who isn’t diff-hunting at midnight, will notice.