@staff0rd/assist 0.172.3 → 0.173.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 +2 -1
- package/allowed.cli-writes +1 -0
- package/claude/commands/bug.md +2 -13
- package/claude/commands/draft.md +8 -21
- package/dist/allowed.cli-writes +1 -0
- package/dist/commands/backlog/web/bundle.js +75 -60
- package/dist/index.js +207 -207
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -83,7 +83,8 @@ After installation, the `assist` command will be available globally. You can als
|
|
|
83
83
|
- `assist backlog init` - Create an empty backlog
|
|
84
84
|
- `assist backlog list [--status <type>] [-v]` - List all backlog items with status icons
|
|
85
85
|
- `assist backlog add` - Add a new backlog item interactively (prompts for type: story/bug)
|
|
86
|
-
- `assist backlog add --
|
|
86
|
+
- `assist backlog add --name <n> --type <t> --desc <d> --ac <criterion...>` - Add a backlog item from CLI options (used by `/draft`)
|
|
87
|
+
- `assist backlog add-phase <id> <name> --task <t...> [--manual-check <c...>]` - Add a phase to an existing backlog item
|
|
87
88
|
- `assist backlog next` - Pick and run the next backlog item, or open `/draft` if none remain
|
|
88
89
|
- `assist backlog start <id>` - Set a backlog item to in-progress
|
|
89
90
|
- `assist backlog done <id>` - Set a backlog item to done
|
package/allowed.cli-writes
CHANGED
package/claude/commands/bug.md
CHANGED
|
@@ -41,20 +41,9 @@ Ask the user if they want to change anything. Iterate until they confirm.
|
|
|
41
41
|
|
|
42
42
|
## Step 5: Save
|
|
43
43
|
|
|
44
|
-
Once confirmed,
|
|
45
|
-
|
|
46
|
-
```json
|
|
47
|
-
{
|
|
48
|
-
"name": "...",
|
|
49
|
-
"type": "bug",
|
|
50
|
-
"description": "**Repro:**\n1. ...\n\n**Expected:** ...\n\n**Actual:** ...",
|
|
51
|
-
"acceptanceCriteria": ["...", "..."]
|
|
52
|
-
}
|
|
44
|
+
Once confirmed, add the item via CLI:
|
|
53
45
|
```
|
|
54
|
-
|
|
55
|
-
Run:
|
|
56
|
-
```
|
|
57
|
-
echo '<the confirmed json>' | assist backlog add --json 2>&1
|
|
46
|
+
assist backlog add --name "Bug title" --type bug --desc "**Repro:**\n1. ...\n\n**Expected:** ...\n\n**Actual:** ..." --ac "criterion 1" --ac "criterion 2" 2>&1
|
|
58
47
|
```
|
|
59
48
|
|
|
60
49
|
Then show the user the item was created and suggest they can run `assist backlog run <id>` to start implementation.
|
package/claude/commands/draft.md
CHANGED
|
@@ -38,7 +38,7 @@ Once you have enough context, propose a complete backlog item. Show it to the us
|
|
|
38
38
|
|
|
39
39
|
Keep phases small (2-4 tasks each). A typical item should have 2-3 phases.
|
|
40
40
|
|
|
41
|
-
Most phases should NOT have manual checks
|
|
41
|
+
Most phases should NOT have manual checks. Only add `manualChecks` to a phase when the checks are genuinely difficult to automate (e.g. visual appearance, UX flow, hardware interaction). Do not add a final phase just for end-to-end verification — a review phase is auto-appended at runtime.
|
|
42
42
|
|
|
43
43
|
## Step 4: Iterate
|
|
44
44
|
|
|
@@ -46,29 +46,16 @@ Ask the user if they want to change anything. Iterate until they confirm.
|
|
|
46
46
|
|
|
47
47
|
## Step 5: Save
|
|
48
48
|
|
|
49
|
-
Once confirmed,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"type": "story",
|
|
55
|
-
"description": "...",
|
|
56
|
-
"acceptanceCriteria": ["...", "..."],
|
|
57
|
-
"plan": [
|
|
58
|
-
{
|
|
59
|
-
"name": "Phase name",
|
|
60
|
-
"tasks": [
|
|
61
|
-
{ "task": "Do something", "verify": "optional verification step" }
|
|
62
|
-
],
|
|
63
|
-
"manualChecks": ["optional — only for checks that can't be automated"]
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
}
|
|
49
|
+
Once confirmed, create the item and its phases via CLI commands.
|
|
50
|
+
|
|
51
|
+
First, add the item:
|
|
52
|
+
```
|
|
53
|
+
assist backlog add --name "Item name" --type story --desc "Description text" --ac "criterion 1" --ac "criterion 2" 2>&1
|
|
67
54
|
```
|
|
68
55
|
|
|
69
|
-
|
|
56
|
+
Then add each phase:
|
|
70
57
|
```
|
|
71
|
-
assist backlog add --
|
|
58
|
+
assist backlog add-phase <id> "Phase name" --task "Task 1" --task "Task 2" --manual-check "optional check" 2>&1
|
|
72
59
|
```
|
|
73
60
|
|
|
74
61
|
Then show the user the item was created and suggest they can run `assist backlog run <id>` to start implementation.
|