@staff0rd/assist 0.53.0 → 0.55.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 CHANGED
@@ -32,6 +32,7 @@ After installation, the `assist` command will be available globally.
32
32
 
33
33
  - `/commit` - Commit only relevant files from the session
34
34
  - `/devlog` - Generate devlog entry for the next unversioned day
35
+ - `/next-backlog-item` - Pick and implement the next backlog item
35
36
  - `/refactor` - Run refactoring checks for code quality
36
37
  - `/restructure` - Analyze and restructure tightly-coupled files
37
38
  - `/review-comments` - Process PR review comments one by one
@@ -52,7 +53,7 @@ After installation, the `assist` command will be available globally.
52
53
  - `assist prs wontfix <comment-id> <reason>` - Reply with reason and resolve thread
53
54
  - `assist backlog` - List all backlog items (same as `backlog list`)
54
55
  - `assist backlog init` - Create an empty assist.backlog.yml
55
- - `assist backlog list [--status <type>]` - List all backlog items with status icons
56
+ - `assist backlog list [--status <type>] [-v]` - List all backlog items with status icons
56
57
  - `assist backlog add` - Add a new backlog item interactively
57
58
  - `assist backlog start <id>` - Set a backlog item to in-progress
58
59
  - `assist backlog done <id>` - Set a backlog item to done
@@ -0,0 +1,17 @@
1
+ ---
2
+ description: Pick and implement the next backlog item
3
+ ---
4
+
5
+ Run `assist backlog list --status todo --verbose 2>&1` to see all available backlog items.
6
+
7
+ Choose ONE item to implement. You may pick whichever item you like. Read the item's name, description, and acceptance criteria carefully. If anything is unclear or ambiguous, ask the user for clarification before proceeding.
8
+
9
+ Once you have chosen an item, run `assist backlog start <id>` to mark it as in-progress.
10
+
11
+ Implement the item fully, satisfying ALL acceptance criteria. Do not skip any.
12
+
13
+ When implementation is complete, run `/verify` and fix any issues until it passes.
14
+
15
+ Then stop and wait for the user. Do NOT call `assist backlog done` yet. Inform the user the item is ready and wait for them to call `/commit`.
16
+
17
+ Only after the user has called `/commit` and the commit succeeds, run `assist backlog done <id>` to mark the item as done.
@@ -20,6 +20,9 @@
20
20
  "Bash(assist refactor:*)",
21
21
  "Bash(assist prs list-comments:*)",
22
22
  "Bash(assist verify:*)",
23
+ "Bash(assist backlog list:*)",
24
+ "Bash(assist backlog start:*)",
25
+ "Bash(assist backlog done:*)",
23
26
  "Bash(assist transcript summarise:*)",
24
27
  "Bash(assist transcript format:*)",
25
28
  "Bash(git add:*)",
@@ -30,6 +33,7 @@
30
33
  "Bash(gh pr view:*)",
31
34
  "Bash(gh pr diff:*)",
32
35
  "Bash(gh run view:*)",
36
+ "SlashCommand(/next-backlog-item)",
33
37
  "SlashCommand(/verify)",
34
38
  "SlashCommand(/commit)",
35
39
  "SlashCommand(/devlog)",
@@ -37,6 +41,7 @@
37
41
  "SlashCommand(/review-comments)",
38
42
  "SlashCommand(/transcript-format)",
39
43
  "SlashCommand(/transcript-summarise)",
44
+ "Skill(next-backlog-item)",
40
45
  "Skill(verify)",
41
46
  "Skill(commit)",
42
47
  "Skill(devlog)",
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import { Command } from "commander";
7
7
  // package.json
8
8
  var package_default = {
9
9
  name: "@staff0rd/assist",
10
- version: "0.53.0",
10
+ version: "0.55.0",
11
11
  type: "module",
12
12
  main: "dist/index.js",
13
13
  bin: {
@@ -1982,8 +1982,20 @@ async function list(options2) {
1982
1982
  }
1983
1983
  for (const item of items) {
1984
1984
  console.log(
1985
- `${statusIcon(item.status)} ${item.name} ${chalk26.dim(`#${item.id}`)}`
1985
+ `${statusIcon(item.status)} ${chalk26.dim(`#${item.id}`)} ${item.name}`
1986
1986
  );
1987
+ if (options2.verbose) {
1988
+ if (item.description) {
1989
+ console.log(` ${chalk26.dim("Description:")} ${item.description}`);
1990
+ }
1991
+ if (item.acceptanceCriteria.length > 0) {
1992
+ console.log(` ${chalk26.dim("Acceptance criteria:")}`);
1993
+ for (const criterion of item.acceptanceCriteria) {
1994
+ console.log(` - ${criterion}`);
1995
+ }
1996
+ }
1997
+ console.log();
1998
+ }
1987
1999
  }
1988
2000
  }
1989
2001
 
@@ -2000,7 +2012,7 @@ async function start(id) {
2000
2012
  function registerBacklog(program2) {
2001
2013
  const backlogCommand = program2.command("backlog").description("Manage a backlog of work items").action(list);
2002
2014
  backlogCommand.command("init").description("Create an empty assist.backlog.yml").action(init6);
2003
- backlogCommand.command("list").description("List all backlog items").option("--status <type>", "Filter by status (todo, in-progress, done)").action(list);
2015
+ backlogCommand.command("list").description("List all backlog items").option("--status <type>", "Filter by status (todo, in-progress, done)").option("-v, --verbose", "Show all item details").action(list);
2004
2016
  backlogCommand.command("add").description("Add a new backlog item").action(add);
2005
2017
  backlogCommand.command("start <id>").description("Set a backlog item to in-progress").action(start);
2006
2018
  backlogCommand.command("done <id>").description("Set a backlog item to done").action(done);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.53.0",
3
+ "version": "0.55.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {