vibe-me 2.0.0 → 3.1.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.
- package/README.md +475 -85
- package/Vibe.bat +14 -10
- package/bin/vibes.js +634 -111
- package/package.json +2 -2
- package/templates/ai.md +49 -0
- package/templates/business.md +52 -0
- package/templates/context.md +48 -0
- package/templates/decisions.md +8 -5
- package/templates/experiments.md +36 -0
- package/templates/market.md +39 -0
- package/templates/metrics.md +35 -0
- package/templates/product.md +54 -0
- package/templates/risks.md +44 -0
- package/templates/users.md +47 -0
package/README.md
CHANGED
|
@@ -1,161 +1,551 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# 🌀 vibes
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
### Every project should contain a continuously maintained,<br>AI-readable and human-readable model of itself.
|
|
6
|
+
|
|
7
|
+
[](https://www.npmjs.com/package/vibe-me)
|
|
8
|
+
[](LICENSE)
|
|
9
|
+
[](https://nodejs.org)
|
|
10
|
+
[](package.json)
|
|
11
|
+
|
|
12
|
+
<br>
|
|
13
|
+
|
|
14
|
+
**One command. Full project memory. Total clarity.**
|
|
15
|
+
|
|
16
|
+
`vibes` creates a `.vibe/` semantic layer and a standardized `docs/` folder —<br>
|
|
17
|
+
so any human or AI can understand your project, your product, and your business<br>
|
|
18
|
+
without reading the source code.
|
|
19
|
+
|
|
20
|
+
<br>
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx vibe-me all
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
<br>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## 🌊 We're Building in the AI Age — But Our Projects Are Still Dumb
|
|
32
|
+
|
|
33
|
+
AI coding agents are everywhere. Cursor, Copilot, Windsurf, Claude Code, Gemini — they can all write code. But every one of them hits the same wall:
|
|
34
|
+
|
|
35
|
+
**They don't understand your project.**
|
|
36
|
+
|
|
37
|
+
They can read your files. They can parse your syntax. But they can't answer the questions that actually matter:
|
|
38
|
+
|
|
39
|
+
- *Why does this exist?*
|
|
40
|
+
- *What were the alternatives that were rejected?*
|
|
41
|
+
- *What's the user actually trying to do — and how do they feel?*
|
|
42
|
+
- *What's broken right now? What's the current focus?*
|
|
43
|
+
- *What should I absolutely NOT touch?*
|
|
44
|
+
- *Is this a business? What's the pricing rationale? Who are the competitors?*
|
|
45
|
+
|
|
46
|
+
So what happens? Your AI agent guesses. It writes plausible-looking code that violates assumptions nobody documented. You spend an hour debugging something that should've taken five minutes. Sound familiar?
|
|
47
|
+
|
|
48
|
+
### The Research Question
|
|
49
|
+
|
|
50
|
+
> **What is the minimum set of files that lets a human or AI understand an entire project — not just the code, but the product, the business, and the current momentum — without reading the source?**
|
|
51
|
+
|
|
52
|
+
We tested this across production repositories — web apps, CLI tools, embedded systems, game engines, blockchain protocols — and found the answer:
|
|
53
|
+
|
|
54
|
+
**15 files for project memory. 11 files for operational docs.**
|
|
55
|
+
|
|
56
|
+
Not a wiki. Not a Confluence graveyard. Not a 200-page design doc nobody reads. Just well-structured files that capture everything that matters — from repository architecture to business strategy to user psychology.
|
|
57
|
+
|
|
58
|
+
### Before and After
|
|
59
|
+
|
|
60
|
+
<table>
|
|
61
|
+
<tr>
|
|
62
|
+
<td width="50%">
|
|
63
|
+
|
|
64
|
+
**❌ Without vibes**
|
|
65
|
+
- AI agent reads 50 files to guess the architecture
|
|
66
|
+
- New developer asks "why is it built this way?" — nobody remembers
|
|
67
|
+
- Known bugs live in someone's head, not in a file
|
|
68
|
+
- Every AI session starts from scratch
|
|
69
|
+
- Nobody knows the pricing rationale or competitive landscape
|
|
70
|
+
- User frustrations are invisible — product decisions are guesswork
|
|
71
|
+
- Documentation rots because nobody owns it
|
|
72
|
+
|
|
73
|
+
</td>
|
|
74
|
+
<td width="50%">
|
|
75
|
+
|
|
76
|
+
**✅ With vibes**
|
|
77
|
+
- AI agent reads `.vibe/` in 3 seconds, understands everything
|
|
78
|
+
- Decisions recorded with rejected alternatives and tradeoffs
|
|
79
|
+
- Issues tracked, resolved issues archived, context is live
|
|
80
|
+
- Every AI session builds on the last one
|
|
81
|
+
- Business strategy, pricing, and market position are documented
|
|
82
|
+
- User personas include emotional reality — fears, confusion, goals
|
|
83
|
+
- Documentation stays fresh because the AI updates it
|
|
84
|
+
|
|
85
|
+
</td>
|
|
86
|
+
</tr>
|
|
87
|
+
</table>
|
|
88
|
+
|
|
89
|
+
> **This isn't documentation. It's a digital twin of your entire venture.**<br>
|
|
90
|
+
> Repository memory. Product memory. Business memory. AI instructions. Living context.<br>
|
|
91
|
+
> It's the difference between a repository and a *project that explains itself.*
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## ✨ The Solution
|
|
96
|
+
|
|
97
|
+
`vibes` generates two complementary layers:
|
|
98
|
+
|
|
99
|
+
<table>
|
|
100
|
+
<tr>
|
|
101
|
+
<td width="50%" valign="top">
|
|
102
|
+
|
|
103
|
+
### 🧠 `.vibe/` — Project Memory
|
|
104
|
+
*15 files covering 5 layers of understanding*
|
|
6
105
|
|
|
7
106
|
```
|
|
8
107
|
.vibe/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
├──
|
|
12
|
-
├──
|
|
13
|
-
├──
|
|
14
|
-
|
|
108
|
+
│
|
|
109
|
+
│ ── Core (repository memory)
|
|
110
|
+
├── purpose.md What & why
|
|
111
|
+
├── architecture.md Systems & connections
|
|
112
|
+
├── flows.md User journeys
|
|
113
|
+
├── entities.md Important nouns
|
|
114
|
+
├── decisions.md Why, with dependency graph
|
|
115
|
+
├── state.json Machine-readable health
|
|
116
|
+
│
|
|
117
|
+
│ ── Living Context
|
|
118
|
+
├── context.md What's happening NOW
|
|
119
|
+
│
|
|
120
|
+
│ ── AI Agent Guide
|
|
121
|
+
├── ai.md Safe zones & rules
|
|
122
|
+
│
|
|
123
|
+
│ ── Product Memory
|
|
124
|
+
├── product.md Vision & retention
|
|
125
|
+
├── users.md Personas & emotions
|
|
126
|
+
├── metrics.md What numbers matter
|
|
127
|
+
├── experiments.md What we're testing
|
|
128
|
+
│
|
|
129
|
+
│ ── Business Memory
|
|
130
|
+
├── business.md Strategy & revenue
|
|
131
|
+
├── market.md Competitors & positioning
|
|
132
|
+
└── risks.md Threats & mitigations
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
**Not a business?** The AI writes "N/A" and moves on.<br>
|
|
136
|
+
**Not a product?** Same thing. Only relevant files get filled.
|
|
137
|
+
|
|
138
|
+
</td>
|
|
139
|
+
<td width="50%" valign="top">
|
|
140
|
+
|
|
141
|
+
### 📄 `docs/` — Operational Layer
|
|
142
|
+
*11 files for implementation-level documentation*
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
docs/
|
|
146
|
+
├── README.md Executive summary
|
|
147
|
+
├── topology.md File & folder map
|
|
148
|
+
├── architecture.md Component-level details
|
|
149
|
+
├── api.md API endpoints & formats
|
|
150
|
+
├── issues.md Open bugs & blockers
|
|
151
|
+
├── resolved.md Closed issues archive
|
|
152
|
+
├── roadmap.md Milestones & priorities
|
|
153
|
+
├── developer_guide.md Setup, build, test, deploy
|
|
154
|
+
├── troubleshooting.md Common errors & fixes
|
|
155
|
+
├── glossary.md Project-specific terms
|
|
156
|
+
└── decisions/ Architecture decision records
|
|
15
157
|
```
|
|
16
158
|
|
|
17
|
-
|
|
159
|
+
<br>
|
|
18
160
|
|
|
19
|
-
|
|
161
|
+
**`.vibe/` = intent** (survives a rewrite)<br>
|
|
162
|
+
**`docs/` = implementation** (changes with the code)
|
|
20
163
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
- **What** the system *is* (intent, not implementation)
|
|
164
|
+
</td>
|
|
165
|
+
</tr>
|
|
166
|
+
</table>
|
|
25
167
|
|
|
26
|
-
|
|
168
|
+
---
|
|
27
169
|
|
|
28
|
-
## Quick Start
|
|
170
|
+
## 🚀 Quick Start
|
|
29
171
|
|
|
30
|
-
### Option 1: npx (no install)
|
|
172
|
+
### Option 1: npx (no install needed)
|
|
31
173
|
|
|
32
174
|
```bash
|
|
33
|
-
|
|
175
|
+
# Scaffold everything at once
|
|
176
|
+
npx vibe-me all
|
|
177
|
+
|
|
178
|
+
# Or individually:
|
|
179
|
+
npx vibe-me init # .vibe/ only (15 files)
|
|
180
|
+
npx vibe-me docs # docs/ only (11 files)
|
|
34
181
|
```
|
|
35
182
|
|
|
36
183
|
### Option 2: Global install
|
|
37
184
|
|
|
38
185
|
```bash
|
|
39
|
-
npm install -g
|
|
40
|
-
vibes
|
|
186
|
+
npm install -g vibe-me
|
|
187
|
+
vibes all
|
|
41
188
|
```
|
|
42
189
|
|
|
43
|
-
### Option 3:
|
|
190
|
+
### Option 3: One-click (Windows)
|
|
44
191
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
192
|
+
Download [`Vibe.bat`](Vibe.bat), drop it in any project folder, and double-click it.
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## 🛠️ Commands
|
|
197
|
+
|
|
198
|
+
| Command | Description |
|
|
199
|
+
|:---|:---|
|
|
200
|
+
| `vibes init` | Create `.vibe/` with the full suite — 15 files + guide |
|
|
201
|
+
| `vibes docs` | Create `docs/` operational documentation — 11 files |
|
|
202
|
+
| `vibes all` | Create both `.vibe/` and `docs/` at once |
|
|
203
|
+
| `vibes check` | Validate all files — catches unfilled templates, empty sections, missing structure |
|
|
204
|
+
| `vibes status` | Quick health dashboard with filled/N-A/empty counts |
|
|
205
|
+
| `vibes reset` | Delete and recreate everything |
|
|
206
|
+
| | |
|
|
207
|
+
| `vibes hub <path>` | Set up a central hub — git inits, creates `_insights/`, saves config |
|
|
208
|
+
| `vibes export` | Export `.vibe/` + `docs/` from current project to your hub |
|
|
209
|
+
| `vibes help` | Show all commands |
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
## 🤖 The AI Workflow
|
|
214
|
+
|
|
215
|
+
After scaffolding, point your AI coding agent at the project and say:
|
|
216
|
+
|
|
217
|
+
> *"Read `.vibe/VIBE_GUIDE.md`, then analyze this codebase and fill out all the skeleton files in `.vibe/` and `docs/`. For files that aren't relevant (like `business.md` for a library), write N/A with a brief explanation. Ask me any questions you can't answer from the code."*
|
|
218
|
+
|
|
219
|
+
The included `VIBE_GUIDE.md` (33KB) contains everything the agent needs:
|
|
220
|
+
- Detailed instructions for each file
|
|
221
|
+
- Examples across 6+ project types (web apps, CLI tools, games, embedded firmware, libraries, mobile)
|
|
222
|
+
- Anti-patterns and common mistakes
|
|
223
|
+
- Quality checklist
|
|
224
|
+
- The discovery protocol (what to scan, what to ask the user)
|
|
225
|
+
|
|
226
|
+
### The Update Protocol
|
|
227
|
+
|
|
228
|
+
Every time an AI agent touches a repository with `.vibe/`, the workflow becomes:
|
|
229
|
+
|
|
230
|
+
```
|
|
231
|
+
Read .vibe/ to understand the project
|
|
232
|
+
↓
|
|
233
|
+
Make code changes
|
|
234
|
+
↓
|
|
235
|
+
Update .vibe/ + docs/ to reflect new understanding
|
|
236
|
+
↓
|
|
237
|
+
Commit everything together
|
|
49
238
|
```
|
|
50
239
|
|
|
51
|
-
|
|
240
|
+
> The semantic model is a **first-class citizen** — not an afterthought.
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
## 🎯 The Core Principle
|
|
245
|
+
|
|
246
|
+
> **Describe intent, not implementation.**
|
|
247
|
+
|
|
248
|
+
Every line in `.vibe/` should pass this test:
|
|
249
|
+
|
|
250
|
+
*"Would this still be true if we rewrote the entire codebase in a different language?"*
|
|
52
251
|
|
|
53
|
-
|
|
252
|
+
| | Intent ✅ | Implementation ❌ |
|
|
253
|
+
|:---|:---|:---|
|
|
254
|
+
| **Architecture** | "Frontend talks to API over HTTP" | "`UserController` calls `db.query()`" |
|
|
255
|
+
| **Decisions** | "We chose SQLite because <100 writes/hour" | "The `DatabaseService` class has a `connect()` method" |
|
|
256
|
+
| **Flows** | "User uploads document → AI analyzes → results shown" | "`POST /api/docs` calls `processDocument()` in `services/ai.ts`" |
|
|
257
|
+
| **Entities** | "Invoice — created by billing system, immutable after send" | "`Invoice` model has fields `id`, `amount`, `created_at`" |
|
|
54
258
|
|
|
55
|
-
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## 🔍 Quality Validation
|
|
262
|
+
|
|
263
|
+
`vibes check` doesn't just count lines — it catches real problems:
|
|
56
264
|
|
|
57
265
|
```bash
|
|
58
|
-
|
|
59
|
-
vibes init
|
|
266
|
+
vibes check
|
|
60
267
|
```
|
|
61
268
|
|
|
62
|
-
|
|
269
|
+
**On a freshly scaffolded project (before AI fills it out):**
|
|
270
|
+
```
|
|
271
|
+
🔍 vibes check
|
|
63
272
|
|
|
64
|
-
|
|
273
|
+
── .vibe/ ──
|
|
65
274
|
|
|
66
|
-
|
|
275
|
+
✖ purpose.md — still contains template instructions (unfilled)
|
|
276
|
+
✖ architecture.md — still contains template instructions (unfilled)
|
|
277
|
+
✖ flows.md — still contains template instructions (unfilled)
|
|
278
|
+
...
|
|
67
279
|
|
|
68
|
-
|
|
280
|
+
Result: 24 failed, 1 warnings, 0 passed
|
|
281
|
+
```
|
|
69
282
|
|
|
70
|
-
|
|
283
|
+
**After your AI agent fills everything out:**
|
|
284
|
+
```
|
|
285
|
+
🔍 vibes check
|
|
286
|
+
|
|
287
|
+
── .vibe/ ──
|
|
288
|
+
|
|
289
|
+
✔ purpose.md — 33 lines
|
|
290
|
+
✔ architecture.md — 86 lines
|
|
291
|
+
✔ flows.md — 144 lines
|
|
292
|
+
✔ entities.md — 135 lines
|
|
293
|
+
⚠ decisions.md — 91 lines (no dependency graph fields)
|
|
294
|
+
✔ state.json — 82 lines
|
|
295
|
+
✔ context.md — 28 lines
|
|
296
|
+
✔ ai.md — 45 lines
|
|
297
|
+
✔ product.md — 62 lines
|
|
298
|
+
✔ users.md — 78 lines
|
|
299
|
+
✔ metrics.md — 24 lines
|
|
300
|
+
✔ experiments.md — 19 lines
|
|
301
|
+
⊘ business.md — N/A (not applicable)
|
|
302
|
+
⊘ market.md — N/A (not applicable)
|
|
303
|
+
✔ risks.md — 34 lines
|
|
304
|
+
|
|
305
|
+
Result: 2 N/A, 1 warnings, 22 passed
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
What it catches:
|
|
309
|
+
- **Unfilled templates** — files that still have `INSTRUCTIONS FOR AI AGENT` (hard fail)
|
|
310
|
+
- **Missing structure** — `purpose.md` without a "NOT do" section, `decisions.md` without dependency graph
|
|
311
|
+
- **Empty bullets/tables** — placeholder content that wasn't filled in
|
|
312
|
+
- **Stale data** — `state.json` not updated in 30+ days
|
|
313
|
+
- **Missing emotional reality** — `users.md` without frustrations, fears, or goals
|
|
314
|
+
- **N/A files** — recognized and not penalized
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## 🗂️ Vibes Hub — Cross-Project Sync + Intelligence
|
|
71
319
|
|
|
72
|
-
|
|
320
|
+
When you're running vibes across multiple projects (and multiple computers), the **hub** lets you collect, compare, and analyze them all in one place.
|
|
321
|
+
|
|
322
|
+
### One-time setup
|
|
73
323
|
|
|
74
324
|
```bash
|
|
75
|
-
vibes
|
|
325
|
+
vibes hub ~/Documents/VibeHub
|
|
76
326
|
```
|
|
77
327
|
|
|
78
|
-
|
|
79
|
-
- `purpose.md` has a "NOT do" section
|
|
80
|
-
- `decisions.md` has 2+ decisions
|
|
81
|
-
- `entities.md` has "What depends on it?" fields
|
|
82
|
-
- `flows.md` has 2+ user flows
|
|
83
|
-
- `state.json` is valid JSON and not stale (>30 days)
|
|
328
|
+
This creates a folder with git, a README, and an `_insights/` intelligence layer — then walks you through connecting it to a private GitHub repo.
|
|
84
329
|
|
|
85
|
-
###
|
|
330
|
+
### Export from any project
|
|
86
331
|
|
|
87
332
|
```bash
|
|
88
|
-
|
|
333
|
+
cd your-project
|
|
334
|
+
vibes export
|
|
89
335
|
```
|
|
90
336
|
|
|
91
|
-
|
|
337
|
+
Copies `.vibe/` and `docs/` into your hub, organized by project name. Auto-generates an `index.md` dashboard.
|
|
92
338
|
|
|
93
|
-
|
|
339
|
+
### Sync across machines
|
|
94
340
|
|
|
95
|
-
|
|
341
|
+
Push from one machine, pull on another. Same private repo, all your projects.
|
|
342
|
+
|
|
343
|
+
### Cross-project intelligence
|
|
96
344
|
|
|
97
|
-
|
|
345
|
+
After exporting 3+ projects, tell your AI agent:
|
|
98
346
|
|
|
99
|
-
|
|
100
|
-
- ❌ "The `DatabaseService` class has a `connect()` method"
|
|
101
|
-
- ✅ "User uploads document → AI analyzes → results displayed"
|
|
102
|
-
- ❌ "POST /api/documents calls `processDocument()` in `services/ai.ts`"
|
|
347
|
+
> *"Read `_insights/ANALYZE.md` in my Vibes Hub and follow the instructions."*
|
|
103
348
|
|
|
104
|
-
|
|
349
|
+
The AI reads every project's `.vibe/` files and fills out:
|
|
105
350
|
|
|
106
|
-
|
|
351
|
+
| File | What it finds |
|
|
352
|
+
|:---|:---|
|
|
353
|
+
| `_insights/patterns.md` | Architecture, security, and tech stack patterns across projects |
|
|
354
|
+
| `_insights/standards.md` | Universal rules that should apply everywhere |
|
|
355
|
+
| `_insights/opportunities.md` | "Omni does X well → JustLegal should adopt it" |
|
|
107
356
|
|
|
108
357
|
```
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
358
|
+
VibeHub/
|
|
359
|
+
├── index.md Auto-generated dashboard
|
|
360
|
+
├── _insights/
|
|
361
|
+
│ ├── ANALYZE.md Prompt for AI analysis
|
|
362
|
+
│ ├── patterns.md Cross-project patterns
|
|
363
|
+
│ ├── standards.md Universal standards
|
|
364
|
+
│ └── opportunities.md Transferable improvements
|
|
365
|
+
├── Omni/
|
|
366
|
+
│ ├── .vibe/
|
|
367
|
+
│ └── docs/
|
|
368
|
+
├── JustLegal/
|
|
369
|
+
│ ├── .vibe/
|
|
370
|
+
│ └── docs/
|
|
371
|
+
└── ...
|
|
116
372
|
```
|
|
117
373
|
|
|
118
|
-
|
|
374
|
+
One project's best practice becomes every project's standard.
|
|
119
375
|
|
|
120
|
-
|
|
376
|
+
---
|
|
377
|
+
|
|
378
|
+
## 🌍 Works With Everything
|
|
121
379
|
|
|
122
380
|
`.vibe/` is language-agnostic. It works for:
|
|
123
381
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
382
|
+
<table>
|
|
383
|
+
<tr>
|
|
384
|
+
<td>
|
|
385
|
+
|
|
386
|
+
**Languages**
|
|
387
|
+
- Python
|
|
388
|
+
- TypeScript / JavaScript
|
|
389
|
+
- Go
|
|
390
|
+
- Rust
|
|
391
|
+
- C# / .NET
|
|
392
|
+
- Java
|
|
393
|
+
- C / C++
|
|
394
|
+
- Swift
|
|
395
|
+
|
|
396
|
+
</td>
|
|
397
|
+
<td>
|
|
398
|
+
|
|
399
|
+
**Frameworks**
|
|
400
|
+
- React / Next.js / Vue
|
|
401
|
+
- Django / FastAPI / Flask
|
|
402
|
+
- Spring / Rails
|
|
403
|
+
- Unity / Unreal / Godot
|
|
404
|
+
- React Native / Flutter
|
|
405
|
+
- Express / NestJS
|
|
406
|
+
- Tauri / Electron
|
|
407
|
+
|
|
408
|
+
</td>
|
|
409
|
+
<td>
|
|
410
|
+
|
|
411
|
+
**Project Types**
|
|
412
|
+
- Web applications
|
|
413
|
+
- CLI tools
|
|
414
|
+
- Mobile apps
|
|
415
|
+
- Libraries & packages
|
|
416
|
+
- Microservices
|
|
417
|
+
- Embedded firmware
|
|
418
|
+
- Game engines
|
|
419
|
+
- Monorepos
|
|
420
|
+
|
|
421
|
+
</td>
|
|
422
|
+
</tr>
|
|
423
|
+
</table>
|
|
129
424
|
|
|
130
425
|
Because it describes **what** and **why**, not **how**.
|
|
131
426
|
|
|
132
|
-
|
|
427
|
+
---
|
|
428
|
+
|
|
429
|
+
## 📁 Repository Structure
|
|
133
430
|
|
|
134
431
|
```
|
|
135
432
|
Vibes/
|
|
136
|
-
├── bin/
|
|
137
|
-
|
|
138
|
-
|
|
433
|
+
├── bin/
|
|
434
|
+
│ └── vibes.js CLI (zero dependencies)
|
|
435
|
+
├── templates/
|
|
436
|
+
│ ├── purpose.md ── Core
|
|
139
437
|
│ ├── architecture.md
|
|
140
438
|
│ ├── flows.md
|
|
141
439
|
│ ├── entities.md
|
|
142
|
-
│ ├── decisions.md
|
|
143
|
-
│
|
|
440
|
+
│ ├── decisions.md (with dependency graph)
|
|
441
|
+
│ ├── state.json
|
|
442
|
+
│ ├── context.md ── Living Context
|
|
443
|
+
│ ├── ai.md ── AI Agent Guide
|
|
444
|
+
│ ├── product.md ── Product Memory
|
|
445
|
+
│ ├── users.md
|
|
446
|
+
│ ├── metrics.md
|
|
447
|
+
│ ├── experiments.md
|
|
448
|
+
│ ├── business.md ── Business Memory
|
|
449
|
+
│ ├── market.md
|
|
450
|
+
│ ├── risks.md
|
|
451
|
+
│ └── docs/ ── Operational Docs
|
|
452
|
+
│ ├── README.md
|
|
453
|
+
│ ├── topology.md
|
|
454
|
+
│ ├── architecture.md
|
|
455
|
+
│ ├── api.md
|
|
456
|
+
│ ├── issues.md
|
|
457
|
+
│ ├── resolved.md
|
|
458
|
+
│ ├── roadmap.md
|
|
459
|
+
│ ├── developer_guide.md
|
|
460
|
+
│ ├── troubleshooting.md
|
|
461
|
+
│ ├── glossary.md
|
|
462
|
+
│ └── decisions/
|
|
463
|
+
│ └── 0001-template.md
|
|
144
464
|
├── spec/
|
|
145
|
-
│ └── VIBE_GUIDE.md
|
|
146
|
-
├──
|
|
147
|
-
├──
|
|
465
|
+
│ └── VIBE_GUIDE.md Full spec (bundled on init)
|
|
466
|
+
├── Vibe.bat One-click Windows installer
|
|
467
|
+
├── QUICK_START_PROMPT.md Copy-paste prompt for AI agents
|
|
468
|
+
├── VIBE_GUIDE.md Full spec (readable at root)
|
|
148
469
|
├── package.json
|
|
149
|
-
├── LICENSE
|
|
150
|
-
└── README.md
|
|
470
|
+
├── LICENSE
|
|
471
|
+
└── README.md
|
|
151
472
|
```
|
|
152
473
|
|
|
153
|
-
|
|
474
|
+
---
|
|
475
|
+
|
|
476
|
+
## 📜 License
|
|
154
477
|
|
|
155
478
|
MIT — use it, fork it, build on it.
|
|
156
479
|
|
|
157
|
-
|
|
480
|
+
---
|
|
481
|
+
|
|
482
|
+
<div align="center">
|
|
483
|
+
|
|
484
|
+
## 💡 The Paradigm Shift
|
|
485
|
+
|
|
486
|
+
<br>
|
|
487
|
+
|
|
488
|
+
Most AI coding tools today operate in a simple loop:
|
|
489
|
+
|
|
490
|
+
**Read Code → Write Code → Hope It Works**
|
|
491
|
+
|
|
492
|
+
The AI has no memory. No context. No understanding of *why* things are the way they are.<br>
|
|
493
|
+
Every session starts from zero. Every agent makes the same mistakes.
|
|
494
|
+
|
|
495
|
+
With vibes, the loop transforms:
|
|
496
|
+
|
|
497
|
+
```
|
|
498
|
+
┌─────────────────────────────────────┐
|
|
499
|
+
│ │
|
|
500
|
+
▼ │
|
|
501
|
+
Read .vibe/ → Understand Intent │
|
|
502
|
+
│ │
|
|
503
|
+
▼ │
|
|
504
|
+
Read Code → Make Changes │
|
|
505
|
+
│ │
|
|
506
|
+
▼ │
|
|
507
|
+
Update .vibe/ + docs/ ─────────────────────┘
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
**The semantic model becomes a first-class citizen.**
|
|
511
|
+
|
|
512
|
+
It's not generated once and forgotten. It's not a README that rots.<br>
|
|
513
|
+
It's a living, continuously-maintained digital twin that gets smarter every time anyone — human or AI — touches the project.
|
|
514
|
+
|
|
515
|
+
<br>
|
|
516
|
+
|
|
517
|
+
---
|
|
518
|
+
|
|
519
|
+
### 🔮 The Vision
|
|
520
|
+
|
|
521
|
+
Imagine a world where:
|
|
522
|
+
|
|
523
|
+
- You open **any** repository and instantly understand what it does, why it exists, and what's broken — before reading a single line of code
|
|
524
|
+
- Your AI agent picks up **exactly** where the last one left off — with full context of every decision, every experiment, every user frustration
|
|
525
|
+
- New team members are productive in **hours**, not weeks
|
|
526
|
+
- Product decisions are grounded in documented user reality, not guesswork
|
|
527
|
+
- Business strategy, pricing rationale, and competitive positioning live next to the code — not in a forgotten Google Doc
|
|
528
|
+
- Documentation **never** goes stale because the AI updates it as part of its normal workflow
|
|
529
|
+
|
|
530
|
+
That world starts with one command.
|
|
531
|
+
|
|
532
|
+
<br>
|
|
533
|
+
|
|
534
|
+
```bash
|
|
535
|
+
npx vibe-me all
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
<br>
|
|
539
|
+
|
|
540
|
+
---
|
|
541
|
+
|
|
542
|
+
*Created by [Joshua M. Abrams](https://github.com/unlimitedinfinit)*
|
|
543
|
+
|
|
544
|
+
*The `.vibe` spec is version 1.0 — tested across production repositories spanning Go, Rust, TypeScript, Python, and Solidity.*<br>
|
|
545
|
+
*If you create `.vibe/` for your project, [open an issue](https://github.com/unlimitedinfinit/Vibes/issues) and share what you learned.*
|
|
546
|
+
|
|
547
|
+
<br>
|
|
158
548
|
|
|
159
|
-
|
|
549
|
+
**Stop giving your AI agents amnesia. Give them vibes.**
|
|
160
550
|
|
|
161
|
-
|
|
551
|
+
</div>
|
package/Vibe.bat
CHANGED
|
@@ -2,19 +2,20 @@
|
|
|
2
2
|
:: ──────────────────────────────────────────────
|
|
3
3
|
:: Vibe.bat — One-click project setup
|
|
4
4
|
:: Drop this file in any project root and double-click.
|
|
5
|
-
:: Creates .vibe/
|
|
5
|
+
:: Creates .vibe/ (15 files) + docs/ (11 files)
|
|
6
6
|
:: ──────────────────────────────────────────────
|
|
7
7
|
|
|
8
8
|
echo.
|
|
9
|
-
echo
|
|
10
|
-
echo
|
|
9
|
+
echo ======================================================
|
|
10
|
+
echo vibes — The complete semantic layer for any project
|
|
11
|
+
echo ======================================================
|
|
11
12
|
echo.
|
|
12
13
|
|
|
13
14
|
:: Check if Node.js is installed
|
|
14
15
|
where node >nul 2>nul
|
|
15
16
|
if %ERRORLEVEL% neq 0 (
|
|
16
|
-
echo
|
|
17
|
-
echo
|
|
17
|
+
echo ERROR: Node.js is not installed.
|
|
18
|
+
echo Download it from https://nodejs.org
|
|
18
19
|
echo.
|
|
19
20
|
pause
|
|
20
21
|
exit /b 1
|
|
@@ -26,14 +27,17 @@ echo.
|
|
|
26
27
|
call npx -y vibe-me@latest all
|
|
27
28
|
|
|
28
29
|
echo.
|
|
29
|
-
echo
|
|
30
|
-
echo
|
|
30
|
+
echo ======================================================
|
|
31
|
+
echo DONE! Your .vibe/ and docs/ folders are ready.
|
|
32
|
+
echo.
|
|
33
|
+
echo Next step — tell your AI coding agent:
|
|
31
34
|
echo.
|
|
32
35
|
echo "Read .vibe/VIBE_GUIDE.md, then analyze this
|
|
33
36
|
echo codebase and fill out all skeleton files in
|
|
34
|
-
echo .vibe/ and docs/.
|
|
35
|
-
echo
|
|
37
|
+
echo .vibe/ and docs/. For files that aren't relevant
|
|
38
|
+
echo write N/A with a brief explanation. Ask me any
|
|
39
|
+
echo questions you can't answer from the code."
|
|
36
40
|
echo.
|
|
37
|
-
echo
|
|
41
|
+
echo ======================================================
|
|
38
42
|
echo.
|
|
39
43
|
pause
|