@su-record/vibe 2.5.18 → 2.5.19
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/commands/vibe.spec.md +39 -22
- package/package.json +1 -1
package/commands/vibe.spec.md
CHANGED
|
@@ -131,33 +131,50 @@ vibe status # Check current settings
|
|
|
131
131
|
|
|
132
132
|
## Process
|
|
133
133
|
|
|
134
|
-
### 0. Git Branch Setup (
|
|
134
|
+
### 0. Git Branch Setup (MANDATORY - Execute First!)
|
|
135
135
|
|
|
136
|
-
**CRITICAL:
|
|
136
|
+
> ⚠️ **CRITICAL: You MUST execute this step FIRST before anything else!**
|
|
137
|
+
> This is NOT optional documentation - you must RUN these git commands.
|
|
138
|
+
|
|
139
|
+
**Step 0 is BLOCKING - do not proceed to Step 1 until branch is ready.**
|
|
140
|
+
|
|
141
|
+
**Execute these commands using Bash tool:**
|
|
137
142
|
|
|
138
143
|
```bash
|
|
139
|
-
# Check current branch
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
144
|
+
# 1. Check current branch
|
|
145
|
+
git branch --show-current
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
**Then based on result:**
|
|
149
|
+
|
|
150
|
+
| Current Branch | Action |
|
|
151
|
+
|----------------|--------|
|
|
152
|
+
| `main` or `master` | **MUST** create feature branch: `git checkout -b feature/{feature-name}` |
|
|
153
|
+
| `feature/*` | Ask user: "Continue on this branch or create new?" |
|
|
154
|
+
| Other | Ask user to confirm |
|
|
155
|
+
|
|
156
|
+
**Example execution:**
|
|
157
|
+
|
|
158
|
+
```
|
|
159
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
160
|
+
🌿 GIT BRANCH SETUP
|
|
161
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
162
|
+
|
|
163
|
+
Current branch: main
|
|
164
|
+
|
|
165
|
+
Creating feature branch...
|
|
166
|
+
$ git checkout -b feature/login-page
|
|
167
|
+
|
|
168
|
+
✅ Switched to new branch: feature/login-page
|
|
169
|
+
|
|
170
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
154
171
|
```
|
|
155
172
|
|
|
156
|
-
**
|
|
157
|
-
-
|
|
158
|
-
-
|
|
159
|
-
-
|
|
160
|
-
-
|
|
173
|
+
**Branch naming rules:**
|
|
174
|
+
- Convert to lowercase: `Login Page` → `login-page`
|
|
175
|
+
- Replace spaces with hyphens
|
|
176
|
+
- Prefix with `feature/`
|
|
177
|
+
- Example: `feature/passkey-auth`, `feature/dark-mode`
|
|
161
178
|
|
|
162
179
|
### 1. Project Analysis
|
|
163
180
|
|