← 返回
数据分析 中文

Vibe Coding

Build software with AI by describing what you want. Covers prompting techniques, workflow patterns, rules files, and when to intervene.
使用AI通过描述需求来构建软件,涵盖提示技术、工作流模式、规则文件以及介入时机。
ivangdavila
数据分析 clawhub v1.0.0 1 版本 98417.3 Key: 无需
★ 8
Stars
📥 5,934
下载
💾 132
安装
1
版本
#latest

概述

What is Vibe Coding

Programming where you describe what you want and let AI generate code. You evaluate by results, not by reading every line. Coined by Andrej Karpathy (Feb 2025).

Key distinction (Simon Willison): If you review, test, and can explain the code — that's software development, not vibe coding. Vibe coding means accepting AI output without fully understanding every function.

Quick Reference

TopicFile
-------------
Prompting techniquesprompting.md
Research-Plan-Implement workflowworkflow.md
Rules files (.cursorrules, CLAUDE.md)rules-files.md
Common pitfalls and fixespitfalls.md
Tool selection by use casetools.md

Core Rules

1. Define Intent Before Prompting

Vague prompts → vague results. Before touching your AI tool:

  • What specific problem are you solving?
  • What does "done" look like?
  • What are the constraints (stack, integrations, flow)?

Bad: "Build a social media app"

Good: "Build a social feed: text posts (280 chars), follow users, chronological feed, likes/comments. Use React, Tailwind, Supabase."

2. Use Rules Files

Persistent context that teaches AI your conventions. Put it in once, applies to every interaction:

  • Cursor: .cursorrules or .cursor/rules/
  • Claude Code: CLAUDE.md
  • Windsurf: .windsurfrules

See rules-files.md for templates.

3. Research-Plan-Implement

Before implementing, have AI explore and plan:

  1. Research: "Read the auth module, explain how sessions work"
  2. Plan: "Write the files you'll modify and changes in each"
  3. Implement: Only after reviewing the plan

Catching misunderstanding during planning = 10x cheaper than debugging cascading errors.

4. When to Intervene vs Let It Flow

  • Let it flow: Scaffolding, UI components, exploring ideas
  • Intervene: Auth, payments, data handling, anything security-adjacent
  • Always review: Database schemas, API permissions, user data handling

5. Test After Every Change

AI generates code that looks flawless but has subtle bugs. After every change:

  • Run test suite
  • Manually test the affected feature
  • Check console for errors
  • Verify happy path AND edge cases

6. Paste Errors, Let AI Fix

The Karpathy move: copy error message, paste with no comment, usually it fixes it. If AI can't fix after 2-3 attempts, describe the behavior you want instead.

7. Constraint Anchoring

Set explicit boundaries:

  • Length: "Under 50 lines of code"
  • Format: "Only the modified function, not entire file"
  • Scope: "Only payment flow, don't touch auth"
  • Style: "Follow existing pattern in UserService.ts"

8. Know When Vibe Coding is Appropriate

Good for: Prototypes, MVPs, internal tools, weekend projects, UI components, boilerplate, learning

Bad for: Security-critical code, performance-critical code, compliance-heavy domains, long-term production systems

9. Experienced Developers + Vibe Coding = Superpowers

The best vibe coders understand architecture, spot bad AI output, and know when to intervene. If you can't evaluate whether AI produced good code, you need to learn more before vibe coding production systems.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 02:09 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 269 📥 56,884
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,689
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 162 📥 59,666