Files
nexus/wiki/concepts/Vibe-Coding.md
2026-04-28 00:02:50 +08:00

44 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Vibe Coding"
type: concept
tags: [ai, workflow, programming, llm]
sources: [如何在ubuntu上安装opencode并配置vibe-kanban, vibe-coding经验收集, github-上-5000-人收藏的-vibe-coding-神级指南]
last_updated: 2026-04-27
---
## Overview
**Vibe Coding** 是一种使用 AI 辅助编程的工作流理念通过自然语言描述需求AI 代理负责代码实现。其核心公式:**Vibe Coding = 规划驱动 + 上下文固定 + AI 结对执行**,让「从想法到可维护代码」变成可审计的流水线。
## Core Principles
- **规划优先**:让 AI 写代码前必须先完成技术选型、实施规划和模块化设计,防止 AI 因理解偏差导致项目逻辑混乱
- **上下文固定**:通过高 context window 模型(如 Claude Opus保证上下文一致性
- **AI 结对**AI 作为结对编程伙伴人负责审核和决策AI 负责实现
## Key Workflow
1. **提出需求**:用自然语言描述要实现的功能
2. **创建计划**AI 分析需求生成实现方案Plan 模式)
3. **迭代优化**人对计划提出反馈AI 修订方案
4. **执行构建**:切换到 Build 模式AI 实施代码变更
5. **审核提交**:人审核代码,确认无误后提交
## Related Concepts
- [[Plan Mode]] — 计划模式,只生成实现方案不写代码
- [[Build Mode]] — 构建模式,执行实际代码修改
- [[AGENTS.md]] — 项目角色定义文件,帮助 AI 理解项目上下文
- [[Vibe-Kanban]] — 看板式任务管理工具
## Related Entities
- [[OpenCode]] — 支持 Vibe Coding 工作流的 AI 编程代理
- [[Claude Code]] — 竞品 AI 编程代理
- [[Cursor]] — 支持 Vibe Coding 的 IDE
## Aliases
- AI Pair Programming
- AI 结对编程
- AI 辅助编程