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

37 lines
1.5 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.
---
id: Vibe-Coding
title: "Vibe Coding"
type: concept
tags: [ai-agent, programming-paradigm]
aliases: [Vibe-Kanban]
---
## Definition
Vibe Coding 是一种 AI 辅助编程范式通过自然语言描述需求AI Agent 自动生成代码。其核心理念是"需求 → 伪代码 → 代码"的流程,以及"验证代码按正确逻辑运行"而非"看懂代码"。
## Core Properties
- **类型**:编程范式
- **核心流程**:需求 → 伪代码 → 代码
- **迭代方式**:点 → 线 → 体的逐级迭代
## Key Practices
1. **伪代码前置**:将设计文档写得很细,包括 Service 层的具体逻辑都用伪代码描述
2. **双 AI 审查**:一个 AI 生成代码,另一个 AI review 后再修改
3. **逐级迭代**:先打磨单个基础任务,再基于此批量执行
4. **文件头注释**:描述代码作用、上下游链路,降低认知负载
5. **自动化验证**:通过自动化测试、静态分析、形式化验证确保行为正确
## Related Entities
- [[Vibe-Kanban]]Vibe Coding 的任务管理工具
- [[OpenCode]]:支持 Vibe Coding 的 AI 编码 Agent
- [[Claude-Code-Templates]]:提供 Vibe Coding 相关模板
## Related Concepts
- [[Agent模式]]AI Agent 自动执行命令的工作模式
- [[TUI]]终端用户界面OpenCode 的主要交互形式
## Connections
- [[Vibe-Coding]] ← 使用 ← [[Vibe-Kanban]]
- [[Vibe-Coding]] ← 使用 ← [[OpenCode]]
- [[Vibe-Coding]] ← 依赖 ← [[Agent模式]]