schub 0.1.9 → 0.1.10
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 +51 -34
- package/dist/index.js +3899 -4415
- package/package.json +1 -1
- package/skills/create-proposal/SKILL.md +13 -13
- package/skills/create-ticket/SKILL.md +5 -4
- package/skills/create-tickets-for-proposal/SKILL.md +10 -9
- package/skills/implement-task/SKILL.md +25 -25
- package/skills/review-proposal/SKILL.md +8 -8
- package/skills/save-proposal/SKILL.md +7 -7
- package/templates/create-proposal/adr-template.md +0 -5
- package/templates/create-proposal/cookbook-template.md +1 -3
- package/templates/create-proposal/proposal-template.md +1 -5
- package/templates/create-tasks/task-template.md +3 -3
- package/templates/create-ticket/ticket-template.md +2 -3
- package/skills/setup-project/SKILL.md +0 -29
- package/templates/setup-project/project-overview-template.md +0 -40
- package/templates/setup-project/project-setup-template.md +0 -66
- package/templates/setup-project/project-wow-template.md +0 -135
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
SCHUB
|
|
3
3
|
</p>
|
|
4
|
-
<p align="center">Schub helps you plan and delegate coding
|
|
4
|
+
<p align="center">Schub helps you plan and delegate coding tickets to coding agents without losing control.</p>
|
|
5
5
|
<p align="center">
|
|
6
6
|
<a href="https://www.npmjs.com/package/schub"><img alt="npm" src="https://img.shields.io/npm/v/schub?style=flat-square" /></a>
|
|
7
7
|
<a href="https://github.com/pufflyai/schub/actions/workflows/build.yml"><img alt="Build status" src="https://img.shields.io/github/actions/workflow/status/pufflyai/schub/build.yml?style=flat-square" /></a>
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
## Installation
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
# Package
|
|
14
|
-
|
|
13
|
+
# Package manager
|
|
14
|
+
bun add -g schub@latest
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## Usage
|
|
@@ -31,72 +31,89 @@ If no command is provided, the TUI dashboard will launch. Use `schub dashboard`
|
|
|
31
31
|
- `SCHUB_DB_PATH` - Path to the local SQLite database used by schub services.
|
|
32
32
|
- `SCHUB_STORAGE_PATH` - Filesystem root used for file uploads and attachments.
|
|
33
33
|
|
|
34
|
+
Project-scoped DB commands use the project id from `.schub/config.json`.
|
|
35
|
+
|
|
34
36
|
### Commands
|
|
35
37
|
|
|
36
|
-
####
|
|
38
|
+
#### Proposals
|
|
39
|
+
|
|
40
|
+
- `schub proposals create` - Create a new proposal locally and in the database.
|
|
41
|
+
- `schub proposals save` - Save all files in a proposal folder to DB/storage.
|
|
42
|
+
- `schub proposals pull` - Pull a proposal from the database into `.schub`.
|
|
43
|
+
- `schub proposals status` - Update a proposal status in frontmatter.
|
|
44
|
+
- `schub proposals list` - List proposals (`--show-all` includes archived/rejected).
|
|
45
|
+
- `schub proposals archive` - Archive a proposal (use `--skip-tickets` to keep tickets active).
|
|
46
|
+
- `schub proposals delete` - Delete a proposal and clear linked tickets.
|
|
47
|
+
|
|
48
|
+
##### Proposal IDs
|
|
37
49
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
50
|
+
Proposal ids are stored as `P####_<slug>`. Any command that accepts `--proposal-id` also accepts the shorthand `P####` when it uniquely matches a proposal directory under `.schub/proposals` or `.schub/archive/proposals`.
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
schub proposals save --proposal-id P0003
|
|
54
|
+
schub proposals pull --proposal-id P0003
|
|
55
|
+
```
|
|
42
56
|
|
|
43
57
|
#### Dashboard
|
|
44
58
|
|
|
45
59
|
- `schub dashboard` - Start the web dashboard (dev opens `http://localhost:5173`, preview opens `http://localhost:4173`).
|
|
46
60
|
- `schub tui` - Launch the TUI dashboard.
|
|
47
61
|
|
|
48
|
-
####
|
|
62
|
+
#### Ticket Management
|
|
49
63
|
|
|
50
|
-
- `schub
|
|
51
|
-
- `schub
|
|
52
|
-
- `schub
|
|
53
|
-
- `schub
|
|
64
|
+
- `schub tickets create` - Create a ticket from the ticket template.
|
|
65
|
+
- `schub tickets list` - List all tickets in the current project context.
|
|
66
|
+
- `schub tickets check` - Toggle a checklist item in a ticket.
|
|
67
|
+
- `schub tickets update` - Move backlog tickets to `reviewed`, `rejected`, or `archived`.
|
|
68
|
+
- `schub tickets implement` - Move a ticket to `wip` and launch Opencode.
|
|
69
|
+
- `schub ticket save` - Validate and save a ticket to DB/storage.
|
|
54
70
|
|
|
55
|
-
#####
|
|
71
|
+
##### Ticket implementation
|
|
56
72
|
|
|
57
73
|
```bash
|
|
58
|
-
schub
|
|
59
|
-
schub
|
|
74
|
+
schub tickets implement --id T0007
|
|
75
|
+
schub tickets implement --id T0007 --mode worktree --project-id <project-id>
|
|
60
76
|
```
|
|
61
77
|
|
|
62
|
-
- `--mode` defaults to `
|
|
78
|
+
- `--mode` defaults to `none` (no worktree).
|
|
79
|
+
- `--mode worktree` creates `.schub/worktrees/<id>` on branch `ticket/<id>` and requires `--project-id`.
|
|
63
80
|
- `--mode none` runs from the current repo without a worktree.
|
|
64
81
|
- `--worktree-root` overrides the default `.schub/worktrees` location.
|
|
65
82
|
|
|
66
|
-
#####
|
|
83
|
+
##### Ticket checklist updates
|
|
67
84
|
|
|
68
85
|
```bash
|
|
69
|
-
schub
|
|
86
|
+
schub tickets check --id T0007 --item 2
|
|
70
87
|
```
|
|
71
88
|
|
|
72
|
-
|
|
73
|
-
- `--status` sets the target status: `reviewed` or `archived`.
|
|
89
|
+
##### Ticket status updates
|
|
74
90
|
|
|
75
|
-
|
|
91
|
+
```bash
|
|
92
|
+
schub tickets update --id T0004 --id T0005 --status reviewed
|
|
93
|
+
```
|
|
76
94
|
|
|
77
|
-
|
|
78
|
-
|
|
95
|
+
- `--id` (repeatable) selects backlog ticket IDs to move.
|
|
96
|
+
- `--status` sets the target status: `reviewed`, `rejected`, or `archived`.
|
|
79
97
|
|
|
80
|
-
|
|
98
|
+
##### Overview view shortcut
|
|
81
99
|
|
|
82
|
-
|
|
83
|
-
|
|
100
|
+
In Overview view, press `s` on a selected backlog or reviewed ticket to open the status modal.
|
|
101
|
+
For backlog tickets choose `Reviewed` or `Archive`. For reviewed tickets choose `Backlog` or `Archive`, then press enter to confirm or esc to cancel.
|
|
84
102
|
|
|
85
103
|
#### Reviews & Documentation
|
|
86
104
|
|
|
87
|
-
- `schub review create` - Generate a `REVIEW_ME.md` file for a specific change.
|
|
88
105
|
- `schub review complete` - Finalize a review, converting questions into a Q&A section.
|
|
89
|
-
- `schub
|
|
90
|
-
- `schub
|
|
106
|
+
- `schub template create --name adr` - Create a new Architectural Decision Record file.
|
|
107
|
+
- `schub template create --name cookbook` - Create a new cookbook file.
|
|
108
|
+
- `schub template create --name review` - Create a `REVIEW_ME.md` file.
|
|
91
109
|
|
|
92
110
|
## LLM Skills
|
|
93
111
|
|
|
94
|
-
- `create-proposal` - Scaffold and update
|
|
112
|
+
- `create-proposal` - Scaffold and update proposals, including review requirements.
|
|
95
113
|
- `create-ticket` - Create a ticket for any requested repo change.
|
|
96
|
-
- `create-tickets-for-proposal` - Generate actionable ticket files under `.schub/
|
|
97
|
-
- `implement-
|
|
114
|
+
- `create-tickets-for-proposal` - Generate actionable ticket files under `.schub/tickets/` from a proposal id.
|
|
115
|
+
- `implement-ticket` - Implement a single ticket end-to-end and move it across ticket status folders.
|
|
98
116
|
- `review-proposal` - Run a proposal review session with open questions and Q&A updates.
|
|
99
|
-
- `setup-project` - Create or refresh `.schub/` project reference files.
|
|
100
117
|
|
|
101
118
|
## Contributing
|
|
102
119
|
|