@nclamvn/vibecode-cli 1.6.0 → 1.8.0

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.
Files changed (70) hide show
  1. package/bin/vibecode.js +101 -1
  2. package/docs-site/README.md +41 -0
  3. package/docs-site/blog/2019-05-28-first-blog-post.md +12 -0
  4. package/docs-site/blog/2019-05-29-long-blog-post.md +44 -0
  5. package/docs-site/blog/2021-08-01-mdx-blog-post.mdx +24 -0
  6. package/docs-site/blog/2021-08-26-welcome/docusaurus-plushie-banner.jpeg +0 -0
  7. package/docs-site/blog/2021-08-26-welcome/index.md +29 -0
  8. package/docs-site/blog/authors.yml +25 -0
  9. package/docs-site/blog/tags.yml +19 -0
  10. package/docs-site/docs/commands/agent.md +162 -0
  11. package/docs-site/docs/commands/assist.md +71 -0
  12. package/docs-site/docs/commands/build.md +53 -0
  13. package/docs-site/docs/commands/config.md +30 -0
  14. package/docs-site/docs/commands/debug.md +173 -0
  15. package/docs-site/docs/commands/doctor.md +34 -0
  16. package/docs-site/docs/commands/go.md +128 -0
  17. package/docs-site/docs/commands/index.md +79 -0
  18. package/docs-site/docs/commands/init.md +42 -0
  19. package/docs-site/docs/commands/learn.md +82 -0
  20. package/docs-site/docs/commands/lock.md +33 -0
  21. package/docs-site/docs/commands/plan.md +29 -0
  22. package/docs-site/docs/commands/review.md +31 -0
  23. package/docs-site/docs/commands/snapshot.md +34 -0
  24. package/docs-site/docs/commands/start.md +32 -0
  25. package/docs-site/docs/commands/status.md +37 -0
  26. package/docs-site/docs/commands/undo.md +83 -0
  27. package/docs-site/docs/configuration.md +72 -0
  28. package/docs-site/docs/faq.md +83 -0
  29. package/docs-site/docs/getting-started.md +119 -0
  30. package/docs-site/docs/guides/agent-mode.md +94 -0
  31. package/docs-site/docs/guides/debug-mode.md +83 -0
  32. package/docs-site/docs/guides/magic-mode.md +107 -0
  33. package/docs-site/docs/installation.md +98 -0
  34. package/docs-site/docs/intro.md +67 -0
  35. package/docs-site/docusaurus.config.ts +141 -0
  36. package/docs-site/package-lock.json +18039 -0
  37. package/docs-site/package.json +48 -0
  38. package/docs-site/sidebars.ts +70 -0
  39. package/docs-site/src/components/HomepageFeatures/index.tsx +72 -0
  40. package/docs-site/src/components/HomepageFeatures/styles.module.css +16 -0
  41. package/docs-site/src/css/custom.css +30 -0
  42. package/docs-site/src/pages/index.module.css +23 -0
  43. package/docs-site/src/pages/index.tsx +44 -0
  44. package/docs-site/src/pages/markdown-page.md +7 -0
  45. package/docs-site/src/theme/Footer/index.tsx +127 -0
  46. package/docs-site/src/theme/Footer/styles.module.css +285 -0
  47. package/docs-site/static/.nojekyll +0 -0
  48. package/docs-site/static/img/docusaurus-social-card.jpg +0 -0
  49. package/docs-site/static/img/docusaurus.png +0 -0
  50. package/docs-site/static/img/favicon.ico +0 -0
  51. package/docs-site/static/img/logo.svg +1 -0
  52. package/docs-site/static/img/undraw_docusaurus_mountain.svg +171 -0
  53. package/docs-site/static/img/undraw_docusaurus_react.svg +170 -0
  54. package/docs-site/static/img/undraw_docusaurus_tree.svg +40 -0
  55. package/docs-site/tsconfig.json +8 -0
  56. package/package.json +2 -1
  57. package/src/commands/ask.js +230 -0
  58. package/src/commands/debug.js +109 -1
  59. package/src/commands/docs.js +167 -0
  60. package/src/commands/git.js +1024 -0
  61. package/src/commands/migrate.js +341 -0
  62. package/src/commands/refactor.js +205 -0
  63. package/src/commands/review.js +126 -1
  64. package/src/commands/security.js +229 -0
  65. package/src/commands/shell.js +486 -0
  66. package/src/commands/test.js +194 -0
  67. package/src/commands/watch.js +556 -0
  68. package/src/debug/image-analyzer.js +304 -0
  69. package/src/index.js +27 -0
  70. package/src/utils/image.js +222 -0
package/bin/vibecode.js CHANGED
@@ -23,6 +23,16 @@ import {
23
23
  assistCommand,
24
24
  undoCommand,
25
25
  learnCommand,
26
+ gitCommand,
27
+ watchCommand,
28
+ shellCommand,
29
+ // Phase K Commands
30
+ testCommand,
31
+ docsCommand,
32
+ refactorCommand,
33
+ securityCommand,
34
+ askCommand,
35
+ migrateCommand,
26
36
  VERSION
27
37
  } from '../src/index.js';
28
38
 
@@ -95,6 +105,8 @@ program
95
105
  .command('review')
96
106
  .description('Review build against acceptance criteria')
97
107
  .option('--skip-manual', 'Skip manual verification prompts')
108
+ .option('--ai', 'AI-powered code review')
109
+ .option('-p, --path <dir>', 'Specific path to review')
98
110
  .action(reviewCommand);
