@su-record/vibe 2.4.4 → 2.4.5
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/.claude/settings.local.json +3 -1
- package/commands/vibe.spec.md +50 -13
- package/package.json +1 -1
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
"Bash(git status:*)",
|
|
19
19
|
"Bash(gh pr create --repo anthropics/claude-plugins-official --title \"feat: add vibe plugin - SPEC-driven AI coding framework\" --body \"$\\(cat <<''EOF''\n## Plugin: vibe\n\nSPEC-driven AI coding framework for Claude Code with parallel agents, BDD verification, and quality assurance.\n\n### Features\n\n- **12 Slash Commands**: `/vibe.spec`, `/vibe.run`, `/vibe.verify`, `/vibe.review`, `/vibe.reason`, `/vibe.diagram`, and more\n- **16 Specialist Agents**: Security, performance, architecture reviewers + language-specific reviewers \\(Python, TypeScript, React, Rails\\)\n- **ULTRAWORK Pipeline**: Parallel execution with ~50% speed improvement through background agents and phase pipelining\n- **BDD Verification**: Behavior-driven development testing against SPEC requirements\n- **Context7 Integration**: Built-in support for up-to-date documentation lookup\n\n### Workflow\n\n```\n/vibe.spec \"feature\" → /vibe.run \"feature\" → /vibe.verify \"feature\"\n```\n\n### Repository\n\nhttps://github.com/su-record/vibe\n\n### License\n\nMIT\nEOF\n\\)\")",
|
|
20
20
|
"Bash(git rev-parse:*)",
|
|
21
|
-
"Bash(claude plugin:*)"
|
|
21
|
+
"Bash(claude plugin:*)",
|
|
22
|
+
"Bash(npm unlink:*)",
|
|
23
|
+
"Bash(git stash:*)"
|
|
22
24
|
]
|
|
23
25
|
}
|
|
24
26
|
}
|
package/commands/vibe.spec.md
CHANGED
|
@@ -56,6 +56,34 @@ vibe status # Check current settings
|
|
|
56
56
|
|
|
57
57
|
## Process
|
|
58
58
|
|
|
59
|
+
### 0. Git Branch Setup (Automatic)
|
|
60
|
+
|
|
61
|
+
**CRITICAL: Always create feature branch before starting SPEC**
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
# Check current branch
|
|
65
|
+
current=$(git branch --show-current 2>/dev/null || echo "main")
|
|
66
|
+
|
|
67
|
+
# Sanitize feature name (spaces → hyphens, lowercase)
|
|
68
|
+
branch_name="feature/$(echo "{feature-name}" | tr '[:upper:]' '[:lower:]' | tr ' ' '-')"
|
|
69
|
+
|
|
70
|
+
# Create feature branch if on main/master
|
|
71
|
+
if [[ "$current" == "main" || "$current" == "master" ]]; then
|
|
72
|
+
git checkout -b "$branch_name"
|
|
73
|
+
echo "✅ Created and switched to: $branch_name"
|
|
74
|
+
else
|
|
75
|
+
echo "ℹ️ Already on feature branch: $current"
|
|
76
|
+
echo " Continue on this branch? (Y/n)"
|
|
77
|
+
# If user says no, create new branch
|
|
78
|
+
fi
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
**Rules:**
|
|
82
|
+
- If on `main`/`master` → **Always** create `feature/{feature-name}` branch
|
|
83
|
+
- If already on feature branch → Ask user to confirm or create new branch
|
|
84
|
+
- Branch naming: `feature/passkey-auth`, `feature/dark-mode`, etc.
|
|
85
|
+
- Git check BEFORE starting requirements gathering
|
|
86
|
+
|
|
59
87
|
### 1. Project Analysis
|
|
60
88
|
|
|
61
89
|
**Existing project** (`vibe init`):
|
|
@@ -81,14 +109,16 @@ vibe status # Check current settings
|
|
|
81
109
|
- Tech stack: Confirm existing stack or suggest new
|
|
82
110
|
- Design reference: UI/UX to reference
|
|
83
111
|
|
|
84
|
-
### 3. Parallel Research (v2.4.0) -
|
|
112
|
+
### 3. Parallel Research (v2.4.0) - MANDATORY AFTER requirements confirmed
|
|
113
|
+
|
|
114
|
+
**🚨 CRITICAL: Research is MANDATORY after requirements are confirmed**
|
|
85
115
|
|
|
86
|
-
|
|
116
|
+
**When to trigger:**
|
|
117
|
+
1. ✅ Feature type decided (e.g., "passkey authentication")
|
|
118
|
+
2. ✅ Tech stack confirmed (e.g., "React + Supabase")
|
|
119
|
+
3. ✅ Core requirements collected
|
|
87
120
|
|
|
88
|
-
|
|
89
|
-
- Feature type decided (e.g., "passkey authentication")
|
|
90
|
-
- Tech stack confirmed (e.g., "React + Supabase")
|
|
91
|
-
- Core requirements collected
|
|
121
|
+
**→ IMMEDIATELY run orchestrator research. NO EXCEPTIONS.**
|
|
92
122
|
|
|
93
123
|
**Execution via Orchestrator (4 agents in parallel):**
|
|
94
124
|
```bash
|
|
@@ -101,13 +131,20 @@ node -e "import('@su-record/vibe/orchestrator').then(o => o.research('[FEATURE]'
|
|
|
101
131
|
node -e "import('@su-record/vibe/orchestrator').then(o => o.research('passkey authentication', ['React', 'Supabase']).then(r => console.log(r.content[0].text)))"
|
|
102
132
|
```
|
|
103
133
|
|
|
104
|
-
**What runs in parallel:**
|
|
105
|
-
| Agent | Role |
|
|
106
|
-
|
|
107
|
-
| `best-practices-agent` | Best practices for [feature] + [stack] |
|
|
108
|
-
| `framework-docs-agent` | Latest docs via context7 |
|
|
109
|
-
| `codebase-patterns-agent` | Similar patterns in existing codebase |
|
|
110
|
-
| `security-advisory-agent` | Security advisories for [feature] |
|
|
134
|
+
**What runs in parallel (180s timeout each):**
|
|
135
|
+
| Agent | Role | Tools |
|
|
136
|
+
|-------|------|-------|
|
|
137
|
+
| `best-practices-agent` | Best practices for [feature] + [stack] | WebSearch |
|
|
138
|
+
| `framework-docs-agent` | Latest docs via context7 | context7 MCP |
|
|
139
|
+
| `codebase-patterns-agent` | Similar patterns in existing codebase | Glob, Grep |
|
|
140
|
+
| `security-advisory-agent` | Security advisories for [feature] | WebSearch |
|
|
141
|
+
|
|
142
|
+
**IMPORTANT:**
|
|
143
|
+
- ❌ DO NOT skip research step
|
|
144
|
+
- ❌ DO NOT ask user "should I run research?"
|
|
145
|
+
- ✅ ALWAYS run after requirements confirmed
|
|
146
|
+
- ✅ Show "Running parallel research..." message
|
|
147
|
+
- ✅ Include all 4 agent results in SPEC Context
|
|
111
148
|
|
|
112
149
|
**Research results are reflected in SPEC's Context section.**
|
|
113
150
|
|