claude-plugin-viban 1.3.6 → 1.3.8
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-plugin/plugin.json +1 -1
- package/bin/viban +5 -1
- package/package.json +1 -1
- package/skills/assign/SKILL.md +30 -7
package/bin/viban
CHANGED
|
@@ -202,7 +202,11 @@ VIBAN_IS_GIT_REPO=false
|
|
|
202
202
|
git rev-parse --git-dir &>/dev/null && VIBAN_IS_GIT_REPO=true
|
|
203
203
|
|
|
204
204
|
if [[ -z "$VIBAN_DATA_DIR" ]]; then
|
|
205
|
-
|
|
205
|
+
if $VIBAN_IS_GIT_REPO; then
|
|
206
|
+
VIBAN_DATA_DIR="$(git rev-parse --show-toplevel)/.viban"
|
|
207
|
+
else
|
|
208
|
+
VIBAN_DATA_DIR="${PWD}/.viban"
|
|
209
|
+
fi
|
|
206
210
|
fi
|
|
207
211
|
|
|
208
212
|
VIBAN_JSON="${VIBAN_DATA_DIR}/viban.json"
|
package/package.json
CHANGED
package/skills/assign/SKILL.md
CHANGED
|
@@ -90,19 +90,39 @@ Follow the workflow from Step 0. If no workflow was found, use this default pipe
|
|
|
90
90
|
- Run build and tests to confirm the fix works
|
|
91
91
|
- Verify no regressions
|
|
92
92
|
|
|
93
|
-
### 4.4 Ship
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
### 4.4 Ship (MANDATORY)
|
|
94
|
+
|
|
95
|
+
Every step below is **required** unless the workflow explicitly says to stop earlier.
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
# 1. Commit
|
|
99
|
+
git add -A
|
|
100
|
+
git commit -m "fix: {description} (#$ISSUE_ID)"
|
|
101
|
+
|
|
102
|
+
# 2. Push
|
|
103
|
+
git push -u origin issue-$ISSUE_ID
|
|
104
|
+
|
|
105
|
+
# 3. Create PR (REQUIRED — do NOT skip this)
|
|
106
|
+
gh pr create --title "fix: {description}" --body "Resolves #$ISSUE_ID
|
|
107
|
+
|
|
108
|
+
## Summary
|
|
109
|
+
{what was changed and why}
|
|
110
|
+
|
|
111
|
+
## Test plan
|
|
112
|
+
{how it was verified}"
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
**If `gh pr create` fails**: fix the error and retry. Do NOT skip PR creation.
|
|
96
116
|
|
|
97
117
|
## Step 5: Move to Review
|
|
98
118
|
|
|
99
|
-
After
|
|
119
|
+
After PR is created:
|
|
100
120
|
|
|
101
121
|
```bash
|
|
102
122
|
viban review $ISSUE_ID
|
|
103
123
|
```
|
|
104
124
|
|
|
105
|
-
Report completion:
|
|
125
|
+
Report completion with the PR URL:
|
|
106
126
|
|
|
107
127
|
```
|
|
108
128
|
Issue #{id} resolved → review
|
|
@@ -110,13 +130,16 @@ Issue #{id} resolved → review
|
|
|
110
130
|
PR: {pr_url}
|
|
111
131
|
```
|
|
112
132
|
|
|
133
|
+
**Do NOT report completion without a PR URL.**
|
|
134
|
+
|
|
113
135
|
---
|
|
114
136
|
|
|
115
137
|
## CRITICAL
|
|
116
138
|
|
|
117
139
|
> - **NEVER read or write `viban.json` directly** — always use `viban` CLI commands (`viban assign`, `viban get`, `viban list`, `viban done`, etc.)
|
|
118
|
-
> -
|
|
119
|
-
> -
|
|
140
|
+
> - **MUST create a PR** via `gh pr create` unless the workflow explicitly says "stop before PR".
|
|
141
|
+
> - **MUST call `viban review`** after PR creation. Do NOT finish without moving the issue to review.
|
|
142
|
+
> - **MUST include PR URL** in the completion report. No URL = not done.
|
|
120
143
|
|
|
121
144
|
## CLI Reference
|
|
122
145
|
|