99
111
 
100
112
  program
@@ -160,7 +172,8 @@ program
160
172
  .option('-i, --interactive', 'Interactive debug session (default if no args)')
161
173
  .option('-a, --auto', 'Auto-scan project for errors and fix')
162
174
  .option('-l, --log <text>', 'Provide error log directly')
163
- .option('--image <path>', 'Provide error screenshot')
175
+ .option('--image <path>', 'Analyze error from screenshot file')
176
+ .option('--clipboard', 'Analyze error from clipboard image')
164
177
  .option('--attempts <n>', 'Max fix attempts (default: 3)', parseInt)
165
178
  .option('-v, --verbose', 'Show detailed output')
166
179
  .option('-q, --quiet', 'Minimal output')
@@ -203,6 +216,93 @@ program
203
216
  .option('-f, --force', 'Skip confirmation prompts')
204
217
  .action(learnCommand);
205
218
 
219
+ // ─────────────────────────────────────────────────────────────────────────────
220
+ // Phase I Commands - Git Integration
221
+ // ─────────────────────────────────────────────────────────────────────────────
222
+
223
+ program
224
+ .command('git [subcommand] [args...]')
225
+ .description('Git integration - commit, diff, branch, push with enhanced UI')
226
+ .option('-a, --auto', 'Auto-stage all changes before commit')
227
+ .option('-m, --message <msg>', 'Commit message')
228
+ .option('--staged', 'Show only staged changes (for diff)')
229
+ .option('--review', 'AI-powered diff review')
230
+ .option('--count <n>', 'Number of commits to show (for log)', parseInt)
231
+ .option('--all', 'Include all files (for add)')
232
+ .action((subcommand, args, options) => {
233
+ gitCommand(subcommand, args || [], options);
234
+ });
235
+
236
+ // ─────────────────────────────────────────────────────────────────────────────
237
+ // Phase I2 Commands - File Watcher
238
+ // ─────────────────────────────────────────────────────────────────────────────
239
+
240
+ program
241
+ .command('watch')
242
+ .description('Watch mode - auto-test/lint/build on file changes')
243
+ .option('-d, --dir <path>', 'Directory to watch')
244
+ .option('-t, --test', 'Run tests on change')
245
+ .option('-l, --lint', 'Run lint on change')
246
+ .option('-b, --build', 'Run build on change')
247
+ .option('-T, --typecheck', 'Run TypeScript check on change')
248
+ .option('-a, --all', 'Run all checks (test, lint, typecheck)')
249
+ .option('-n, --notify', 'Desktop notifications')
250
+ .option('-i, --immediate', 'Run checks immediately on start')
251
+ .action(watchCommand);
252
+
253
+ // ─────────────────────────────────────────────────────────────────────────────
254
+ // Phase I3 Commands - Shell Mode
255
+ // ─────────────────────────────────────────────────────────────────────────────
256
+
257
+ program
258
+ .command('shell')
259
+ .alias('$')
260
+ .description('Interactive shell with vibecode context and AI assistance')
261
+ .action(shellCommand);
262
+
263
+ // ─────────────────────────────────────────────────────────────────────────────
264
+ // Phase K Commands - Maximize Claude Code
265
+ // ─────────────────────────────────────────────────────────────────────────────
266
+
267
+ program
268
+ .command('test [path]')
269
+ .description('🧪 Test generation and running')
270
+ .option('-g, --generate', 'Generate tests with AI')
271
+ .option('-r, --run', 'Run tests')
272
+ .option('-c, --coverage', 'Show coverage')
273
+ .action(testCommand);
274
+
275
+ program
276
+ .command('docs')
277
+ .description('📚 Generate documentation with AI')
278
+ .option('-g, --generate', 'Generate docs')
279
+ .option('-t, --type <type>', 'Doc type: readme, api, architecture, jsdoc, all')
280
+ .action(docsCommand);
281
+
282
+ program
283
+ .command('refactor [path]')
284
+ .description('🔄 AI-powered code refactoring')
285
+ .option('-t, --type <type>', 'Type: clean, dry, performance, architecture, modularize, modernize')
286
+ .option('-d, --description <desc>', 'Custom refactoring description')
287
+ .action(refactorCommand);
288
+
289
+ program
290
+ .command('security')
291
+ .description('🔒 Security audit with AI analysis')
292
+ .option('-f, --fix', 'Auto-fix security issues')
293
+ .action(securityCommand);
294
+
295
+ program
296
+ .command('ask [question...]')
297
+ .description('💬 Ask questions about your codebase')
298
+ .action(askCommand);
299
+
300
+ program
301
+ .command('migrate [description...]')
302
+ .description('🔄 AI-powered code migration')
303
+ .option('-p, --path <path>', 'Specific path to migrate')
304
+ .action(migrateCommand);
305
+
206
306
  // ─────────────────────────────────────────────────────────────────────────────
207
307
  // Parse - If no command provided, show interactive wizard
208
308
  // ─────────────────────────────────────────────────────────────────────────────
@@ -0,0 +1,41 @@
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.
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,44 @@
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
@@ -0,0 +1,24 @@
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>
@@ -0,0 +1,29 @@
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
+ ![Docusaurus Plushie](./docusaurus-plushie-banner.jpeg)
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.
@@ -0,0 +1,25 @@
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
@@ -0,0 +1,19 @@
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
@@ -0,0 +1,162 @@
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
@@ -0,0 +1,71 @@
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
@@ -0,0 +1,53 @@
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
@@ -0,0 +1,30 @@
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
+ ```