9ee3312569
refactor(docs): rename "ClaudeCode" to "Claude Code" across all language versions chore: add ESLint configuration and update build scripts style: update component organization and remove unused imports
235 lines
20 KiB
Markdown
235 lines
20 KiB
Markdown
<!-- trigger vercel build -->
|
|
<div align="center">
|
|
|
|
<pre style="font-family: 'Courier New', monospace; font-size: 16px; color: #000000; margin: 0; padding: 0; line-height: 1.2; transform: skew(-1deg, 0deg); display: block;">
|
|
███████╗ █████╗ ███████╗██╗ ██╗ ██╗ ██╗██╗██████╗ ███████╗
|
|
██╔════╝██╔══██╗██╔════╝╚██╗ ██╔╝ ██║ ██║██║██╔══██╗██╔════╝
|
|
█████╗ ███████║███████╗ ╚████╔╝ ██║ ██║██║██████╔╝█████╗
|
|
██╔══╝ ██╔══██║╚════██║ ╚██╔╝ ╚██╗ ██╔╝██║██╔══██╗██╔══╝
|
|
███████╗██║ ██║███████║ ██║ ╚████╔╝ ██║██████╔╝███████╗
|
|
╚══════╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═══╝ ╚═╝╚═════╝ ╚══════╝</pre>
|
|
|
|
# Easy-Vibe: Learn Vibe Coding from 0 to 1
|
|
|
|
### _零基礎、專案制學習、建構第一個 AI 產品_
|
|
|
|
<p align="center">
|
|
📌 <a href="https://datawhalechina.github.io/easy-vibe/">開始線上閱讀 (Start Reading Online)</a>
|
|
</p>
|
|
|
|
<p align="center">
|
|
<a href="https://datawhalechina.github.io/easy-vibe/">線上閱讀</a> ·
|
|
<a href="#-內容導航">學習地圖</a> ·
|
|
<a href="#contact">社群交流</a>
|
|
</p>
|
|
|
|
<p align="center">
|
|
<a href="https://github.com/datawhalechina/easy-vibe/stargazers" target="_blank">
|
|
<img src="https://img.shields.io/github/stars/datawhalechina/easy-vibe?color=660874&style=for-the-badge&logo=star&logoColor=white&labelColor=1a1a2e" alt="Stars"></a>
|
|
<a href="https://github.com/datawhalechina/easy-vibe/network/members" target="_blank">
|
|
<img src="https://img.shields.io/github/forks/datawhalechina/easy-vibe?color=660874&style=for-the-badge&logo=git-fork&logoColor=white&labelColor=1a1a2e" alt="Forks"></a>
|
|
<a href="LICENSE" target="_blank">
|
|
<img src="https://img.shields.io/badge/License-CC_BY_NC_SA_4.0-4ecdc4?style=for-the-badge&logo=creative-commons&logoColor=white&labelColor=1a1a2e" alt="License"></a>
|
|
</p>
|
|
|
|
<p align="center">
|
|
<a href="./docs-readme/zh-CN/README.md"><img alt="简体中文" src="https://img.shields.io/badge/简体中文-d9d9d9"></a>
|
|
<a href="./docs-readme/zh-TW/README.md"><img alt="繁體中文" src="https://img.shields.io/badge/繁體中文-d9d9d9"></a>
|
|
<a href="./docs-readme/en-US/README.md"><img alt="English" src="https://img.shields.io/badge/English-d9d9d9"></a>
|
|
<a href="./docs-readme/ja-JP/README.md"><img alt="日本語" src="https://img.shields.io/badge/日本語-d9d9d9"></a>
|
|
<a href="./docs-readme/es-ES/README.md"><img alt="Español" src="https://img.shields.io/badge/Español-d9d9d9"></a>
|
|
<a href="./docs-readme/fr-FR/README.md"><img alt="Français" src="https://img.shields.io/badge/Français-d9d9d9"></a>
|
|
<a href="./docs-readme/ko-KR/README.md"><img alt="한국어" src="https://img.shields.io/badge/한국어-d9d9d9"></a>
|
|
<a href="./docs-readme/ar-SA/README.md"><img alt="العربية" src="https://img.shields.io/badge/العربية-d9d9d9"></a>
|
|
<a href="./docs-readme/vi-VN/README.md"><img alt="Tiếng_Việt" src="https://img.shields.io/badge/Tiếng_Việt-d9d9d9"></a>
|
|
<a href="./docs-readme/de-DE/README.md"><img alt="Deutsch" src="https://img.shields.io/badge/Deutsch-d9d9d9"></a>
|
|
</p>
|
|
|
|
</div>
|
|
|
|
## 🚀 專案介紹
|
|
|
|
當你嘗試用AI寫程式碼,出錯不斷,時常想放棄,不清楚如何將程式真正上線 😢。
|
|
|
|
本教學專門設計,從0到1,帶你逐步掌握 Vibe Coding 技巧:
|
|
|
|
- **第一階段**:從**小遊戲入門**到**Web 應用原型**,掌握 AI 編程基礎與產品思維
|
|
- **第二階段**:學習**前後端開發與 AI 能力**相關的 vibecoding 技巧,完成完整應用
|
|
- **第三階段**:掌握**多平台複雜應用**的建構方案,走向生產級應用
|
|
|
|
我們相信,掌握Vibe Coding並配合系統化訓練,一個人就能成為集前後端開發、AI 能力整合、產品設計於一身的開發者。
|
|
|
|
> **本專案主要面向三類學習者:**
|
|
>
|
|
> - **新手(普通人 / 產品與運營側)**:幫助非技術入門學習者聽懂關鍵概念,完成第一個產品原型。
|
|
> - **初中級開發者(有一定基礎的學生和開發者)**:掌握前後端 vibe coding 與 AI 能力知識。
|
|
> - **高級開發者(公司與初創、開源與獨立開發者)**:高級開發技巧、多平台開發。
|
|
|
|
### 📖 內容導航
|
|
|
|
<div align="center">
|
|
<img src="../assets/readme-image1.png" alt="Learning Map" width="100%" style="border-radius: 10px; box-shadow: 0 8px 20px rgba(45,55,72,0.3); margin: 15px 0;"/>
|
|
</div>
|
|
|
|
### 總附錄
|
|
|
|
[AI 能力詞典:常見 AI 核心概念與名詞、場景解釋](../docs/zh-cn/appendix/ai-capability-dictionary.md)
|
|
|
|
### 一、新手入門與產品原型
|
|
|
|
| 章节 | 關鍵內容 | 狀態 |
|
|
| :-------------------------------------------------------------------------------------------------- | :------------------------------------------------ | :--- |
|
|
| [前言:學習地圖](../docs/zh-cn/stage-0/0.1-learning-map/index.md) | 整體學習路徑導覽 | ✅ |
|
|
| [初級一:AI 時代,會說話就會編程](../docs/zh-cn/stage-0/0.2-ai-capabilities-through-games/index.md) | 通過貪吃蛇等案例初步感受 AI 編程的能力 | ✅ |
|
|
| [初級二:認識 AI IDE 工具](../docs/zh-cn/stage-1/1.1-introduction-to-ai-ide/index.md) | 學會使用 IDE,在本地製作小遊戲 | ✅ |
|
|
| [初級三:動手做出原型](../docs/zh-cn/stage-1/1.2-building-prototype/index.md) | 從需求分析、AI 生成單頁面,再到生成多頁面產品原型 | ✅ |
|
|
| [初級四:給原型加上 AI 能力](../docs/zh-cn/stage-1/1.3-integrating-ai-capabilities/index.md) | 學會接入常見 AI 能力(文本、圖片、影片) | ✅ |
|
|
| [初級五:完整專案實戰](../docs/zh-cn/stage-1/1.4-complete-project-practice/index.md) | 模擬真實場景、接受用戶反饋迭代,完整化專案 | ✅ |
|
|
| [大作業:做一個完整的 Web 應用原型並展示](../docs/zh-cn/stage-1/1.5-final-project/index.md) | 完整實現應用,展示應用效果 | ✅ |
|
|
|
|
#### 附錄:業務思維
|
|
|
|
| 章節 | 關鍵內容 | 狀態 |
|
|
| :----------------------------------------------------------------------------------------------- | :------------------------------- | :--- |
|
|
| [附錄A:產品思維與方案設計](../docs/zh-cn/stage-1/appendix-a-product-thinking/index.md) | 從零到一做產品需要考慮的思維框架 | ✅ |
|
|
| [附錄B:AI 行業應用場景參考 (B端)](../docs/zh-cn/stage-1/appendix-industry-scenarios/index.md) | 了解 AI 在不同產業的應用場景 | ✅ |
|
|
| [附錄C:AI 消費場景靈感參考 (C端)](../docs/zh-cn/stage-1/appendix-c-consumer-scenarios/index.md) | 探索 AI 在消費級產品中的應用場景 | ✅ |
|
|
|
|
#### 附錄:技術方案
|
|
|
|
| 章節 | 關鍵內容 | 狀態 |
|
|
| :----------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------- | :--- |
|
|
| [附錄D:寫代碼時遇到錯誤怎麼辦](../docs/zh-cn/stage-1/appendix-b-common-errors/index.md) | vibe coding 中的常見錯誤及排查方法 | ✅ |
|
|
| [附錄E:七款 AI 編程工具對比](../docs/zh-cn/stage-1/appendix-articles/example0-1/vibe-coding-tools-snake-game-tutorial.md) | 對比測試主流 AI 編程平台 | ✅ |
|
|
| [附錄F:用設計和編程 Agent 設計網站](../docs/zh-cn/stage-1/appendix-articles/example0-2/vibe-coding-tools-build-website-with-ai-coding-and-design-agents.md) | 學習如何使用 AI 智能體協同工作 | ✅ |
|
|
|
|
### 二、初中級開發工程師
|
|
|
|
#### 前端部分
|
|
|
|
| 章节 | 關鍵內容 | 狀態 |
|
|
| :---------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------- | :--- |
|
|
| [前端零:使用 lovart 生產素材](../docs/zh-cn/stage-2/frontend/2.0-lovart-assets/) | 學會用 lovart 批量生成人物、場景等視覺素材,為 UI 設計和前端開發提供素材基礎 | 🚧 |
|
|
| [前端一:Figma 與 MasterGo 入門](../docs/zh-cn/stage-2/frontend/2.1-figma-mastergo/) | 用設計工具梳理信息架構和頁面結構,為前端實現打基礎 | 🚧 |
|
|
| [前端二:建構第一個現代應用程式-UI 設計](../docs/zh-cn/stage-2/frontend/2.2-ui-design/) | 基於設計稿完成組件化界面,實現從設計到代碼的第一條鏈路 | 🚧 |
|
|
| [前端三:參考 UI 設計規範與多產品 UI 設計](../docs/zh-cn/stage-2/frontend/2.3-multi-product-ui/) | 圍繞統一主視覺擴展多產品界面,練習系統化設計能力 | 🚧 |
|
|
| [前端四:一起做霍格沃茨肖像](../docs/zh-cn/stage-2/frontend/2.4-hogwarts-portraits/chapter4-lets-build-hogwarts-portraits.md) | 從 0 到 1 做出接入 AI 能力的前端應用,串聯設計與開發 | ✅ |
|
|
|
|
#### 後端與全棧部分
|
|
|
|
| 章节 | 關鍵內容 | 狀態 |
|
|
| :----------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------ | :--- |
|
|
| [後端一:什麼是 API](../docs/zh-cn/stage-2/backend/2.1-what-is-api/extra2/extra2-what-is-api.md) | 理解 HTTP 接口與請求響應模型,為後端整合與聯調做準備 | ✅ |
|
|
| [後端二:從數據庫到 Supabase](../docs/zh-cn/stage-2/backend/2.2-database-supabase/chapter5/chapter5-from-database-to-supabase.md) | 在 Supabase 上落地數據庫和 API,打通數據模型與前端頁面 | ✅ |
|
|
| [後端三:大模型輔助編寫接口代碼與接口文檔](../docs/zh-cn/stage-2/backend/2.3-ai-interface-code/) | 用大模型協助生成接口與數據庫文檔及代碼,實現可讀可測的後端 | 🚧 |
|
|
| [後端四:Git 工作流](../docs/zh-cn/stage-2/backend/2.4-git-workflow/extra1/extra1-what-is-git-and-what-is-github.md) | 在 Git 工作流中管理代碼,進行版本控制和協作 | ✅ |
|
|
| [後端五:Zeabur 部署](../docs/zh-cn/stage-2/backend/2.5-zeabur-deployment/extra6/extra6-zeabur-what-is-it-and-how-to-deploy-web-applications.md) | 將應用部署到 Zeabur 上線 | ✅ |
|
|
| [後端六:現代 CLI 開發工具](../docs/zh-cn/stage-2/backend/2.6-modern-cli/extra7/extra7-cli-ai-coding-tools-and-the-principles-of-test-driven-development.md) | 使用 CLI 類 AI 編程工具加速開發與調試,形成個人工程化工作流 | ✅ |
|
|
| [後端七:如何整合 Stripe 等收費系統](../docs/zh-cn/stage-2/backend/2.7-stripe-payment/) | 接入支付系統,完成收費鏈路與基礎結算流程 | 🚧 |
|
|
| [大作業 1:建構第一個現代應用程式-全棧應用](../docs/zh-cn/stage-2/assignments/2.1-fullstack-app/) | 綜合前端、後端與支付模塊,完成可上線的全棧 Web 應用 | 🚧 |
|
|
| [大作業 2:現代前端組件庫 + Trae 實戰](../docs/zh-cn/stage-2/assignments/2.2-modern-frontend-trae/) | 使用現代前端組件庫與 Trae,獨立完成可登錄註冊並支持收費的產品 | 🚧 |
|
|
|
|
#### AI 能力附錄
|
|
|
|
| 章节 | 關鍵內容 | 狀態 |
|
|
| :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :------------------------------------------------------------- | :--- |
|
|
| [AI 一:Dify 入門與知識庫整合](../docs/zh-cn/stage-2/ai-capabilities/2.1-dify-knowledge-base/chapter3/chapter3-getting-started-with-dify-and-its-knowledge-base-integration.md) | 用 Dify Workflow 與基礎 RAG 搭建工具類產品,為後續應用升級打樣 | ✅ |
|
|
| [AI 二:學會查詢 AI 詞典與整合多模態 API](../docs/zh-cn/stage-2/ai-capabilities/2.2-multimodal-api/extra3/extra3-ai-capability-starter-handbook.md) | 學會查找合適的模型與 API,並把文本、圖像等多模態能力接入產品 | 🚧 |
|
|
|
|
### 三、高級開發工程師
|
|
|
|
| 章节 | 關鍵內容 | 狀態 |
|
|
| :---------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------- | :--- |
|
|
| [高級一:MCP 與 Claude Code Skills](../docs/zh-cn/stage-3/core-skills/3.1-mcp-claude-code-skills/) | 通過 MCP 與 Skills 擴展 IDE 能力,把外部服務接成工具 | 🚧 |
|
|
| [高級二:如何讓 Coding Tools 長時間工作](../docs/zh-cn/stage-3/core-skills/3.2-long-running-tasks/) | 設計和配置長時間運行的任務,讓 Coding Tools 更穩定可靠 | 🚧 |
|
|
| [高級三:多平台開發:如何建構微信小程式](../docs/zh-cn/stage-3/cross-platform/3.3-wechat-miniprogram/) | 了解微信小程式生態,從官方模板到上線完成一個前端小程式 | ✅ |
|
|
| [高級四:多平台開發:如何建構微信小程式-包含後端](../docs/zh-cn/stage-3/cross-platform/3.4-wechat-miniprogram-backend/) | 在小程式中接入數據庫與後端邏輯,打通完整業務閉環 | 🚧 |
|
|
| [高級五:多平台開發:如何建構安卓程式](../docs/zh-cn/stage-3/cross-platform/3.5-android-app/) | 使用 Expo 等工具,完成 Web/原生一體化的安卓應用開發 | 🚧 |
|
|
| [高級六:多平台開發:如何建構 iOS 程式](../docs/zh-cn/stage-3/cross-platform/3.6-ios-app/) | 使用 Expo 等工具,完成 Web/原生一體化的 iOS 應用開發 | 🚧 |
|
|
| [高級七:如何建構屬於自己的個人網頁與學術博客](../docs/zh-cn/stage-3/personal-brand/3.7-personal-website-blog/) | 從選型、搭建到部署,建構展示個人專案與學術成果的長久在線主頁 | 🚧 |
|
|
|
|
#### AI 能力附錄
|
|
|
|
| 章节 | 關鍵內容 | 狀態 |
|
|
| :----------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------ | :--- |
|
|
| [高級 AI 一:什麼是 RAG 以及它如何工作](../docs/zh-cn/stage-3/ai-advanced/3.a1-rag-introduction/extra5-what-is-rag-and-how-does-it-work-and-future.md) | 系統理解 RAG 原理與常見架構,為複雜應用提供知識檢索基礎 | ✅ |
|
|
| [高級 AI 二:中高級 RAG 與工作流編排:以 LangGraph 為例](../docs/zh-cn/stage-3/ai-advanced/3.a2-langgraph-advanced-rag/) | 使用 LangGraph 等工具設計多步工作流與中高級 RAG 系統 | 🚧 |
|
|
|
|
## 🛠️ 如何學習
|
|
|
|
- 根據個人能力,選擇性地閱讀和實踐相關章節,如果有問題歡迎 issue 提問。
|
|
|
|
## 💻 本地啟動本課件
|
|
|
|
### 現代方案
|
|
|
|
在 AI IDE 對話框(vscode、cursor、trae 等)中,輸入下列提示詞啟動本課件:
|
|
|
|
```
|
|
請你幫我運行這個專案的本地服務
|
|
```
|
|
|
|
### 舊方案
|
|
|
|
1. npm install
|
|
2. npm run dev
|
|
3. 打開瀏覽器訪問 `http://localhost:5173` 即可查看。
|
|
|
|
## 🤝 參與貢獻
|
|
|
|
- 如果你發現了一些問題,或者覺得任何可以改進本專案的地方,可以提 Issue 進行反饋。如果提完沒有人回復你可以聯系[保姆團隊](https://github.com/datawhalechina/DOPMC/blob/main/OP.md)的同學進行反饋跟進~
|
|
- 如果你想參與貢獻本專案,可以提 Pull Request,如果提完沒有人回復你可以聯系[保姆團隊](https://github.com/datawhalechina/DOPMC/blob/main/OP.md)的同學進行反饋跟進~
|
|
- 如果你對 Datawhale 很感興趣並想要發起一個新的專案,請按照[Datawhale 開源專案指南](https://github.com/datawhalechina/DOPMC/blob/main/GUIDE.md)進行操作即可~
|
|
|
|
## 🙏 感謝每位貢獻者
|
|
|
|
- [散步-專案負責人](https://github.com/sanbuphy) (Datawhale成員)
|
|
- 方可-指導老師(Datawhale成員, 清華大學)
|
|
- [Yerim Kang](https://github.com/yerim25)(實踐專案部分-清華大學)
|
|
- 趙芷霖(實踐專案部分-清華大學)
|
|
- [李亦萱](https://yixuan20.github.io/)(頁面美術設計-清華大學)
|
|
- AI Vibe Coding 101 內測群完整給建議體驗的小夥伴們
|
|
|
|
### 特別感謝
|
|
|
|
- 感謝 [@Sm1les](https://github.com/Sm1les) 對本專案的幫助與支持
|
|
- 感謝所有為本專案做出貢獻的開發者們 ❤️
|
|
|
|
<div align=center style="margin-top: 30px;">
|
|
<a href="https://github.com/datawhalechina/easy-vibe/graphs/contributors">
|
|
<img src="https://contrib.rocks/image?repo=datawhalechina/easy-vibe" />
|
|
</a>
|
|
</div>
|
|
|
|
## <span id="contact">📧 聯系我們</span>
|
|
|
|
<div align=center>
|
|
<p>如果有問題提建議吐槽,或者想要一起交流,請掃描下方二維碼</p>
|
|
<img src="../assets/wechat.png" width="280">
|
|
|
|
<p>掃描下方二維碼關注公眾號:Datawhale</p>
|
|
<img src="https://raw.githubusercontent.com/datawhalechina/pumpkin-book/master/res/qrcode.jpeg" width="180" height="180">
|
|
</div>
|
|
|
|
## 📄 LICENSE
|
|
|
|
<div align="center">
|
|
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">
|
|
<img
|
|
alt="知識共享許可協議"
|
|
style="border-width:0"
|
|
src="https://img.shields.io/badge/license-CC%20BY--NC--SA%204.0-lightgrey"
|
|
/>
|
|
</a>
|
|
<br />
|
|
本作品採用
|
|
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">
|
|
知識共享署名-非商業性使用-相同方式共享 4.0 國際許可協議
|
|
</a>
|
|
進行許可。
|
|
</div>
|
|
|
|
## Star History
|
|
|
|
[](https://www.star-history.com/#datawhalechina/easy-vibe&type=date&legend=top-left)
|