@nclamvn/vibecode-cli 1.8.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SESSION_NOTES.md +119 -0
- package/package.json +1 -1
- package/src/config/constants.js +5 -1
- package/docs-site/README.md +0 -41
- package/docs-site/blog/2019-05-28-first-blog-post.md +0 -12
- package/docs-site/blog/2019-05-29-long-blog-post.md +0 -44
- package/docs-site/blog/2021-08-01-mdx-blog-post.mdx +0 -24
- package/docs-site/blog/2021-08-26-welcome/docusaurus-plushie-banner.jpeg +0 -0
- package/docs-site/blog/2021-08-26-welcome/index.md +0 -29
- package/docs-site/blog/authors.yml +0 -25
- package/docs-site/blog/tags.yml +0 -19
- package/docs-site/docs/commands/agent.md +0 -162
- package/docs-site/docs/commands/assist.md +0 -71
- package/docs-site/docs/commands/build.md +0 -53
- package/docs-site/docs/commands/config.md +0 -30
- package/docs-site/docs/commands/debug.md +0 -173
- package/docs-site/docs/commands/doctor.md +0 -34
- package/docs-site/docs/commands/go.md +0 -128
- package/docs-site/docs/commands/index.md +0 -79
- package/docs-site/docs/commands/init.md +0 -42
- package/docs-site/docs/commands/learn.md +0 -82
- package/docs-site/docs/commands/lock.md +0 -33
- package/docs-site/docs/commands/plan.md +0 -29
- package/docs-site/docs/commands/review.md +0 -31
- package/docs-site/docs/commands/snapshot.md +0 -34
- package/docs-site/docs/commands/start.md +0 -32
- package/docs-site/docs/commands/status.md +0 -37
- package/docs-site/docs/commands/undo.md +0 -83
- package/docs-site/docs/configuration.md +0 -72
- package/docs-site/docs/faq.md +0 -83
- package/docs-site/docs/getting-started.md +0 -119
- package/docs-site/docs/guides/agent-mode.md +0 -94
- package/docs-site/docs/guides/debug-mode.md +0 -83
- package/docs-site/docs/guides/magic-mode.md +0 -107
- package/docs-site/docs/installation.md +0 -98
- package/docs-site/docs/intro.md +0 -67
- package/docs-site/docusaurus.config.ts +0 -141
- package/docs-site/package-lock.json +0 -18039
- package/docs-site/package.json +0 -48
- package/docs-site/sidebars.ts +0 -70
- package/docs-site/src/components/HomepageFeatures/index.tsx +0 -72
- package/docs-site/src/components/HomepageFeatures/styles.module.css +0 -16
- package/docs-site/src/css/custom.css +0 -30
- package/docs-site/src/pages/index.module.css +0 -23
- package/docs-site/src/pages/index.tsx +0 -44
- package/docs-site/src/pages/markdown-page.md +0 -7
- package/docs-site/src/theme/Footer/index.tsx +0 -127
- package/docs-site/src/theme/Footer/styles.module.css +0 -285
- package/docs-site/static/.nojekyll +0 -0
- package/docs-site/static/img/docusaurus-social-card.jpg +0 -0
- package/docs-site/static/img/docusaurus.png +0 -0
- package/docs-site/static/img/favicon.ico +0 -0
- package/docs-site/static/img/logo.svg +0 -1
- package/docs-site/static/img/undraw_docusaurus_mountain.svg +0 -171
- package/docs-site/static/img/undraw_docusaurus_react.svg +0 -170
- package/docs-site/static/img/undraw_docusaurus_tree.svg +0 -40
- package/docs-site/tsconfig.json +0 -8
package/SESSION_NOTES.md
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# VIBECODE CLI - SESSION NOTES
|
|
2
|
+
> Cập nhật: 2025-12-22
|
|
3
|
+
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## 📍 TRẠNG THÁI HIỆN TẠI
|
|
7
|
+
|
|
8
|
+
### ✅ ĐÃ HOÀN THÀNH
|
|
9
|
+
|
|
10
|
+
1. **Landing Page** - Port design Notion + Anthropic style
|
|
11
|
+
- File: `docs-site/src/pages/index.tsx`
|
|
12
|
+
- Style: WHITE background (#FAFAFA), Be Vietnam Pro font
|
|
13
|
+
- Sections: Hero, Terminal, Process, Features, Philosophy, CTA
|
|
14
|
+
|
|
15
|
+
2. **i18n Vietnamese** - Đa ngôn ngữ EN/VI
|
|
16
|
+
- Translations: `docs-site/i18n/vi/`
|
|
17
|
+
- Docs tiếng Việt đầy đủ 26 commands
|
|
18
|
+
|
|
19
|
+
3. **GitHub Repos** (Private)
|
|
20
|
+
- CLI: https://github.com/nclamvn/vibecode-cli
|
|
21
|
+
- Docs: https://github.com/nclamvn/vibecode-docs
|
|
22
|
+
|
|
23
|
+
4. **NPM Package** - Deprecated (beta warning)
|
|
24
|
+
- Package: @nclamvn/vibecode-cli
|
|
25
|
+
- Status: Deprecated với message cảnh báo beta
|
|
26
|
+
|
|
27
|
+
5. **UI Fixes**
|
|
28
|
+
- Loại bỏ logo khủng long
|
|
29
|
+
- Footer màu đen đồng nhất (#0A0A0A)
|
|
30
|
+
- Theme toggle icon thu nhỏ 60%
|
|
31
|
+
- Default: Light mode
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## 🚧 ĐANG LÀM
|
|
36
|
+
|
|
37
|
+
### Deploy Render
|
|
38
|
+
- Repo: nclamvn/vibecode-docs
|
|
39
|
+
- File: render.yaml đã có
|
|
40
|
+
- **BƯỚC TIẾP THEO**: Điền `build` vào Publish Directory rồi click Deploy
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## 📁 CẤU TRÚC PROJECT
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
/Users/mac/vibecode-cli/
|
|
48
|
+
├── src/ # CLI source (26 commands)
|
|
49
|
+
├── bin/vibecode.js # Entry point
|
|
50
|
+
├── package.json # v1.8.0
|
|
51
|
+
├── docs-site/ # Docusaurus site (separate git repo)
|
|
52
|
+
│ ├── src/pages/index.tsx # Landing page
|
|
53
|
+
│ ├── docs/ # English docs
|
|
54
|
+
│ ├── i18n/vi/ # Vietnamese docs
|
|
55
|
+
│ └── render.yaml # Render deploy config
|
|
56
|
+
└── SESSION_NOTES.md # File này
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## 🔧 COMMANDS THƯỜNG DÙNG
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
# Dev server
|
|
65
|
+
cd /Users/mac/vibecode-cli/docs-site
|
|
66
|
+
npm start
|
|
67
|
+
|
|
68
|
+
# Build
|
|
69
|
+
npm run build
|
|
70
|
+
|
|
71
|
+
# Push docs
|
|
72
|
+
cd /Users/mac/vibecode-cli/docs-site
|
|
73
|
+
git add . && git commit -m "message" && git push
|
|
74
|
+
|
|
75
|
+
# Push CLI
|
|
76
|
+
cd /Users/mac/vibecode-cli
|
|
77
|
+
git add . && git commit -m "message" && git push
|
|
78
|
+
|
|
79
|
+
# Bỏ deprecate npm khi sẵn sàng
|
|
80
|
+
npm deprecate @nclamvn/vibecode-cli ""
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## 📊 THỐNG KÊ
|
|
86
|
+
|
|
87
|
+
| Metric | Value |
|
|
88
|
+
|--------|-------|
|
|
89
|
+
| CLI Commands | 26 |
|
|
90
|
+
| Lines of Code | 18,612 |
|
|
91
|
+
| JS Files | 167 |
|
|
92
|
+
| Docs Pages | 40+ (EN + VI) |
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## 🎯 VIỆC CẦN LÀM TIẾP
|
|
97
|
+
|
|
98
|
+
1. [ ] Hoàn thành deploy Render
|
|
99
|
+
2. [ ] Test site trên production URL
|
|
100
|
+
3. [ ] Phase L: Unit Tests & TypeScript (optional)
|
|
101
|
+
4. [ ] Khi sẵn sàng: Bỏ deprecate npm package
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## 🔗 LINKS
|
|
106
|
+
|
|
107
|
+
- Landing EN: http://localhost:3000/
|
|
108
|
+
- Landing VI: http://localhost:3000/vi/
|
|
109
|
+
- GitHub CLI: https://github.com/nclamvn/vibecode-cli
|
|
110
|
+
- GitHub Docs: https://github.com/nclamvn/vibecode-docs
|
|
111
|
+
- NPM: https://www.npmjs.com/package/@nclamvn/vibecode-cli
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## 💬 ĐỂ TIẾP TỤC
|
|
116
|
+
|
|
117
|
+
Chỉ cần nói: **"tiếp tục"** hoặc **"continue"**
|
|
118
|
+
|
|
119
|
+
Claude sẽ đọc file này và biết cần làm gì tiếp.
|
package/package.json
CHANGED
package/src/config/constants.js
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
// Spec Hash: 0fe43335f5a325e3279a079ce616c052
|
|
4
4
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
import { createRequire } from 'module';
|
|
7
|
+
const require = createRequire(import.meta.url);
|
|
8
|
+
const pkg = require('../../package.json');
|
|
9
|
+
|
|
10
|
+
export const VERSION = pkg.version;
|
|
7
11
|
export const SPEC_HASH = '0fe43335f5a325e3279a079ce616c052';
|
|
8
12
|
|
|
9
13
|
// ─────────────────────────────────────────────────────────────────────────────
|
package/docs-site/README.md
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# Website
|
|
2
|
-
|
|
3
|
-
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
yarn
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Local Development
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
yarn start
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
|
|
18
|
-
|
|
19
|
-
## Build
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
yarn build
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
This command generates static content into the `build` directory and can be served using any static contents hosting service.
|
|
26
|
-
|
|
27
|
-
## Deployment
|
|
28
|
-
|
|
29
|
-
Using SSH:
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
USE_SSH=true yarn deploy
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
Not using SSH:
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
GIT_USER=<Your GitHub username> yarn deploy
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
slug: first-blog-post
|
|
3
|
-
title: First Blog Post
|
|
4
|
-
authors: [slorber, yangshun]
|
|
5
|
-
tags: [hola, docusaurus]
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
Lorem ipsum dolor sit amet...
|
|
9
|
-
|
|
10
|
-
<!-- truncate -->
|
|
11
|
-
|
|
12
|
-
...consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
slug: long-blog-post
|
|
3
|
-
title: Long Blog Post
|
|
4
|
-
authors: yangshun
|
|
5
|
-
tags: [hello, docusaurus]
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
This is the summary of a very long blog post,
|
|
9
|
-
|
|
10
|
-
Use a `<!--` `truncate` `-->` comment to limit blog post size in the list view.
|
|
11
|
-
|
|
12
|
-
<!-- truncate -->
|
|
13
|
-
|
|
14
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
15
|
-
|
|
16
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
17
|
-
|
|
18
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
19
|
-
|
|
20
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
21
|
-
|
|
22
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
23
|
-
|
|
24
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
25
|
-
|
|
26
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
27
|
-
|
|
28
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
29
|
-
|
|
30
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
31
|
-
|
|
32
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
33
|
-
|
|
34
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
35
|
-
|
|
36
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
37
|
-
|
|
38
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
39
|
-
|
|
40
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
41
|
-
|
|
42
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
43
|
-
|
|
44
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
slug: mdx-blog-post
|
|
3
|
-
title: MDX Blog Post
|
|
4
|
-
authors: [slorber]
|
|
5
|
-
tags: [docusaurus]
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
Blog posts support [Docusaurus Markdown features](https://docusaurus.io/docs/markdown-features), such as [MDX](https://mdxjs.com/).
|
|
9
|
-
|
|
10
|
-
:::tip
|
|
11
|
-
|
|
12
|
-
Use the power of React to create interactive blog posts.
|
|
13
|
-
|
|
14
|
-
:::
|
|
15
|
-
|
|
16
|
-
{/* truncate */}
|
|
17
|
-
|
|
18
|
-
For example, use JSX to create an interactive button:
|
|
19
|
-
|
|
20
|
-
```js
|
|
21
|
-
<button onClick={() => alert('button clicked!')}>Click me!</button>
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
<button onClick={() => alert('button clicked!')}>Click me!</button>
|
|
Binary file
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
slug: welcome
|
|
3
|
-
title: Welcome
|
|
4
|
-
authors: [slorber, yangshun]
|
|
5
|
-
tags: [facebook, hello, docusaurus]
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).
|
|
9
|
-
|
|
10
|
-
Here are a few tips you might find useful.
|
|
11
|
-
|
|
12
|
-
<!-- truncate -->
|
|
13
|
-
|
|
14
|
-
Simply add Markdown files (or folders) to the `blog` directory.
|
|
15
|
-
|
|
16
|
-
Regular blog authors can be added to `authors.yml`.
|
|
17
|
-
|
|
18
|
-
The blog post date can be extracted from filenames, such as:
|
|
19
|
-
|
|
20
|
-
- `2019-05-30-welcome.md`
|
|
21
|
-
- `2019-05-30-welcome/index.md`
|
|
22
|
-
|
|
23
|
-
A blog post folder can be convenient to co-locate blog post images:
|
|
24
|
-
|
|
25
|
-

|
|
26
|
-
|
|
27
|
-
The blog supports tags as well!
|
|
28
|
-
|
|
29
|
-
**And if you don't want a blog**: just delete this directory, and use `blog: false` in your Docusaurus config.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
yangshun:
|
|
2
|
-
name: Yangshun Tay
|
|
3
|
-
title: Ex-Meta Staff Engineer, Co-founder GreatFrontEnd
|
|
4
|
-
url: https://linkedin.com/in/yangshun
|
|
5
|
-
image_url: https://github.com/yangshun.png
|
|
6
|
-
page: true
|
|
7
|
-
socials:
|
|
8
|
-
x: yangshunz
|
|
9
|
-
linkedin: yangshun
|
|
10
|
-
github: yangshun
|
|
11
|
-
newsletter: https://www.greatfrontend.com
|
|
12
|
-
|
|
13
|
-
slorber:
|
|
14
|
-
name: Sébastien Lorber
|
|
15
|
-
title: Docusaurus maintainer
|
|
16
|
-
url: https://sebastienlorber.com
|
|
17
|
-
image_url: https://github.com/slorber.png
|
|
18
|
-
page:
|
|
19
|
-
# customize the url of the author page at /blog/authors/<permalink>
|
|
20
|
-
permalink: '/all-sebastien-lorber-articles'
|
|
21
|
-
socials:
|
|
22
|
-
x: sebastienlorber
|
|
23
|
-
linkedin: sebastienlorber
|
|
24
|
-
github: slorber
|
|
25
|
-
newsletter: https://thisweekinreact.com
|
package/docs-site/blog/tags.yml
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
facebook:
|
|
2
|
-
label: Facebook
|
|
3
|
-
permalink: /facebook
|
|
4
|
-
description: Facebook tag description
|
|
5
|
-
|
|
6
|
-
hello:
|
|
7
|
-
label: Hello
|
|
8
|
-
permalink: /hello
|
|
9
|
-
description: Hello tag description
|
|
10
|
-
|
|
11
|
-
docusaurus:
|
|
12
|
-
label: Docusaurus
|
|
13
|
-
permalink: /docusaurus
|
|
14
|
-
description: Docusaurus tag description
|
|
15
|
-
|
|
16
|
-
hola:
|
|
17
|
-
label: Hola
|
|
18
|
-
permalink: /hola
|
|
19
|
-
description: Hola tag description
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
sidebar_position: 12
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# vibecode agent
|
|
6
|
-
|
|
7
|
-
**Agent Mode** - Autonomous multi-module builder with self-healing.
|
|
8
|
-
|
|
9
|
-
## Synopsis
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
vibecode agent <description> [options]
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Description
|
|
16
|
-
|
|
17
|
-
The `agent` command is designed for complex projects with multiple modules. It decomposes your project into independent modules, builds them sequentially, and uses self-healing to recover from errors.
|
|
18
|
-
|
|
19
|
-
## Arguments
|
|
20
|
-
|
|
21
|
-
| Argument | Description |
|
|
22
|
-
|----------|-------------|
|
|
23
|
-
| `description` | Description of the project to build |
|
|
24
|
-
|
|
25
|
-
## Options
|
|
26
|
-
|
|
27
|
-
| Option | Description |
|
|
28
|
-
|--------|-------------|
|
|
29
|
-
| `-n, --new` | Create new project directory |
|
|
30
|
-
| `-v, --verbose` | Show detailed progress |
|
|
31
|
-
| `--analyze` | Analyze project without building |
|
|
32
|
-
| `--status` | Show agent status and memory |
|
|
33
|
-
| `--report` | Export memory report |
|
|
34
|
-
| `--clear` | Clear agent memory |
|
|
35
|
-
| `--force` | Force operation |
|
|
36
|
-
| `--json` | Output as JSON |
|
|
37
|
-
| `--max-retries <n>` | Max retries per module (default: 3) |
|
|
38
|
-
| `--skip-tests` | Skip tests after each module |
|
|
39
|
-
| `--continue` | Continue on module failure |
|
|
40
|
-
|
|
41
|
-
## Examples
|
|
42
|
-
|
|
43
|
-
### Build Complex Project
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
vibecode agent "E-commerce platform with user auth, product catalog, shopping cart, and checkout"
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
### Create New Project
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
vibecode agent "Blog platform with CMS" --new
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
### Analyze Without Building
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
vibecode agent "My project" --analyze
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
### Check Agent Status
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
vibecode agent --status
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
### Export Report
|
|
68
|
-
|
|
69
|
-
```bash
|
|
70
|
-
vibecode agent --report
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
## How It Works
|
|
74
|
-
|
|
75
|
-
### 1. Decomposition
|
|
76
|
-
|
|
77
|
-
The agent analyzes your description and breaks it into modules:
|
|
78
|
-
|
|
79
|
-
```
|
|
80
|
-
📦 Project: E-commerce Platform
|
|
81
|
-
├── 🔐 auth (User authentication)
|
|
82
|
-
├── 📦 products (Product catalog)
|
|
83
|
-
├── 🛒 cart (Shopping cart)
|
|
84
|
-
├── 💳 checkout (Payment processing)
|
|
85
|
-
└── 📊 admin (Admin dashboard)
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
### 2. Sequential Building
|
|
89
|
-
|
|
90
|
-
Each module is built in dependency order with its own:
|
|
91
|
-
- Requirements capture
|
|
92
|
-
- Code generation
|
|
93
|
-
- Test execution
|
|
94
|
-
- Verification
|
|
95
|
-
|
|
96
|
-
### 3. Self-Healing
|
|
97
|
-
|
|
98
|
-
If a module fails:
|
|
99
|
-
1. Analyze the error
|
|
100
|
-
2. Generate fix
|
|
101
|
-
3. Retry build
|
|
102
|
-
4. Max 3 attempts per module
|
|
103
|
-
|
|
104
|
-
### 4. Memory System
|
|
105
|
-
|
|
106
|
-
The agent remembers:
|
|
107
|
-
- Successful patterns
|
|
108
|
-
- Common errors
|
|
109
|
-
- Fix strategies
|
|
110
|
-
|
|
111
|
-
## Progress Dashboard
|
|
112
|
-
|
|
113
|
-
```
|
|
114
|
-
╭────────────────────────────────────────────────────────────╮
|
|
115
|
-
│ 🤖 VIBECODE AGENT │
|
|
116
|
-
│ │
|
|
117
|
-
│ Project: e-commerce-platform │
|
|
118
|
-
│ Mode: build │
|
|
119
|
-
│ │
|
|
120
|
-
│ [████████████████░░░░░░░░░░░░░░░░░░░░░░] 40% │
|
|
121
|
-
│ │
|
|
122
|
-
│ ✓ auth │
|
|
123
|
-
│ ✓ products │
|
|
124
|
-
│ ◐ cart (building...) │
|
|
125
|
-
│ ○ checkout │
|
|
126
|
-
│ ○ admin │
|
|
127
|
-
│ │
|
|
128
|
-
│ Elapsed: 5m 32s │ ETA: ~8m remaining │
|
|
129
|
-
│ │
|
|
130
|
-
╰────────────────────────────────────────────────────────────╯
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
## Memory Report
|
|
134
|
-
|
|
135
|
-
```bash
|
|
136
|
-
vibecode agent --report
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
Output:
|
|
140
|
-
```markdown
|
|
141
|
-
# Vibecode Agent Memory Report
|
|
142
|
-
|
|
143
|
-
## Statistics
|
|
144
|
-
- Total builds: 15
|
|
145
|
-
- Success rate: 87%
|
|
146
|
-
- Modules built: 42
|
|
147
|
-
|
|
148
|
-
## Common Patterns
|
|
149
|
-
- Next.js App Router: 8 times
|
|
150
|
-
- Prisma + PostgreSQL: 5 times
|
|
151
|
-
- Tailwind CSS: 12 times
|
|
152
|
-
|
|
153
|
-
## Learned Fixes
|
|
154
|
-
- TypeScript strict mode: 3 applications
|
|
155
|
-
- ESLint config: 2 applications
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
## See Also
|
|
159
|
-
|
|
160
|
-
- [Agent Mode Guide](../guides/agent-mode) - In-depth guide
|
|
161
|
-
- [go](./go) - For simpler single-module projects
|
|
162
|
-
- [debug](./debug) - For fixing issues
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
sidebar_position: 14
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# vibecode assist
|
|
6
|
-
|
|
7
|
-
**Expert Mode** - Direct Claude Code access with project context.
|
|
8
|
-
|
|
9
|
-
## Synopsis
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
vibecode assist [prompt...] [options]
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Alias
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
vibecode expert [prompt...]
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Description
|
|
22
|
-
|
|
23
|
-
The `assist` command provides direct access to Claude Code with full project context injected. Use it for quick questions, code explanations, or custom tasks.
|
|
24
|
-
|
|
25
|
-
## Options
|
|
26
|
-
|
|
27
|
-
| Option | Description |
|
|
28
|
-
|--------|-------------|
|
|
29
|
-
| `--no-context` | Skip context injection |
|
|
30
|
-
|
|
31
|
-
## Examples
|
|
32
|
-
|
|
33
|
-
### Ask a Question
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
vibecode assist "How do I add authentication to this app?"
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
### Code Explanation
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
vibecode assist "Explain the user service module"
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
### Custom Task
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
vibecode assist "Add error handling to all API routes"
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
### Without Context
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
vibecode assist "What is the best way to handle state in React?" --no-context
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
## Context Injection
|
|
58
|
-
|
|
59
|
-
By default, `assist` injects project context including:
|
|
60
|
-
|
|
61
|
-
- Current state and session info
|
|
62
|
-
- Contract and blueprint (if available)
|
|
63
|
-
- Recent build history
|
|
64
|
-
- Error patterns
|
|
65
|
-
|
|
66
|
-
This helps Claude Code provide more relevant responses.
|
|
67
|
-
|
|
68
|
-
## See Also
|
|
69
|
-
|
|
70
|
-
- [debug](./debug) - For bug fixing
|
|
71
|
-
- [go](./go) - For building new features
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
sidebar_position: 7
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# vibecode build
|
|
6
|
-
|
|
7
|
-
Manage build process and capture evidence.
|
|
8
|
-
|
|
9
|
-
## Synopsis
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
vibecode build [options]
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Options
|
|
16
|
-
|
|
17
|
-
| Option | Description |
|
|
18
|
-
|--------|-------------|
|
|
19
|
-
| `-s, --start` | Start build process |
|
|
20
|
-
| `-c, --complete` | Mark build complete |
|
|
21
|
-
| `-e, --evidence` | Capture evidence snapshot |
|
|
22
|
-
| `-a, --auto` | Auto-build with Claude Code |
|
|
23
|
-
| `-i, --iterate` | Build-test-fix loop |
|
|
24
|
-
| `-m, --max <n>` | Max iterations |
|
|
25
|
-
| `--strict` | Exit with error if tests fail |
|
|
26
|
-
| `--provider <name>` | Provider (default: claude-code) |
|
|
27
|
-
|
|
28
|
-
## Examples
|
|
29
|
-
|
|
30
|
-
### Manual Build
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
vibecode build --start
|
|
34
|
-
# ... do work ...
|
|
35
|
-
vibecode build --complete
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### Auto Build
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
vibecode build --auto
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### Iterative Build
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
vibecode build --iterate --max 5
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## See Also
|
|
51
|
-
|
|
52
|
-
- [plan](./plan) - Create plan first
|
|
53
|
-
- [review](./review) - Review after build
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
sidebar_position: 10
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# vibecode config
|
|
6
|
-
|
|
7
|
-
Manage Vibecode configuration.
|
|
8
|
-
|
|
9
|
-
## Synopsis
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
vibecode config [options]
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Options
|
|
16
|
-
|
|
17
|
-
| Option | Description |
|
|
18
|
-
|--------|-------------|
|
|
19
|
-
| `--show` | Show current configuration |
|
|
20
|
-
| `--provider <name>` | Set default AI provider |
|
|
21
|
-
|
|
22
|
-
## Examples
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
# Show config
|
|
26
|
-
vibecode config --show
|
|
27
|
-
|
|
28
|
-
# Set provider
|
|
29
|
-
vibecode config --provider claude-code
|
|
30
|
-
```
|