task-o-matic 0.1.3 → 0.1.5-beta.1
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 +1039 -411
- package/dist/commands/benchmark.d.ts.map +1 -1
- package/dist/commands/benchmark.js +262 -612
- package/dist/commands/continue.d.ts +4 -0
- package/dist/commands/continue.d.ts.map +1 -0
- package/dist/commands/continue.js +87 -0
- package/dist/commands/detect.d.ts +4 -0
- package/dist/commands/detect.d.ts.map +1 -0
- package/dist/commands/detect.js +83 -0
- package/dist/commands/init.js +235 -0
- package/dist/commands/prd.d.ts.map +1 -1
- package/dist/commands/prd.js +94 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/test/benchmark.test.d.ts +2 -0
- package/dist/test/benchmark.test.d.ts.map +1 -0
- package/dist/test/benchmark.test.js +56 -0
- package/dist/test/commands.test.js +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,465 +1,840 @@
|
|
|
1
|
-
# task-o-matic
|
|
1
|
+
# ⛑️ task-o-matic CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Your command bunker in the post-apocalyptic development wasteland**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
---
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## ⚠️ SURVIVAL BULLETIN
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
_Citizen, the world outside has changed. The software development landscape shifted from chaos into something... darker. But your projects don't have to die in the radioactive dust of bad management._
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
_The `task-o-matic` CLI is your bunker command system. Think of it as a wrist-mounted interface for code—organizing tasks, parsing documents, and deploying artificial intelligence to help your projects thrive when everything else has collapsed._
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
_[The preceding message was brought to you by the Department of Project Preservation. Remember: A prepared developer is a surviving developer.]_
|
|
14
|
+
|
|
15
|
+
---
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
## 📋 COMMAND STRUCTURE
|
|
18
|
+
|
|
19
|
+
The CLI is organized into command groups. Each group serves a specific survival function:
|
|
18
20
|
|
|
19
21
|
```bash
|
|
20
|
-
|
|
22
|
+
task-o-matic <command-group> <subcommand> [options]
|
|
21
23
|
```
|
|
22
24
|
|
|
23
|
-
|
|
25
|
+
### Available Command Groups
|
|
26
|
+
|
|
27
|
+
| Group | Purpose |
|
|
28
|
+
|-------|---------|
|
|
29
|
+
| `init` | Initialize projects, attach to existing codebases, bootstrap fresh starts |
|
|
30
|
+
| `tasks` | Task CRUD, enhancement, splitting, execution, planning, documentation |
|
|
31
|
+
| `prd` | Product Requirements Document management (create, parse, refine, combine) |
|
|
32
|
+
| `workflow` | Guided end-to-end project setup and automation |
|
|
33
|
+
| `config` | AI provider and project configuration |
|
|
34
|
+
| `benchmark` | AI model performance comparison and testing |
|
|
35
|
+
| `detect` | Technology stack detection and analysis |
|
|
36
|
+
| `continue` | Resume work on existing projects |
|
|
37
|
+
| `prompt` | Build AI prompts for external tools |
|
|
38
|
+
| `install` | Install documentation and agent guides |
|
|
39
|
+
|
|
40
|
+
---
|
|
24
41
|
|
|
25
|
-
|
|
42
|
+
## 🚀 QUICK START: SURVIVAL MODE
|
|
43
|
+
|
|
44
|
+
### The One-Shot Approach (Fastest Survival)
|
|
26
45
|
|
|
27
46
|
```bash
|
|
28
|
-
# Navigate to your project
|
|
47
|
+
# Navigate to your project's containment zone
|
|
29
48
|
cd /path/to/your/project
|
|
30
49
|
|
|
31
|
-
#
|
|
32
|
-
task-o-matic
|
|
50
|
+
# One command. The AI guides you through everything.
|
|
51
|
+
task-o-matic workflow --stream
|
|
52
|
+
```
|
|
33
53
|
|
|
34
|
-
|
|
35
|
-
task-o-matic
|
|
54
|
+
**What happens:**
|
|
55
|
+
1. Initialization of the command bunker (`.task-o-matic/` directory)
|
|
56
|
+
2. PRD creation or loading
|
|
57
|
+
3. PRD refinement with AI-generated questions
|
|
58
|
+
4. Task generation from refined PRD
|
|
59
|
+
5. Task splitting into manageable chunks
|
|
36
60
|
|
|
37
|
-
|
|
38
|
-
task-o-matic tasks create --title "Implement user authentication" --ai-enhance
|
|
39
|
-
```
|
|
61
|
+
**Estimated time:** 5-10 minutes
|
|
40
62
|
|
|
41
|
-
###
|
|
63
|
+
### The Surgical Strike (When You Know What You're Doing)
|
|
42
64
|
|
|
43
65
|
```bash
|
|
44
|
-
#
|
|
45
|
-
task-o-matic
|
|
46
|
-
```
|
|
66
|
+
# Initialize containment directory
|
|
67
|
+
task-o-matic init init --ai-provider anthropic --ai-model claude-3-5-sonnet
|
|
47
68
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
2. PRD creation
|
|
51
|
-
3. PRD refinement with AI questions
|
|
52
|
-
4. Task generation
|
|
53
|
-
5. Task splitting
|
|
69
|
+
# Configure AI provider
|
|
70
|
+
task-o-matic config set-ai-provider anthropic claude-3-5-sonnet
|
|
54
71
|
|
|
55
|
-
|
|
72
|
+
# Create task with AI enhancement
|
|
73
|
+
task-o-matic tasks create --title "Add survivor authentication" --ai-enhance --stream
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
---
|
|
56
77
|
|
|
57
|
-
|
|
78
|
+
## 🏗️ INITIALIZATION COMMANDS
|
|
58
79
|
|
|
59
|
-
|
|
80
|
+
### `task-o-matic init init`
|
|
60
81
|
|
|
61
|
-
Initialize a new project
|
|
82
|
+
Initialize a new project command bunker.
|
|
62
83
|
|
|
63
84
|
```bash
|
|
64
85
|
# Basic initialization
|
|
65
86
|
task-o-matic init init
|
|
66
87
|
|
|
67
|
-
#
|
|
68
|
-
task-o-matic init init --project-name my-
|
|
88
|
+
# With project name and AI configuration
|
|
89
|
+
task-o-matic init init --project-name my-shelter-manager \
|
|
90
|
+
--ai-provider anthropic --ai-model claude-3-5-sonnet
|
|
69
91
|
|
|
70
|
-
#
|
|
71
|
-
task-o-matic init init --project-name my-app --ai-provider openrouter --ai-model anthropic/claude-3.5-sonnet --ai-key your-api-key
|
|
72
|
-
|
|
73
|
-
# Initialize without bootstrapping
|
|
92
|
+
# Without bootstrapping
|
|
74
93
|
task-o-matic init init --no-bootstrap
|
|
75
94
|
```
|
|
76
95
|
|
|
77
96
|
**Options:**
|
|
78
|
-
- `--project-name <name>`: Name of the project
|
|
79
97
|
- `--ai-provider <provider>`: AI provider (openai, anthropic, openrouter, custom)
|
|
80
98
|
- `--ai-model <model>`: AI model to use
|
|
81
99
|
- `--ai-key <key>`: API key for the AI provider
|
|
100
|
+
- `--ai-provider-url <url>`: Custom AI provider URL
|
|
101
|
+
- `--max-tokens <tokens>`: Max tokens for AI responses
|
|
102
|
+
- `--temperature <temp>`: AI temperature (0-1)
|
|
82
103
|
- `--no-bootstrap`: Skip project bootstrapping
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
104
|
+
- `--project-name <name>`: Project name for bootstrap
|
|
105
|
+
- `--frontend <frontends...>`: Frontend framework(s) for bootstrap
|
|
106
|
+
- `--backend <backend>`: Backend framework for bootstrap
|
|
107
|
+
- `--database <database>`: Database for bootstrap
|
|
108
|
+
- `--auth <auth>`: Authentication for bootstrap
|
|
109
|
+
- `--context7-api-key <key>`: Context7 API key for documentation fetching
|
|
110
|
+
- `--directory <dir>`: Working directory for the project
|
|
111
|
+
- `--package-manager <pm>`: Package manager (npm, bun, pnpm, yarn)
|
|
112
|
+
- `--runtime <runtime>`: Runtime (node, bun, deno)
|
|
113
|
+
- `--payment <payment>`: Payment provider
|
|
114
|
+
- `--cli-deps <level>`: CLI dependency level
|
|
115
|
+
|
|
116
|
+
### `task-o-matic init bootstrap <name>`
|
|
117
|
+
|
|
118
|
+
Bootstrap a new project with Better-T-Stack.
|
|
87
119
|
|
|
88
120
|
```bash
|
|
89
|
-
#
|
|
90
|
-
task-o-matic init bootstrap
|
|
121
|
+
# Full-stack web application
|
|
122
|
+
task-o-matic init bootstrap vault-app --frontend next --backend hono --database postgres --auth
|
|
91
123
|
|
|
92
|
-
#
|
|
93
|
-
task-o-matic init bootstrap
|
|
124
|
+
# CLI application
|
|
125
|
+
task-o-matic init bootstrap shelter-cli --backend hono --database sqlite --no-auth
|
|
94
126
|
|
|
95
|
-
#
|
|
96
|
-
task-o-matic init bootstrap
|
|
127
|
+
# Native mobile app
|
|
128
|
+
task-o-matic init bootstrap survival-mobile --frontend react-native --auth
|
|
97
129
|
```
|
|
98
130
|
|
|
99
131
|
**Options:**
|
|
100
|
-
- `--frontend <
|
|
101
|
-
- `--backend <
|
|
102
|
-
- `--database <
|
|
103
|
-
- `--
|
|
104
|
-
- `--
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
132
|
+
- `--frontend <frontends...>`: Frontend framework(s) (next, react, vue, svelte, react-native, none)
|
|
133
|
+
- `--backend <backend>`: Backend framework (hono, express, fastify, none)
|
|
134
|
+
- `--database <database>`: Database (sqlite, postgres, mysql, mongodb, none)
|
|
135
|
+
- `--orm <orm>`: ORM (prisma, drizzle, typeorm)
|
|
136
|
+
- `--auth <auth>`: Authentication (better-auth, clerk, nextauth, auth0, none)
|
|
137
|
+
- `--no-auth`: Exclude authentication
|
|
138
|
+
- `--addons <addons...>`: Addons (pwa, biome, testing, etc.)
|
|
139
|
+
- `--examples <examples...>`: Examples to include
|
|
140
|
+
- `--template <template>`: Use a predefined template
|
|
141
|
+
- `--no-git`: Skip git initialization
|
|
142
|
+
- `--package-manager <pm>`: Package manager
|
|
143
|
+
- `--no-install`: Skip installing dependencies
|
|
144
|
+
- `--db-setup <setup>`: Database setup
|
|
145
|
+
- `--runtime <runtime>`: Runtime
|
|
146
|
+
- `--api <type>`: API type
|
|
147
|
+
- `--payment <payment>`: Payment provider
|
|
148
|
+
- `--cli-deps <level>`: CLI dependency level
|
|
149
|
+
|
|
150
|
+
### `task-o-matic init attach`
|
|
151
|
+
|
|
152
|
+
Attach the command bunker to an existing project.
|
|
111
153
|
|
|
112
154
|
```bash
|
|
113
|
-
#
|
|
114
|
-
task-o-matic
|
|
155
|
+
# Auto-detect stack
|
|
156
|
+
task-o-matic init attach --analyze --create-prd
|
|
115
157
|
|
|
116
|
-
#
|
|
117
|
-
task-o-matic
|
|
118
|
-
|
|
119
|
-
# Set OpenRouter provider
|
|
120
|
-
task-o-matic config set-ai-provider openrouter anthropic/claude-3.5-sonnet
|
|
158
|
+
# Just detect without creating files
|
|
159
|
+
task-o-matic init attach --dry-run
|
|
121
160
|
|
|
122
|
-
#
|
|
123
|
-
task-o-matic
|
|
161
|
+
# Force re-detection
|
|
162
|
+
task-o-matic init attach --redetect
|
|
124
163
|
```
|
|
125
164
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
165
|
+
**Options:**
|
|
166
|
+
- `--analyze`: Run full project analysis including TODOs and features
|
|
167
|
+
- `--create-prd`: Auto-generate a PRD from codebase analysis
|
|
168
|
+
- `--dry-run`: Just detect, don't create files
|
|
169
|
+
- `--redetect`: Force re-detection of stack
|
|
170
|
+
- `--ai-provider <provider>`: AI provider
|
|
171
|
+
- `--ai-model <model>`: AI model
|
|
172
|
+
- `--ai-key <key>`: AI API key
|
|
173
|
+
- `--ai-provider-url <url>`: AI provider URL
|
|
174
|
+
- `--max-tokens <tokens>`: Max tokens for AI
|
|
175
|
+
- `--temperature <temp>`: AI temperature
|
|
176
|
+
- `--context7-api-key <key>`: Context7 API key
|
|
129
177
|
|
|
130
|
-
|
|
131
|
-
task-o-matic config show-ai
|
|
132
|
-
```
|
|
178
|
+
---
|
|
133
179
|
|
|
134
|
-
|
|
180
|
+
## 📝 TASK COMMANDS
|
|
135
181
|
|
|
136
|
-
|
|
182
|
+
### `task-o-matic tasks create`
|
|
137
183
|
|
|
138
|
-
Create a new task.
|
|
184
|
+
Create a new task with AI enhancement.
|
|
139
185
|
|
|
140
186
|
```bash
|
|
141
|
-
#
|
|
142
|
-
task-o-matic tasks create --title "
|
|
143
|
-
|
|
144
|
-
# Create task with content
|
|
145
|
-
task-o-matic tasks create --title "Add payment integration" --content "Integrate Stripe for payment processing"
|
|
146
|
-
|
|
147
|
-
# Create task with AI enhancement
|
|
148
|
-
task-o-matic tasks create --title "Implement user authentication" --ai-enhance
|
|
187
|
+
# Basic task
|
|
188
|
+
task-o-matic tasks create --title "Fix water filtration system"
|
|
149
189
|
|
|
150
|
-
#
|
|
151
|
-
task-o-matic tasks create --title "Add
|
|
190
|
+
# With content and enhancement
|
|
191
|
+
task-o-matic tasks create --title "Add survivor tracking" \
|
|
192
|
+
--content "Implement tracking system for all bunker residents" \
|
|
193
|
+
--ai-enhance --stream
|
|
152
194
|
|
|
153
|
-
#
|
|
154
|
-
task-o-matic tasks create --title "
|
|
195
|
+
# With parent task
|
|
196
|
+
task-o-matic tasks create --title "Install sensor hardware" \
|
|
197
|
+
--parent-id 1 --effort 2h
|
|
155
198
|
```
|
|
156
199
|
|
|
157
200
|
**Options:**
|
|
158
201
|
- `--title <title>`: Task title (required)
|
|
159
202
|
- `--content <content>`: Task description
|
|
203
|
+
- `--effort <effort>`: Estimated effort (e.g., 2h, 4h, 1d)
|
|
204
|
+
- `--parent-id <id>`: Parent task ID for subtasks
|
|
160
205
|
- `--ai-enhance`: Enhance task with AI
|
|
161
|
-
- `--stream`:
|
|
162
|
-
- `--
|
|
163
|
-
- `--
|
|
206
|
+
- `--stream`: Show streaming AI output
|
|
207
|
+
- `--ai-provider <provider>`: AI provider override
|
|
208
|
+
- `--ai-model <model>`: AI model override
|
|
209
|
+
- `--ai-key <key>`: AI API key override
|
|
210
|
+
- `--ai-provider-url <url>`: AI provider URL override
|
|
211
|
+
- `--reasoning <tokens>`: Enable reasoning for OpenRouter models
|
|
164
212
|
|
|
165
|
-
|
|
213
|
+
### `task-o-matic tasks list`
|
|
166
214
|
|
|
167
|
-
List
|
|
215
|
+
List tasks with filtering.
|
|
168
216
|
|
|
169
217
|
```bash
|
|
170
218
|
# List all tasks
|
|
171
219
|
task-o-matic tasks list
|
|
172
220
|
|
|
173
|
-
#
|
|
221
|
+
# Filter by status
|
|
174
222
|
task-o-matic tasks list --status todo
|
|
175
223
|
task-o-matic tasks list --status in-progress
|
|
176
224
|
task-o-matic tasks list --status completed
|
|
177
225
|
|
|
178
|
-
#
|
|
179
|
-
task-o-matic tasks list --
|
|
180
|
-
|
|
181
|
-
# List tasks with tree view
|
|
182
|
-
task-o-matic tasks list --tree
|
|
226
|
+
# Filter by tag
|
|
227
|
+
task-o-matic tasks list --tag security
|
|
183
228
|
```
|
|
184
229
|
|
|
185
230
|
**Options:**
|
|
186
231
|
- `--status <status>`: Filter by status (todo, in-progress, completed)
|
|
187
|
-
- `--
|
|
188
|
-
- `--tree`: Show task tree with subtasks
|
|
232
|
+
- `--tag <tag>`: Filter by tag
|
|
189
233
|
|
|
190
|
-
|
|
234
|
+
### `task-o-matic tasks show`
|
|
191
235
|
|
|
192
|
-
Display
|
|
236
|
+
Display detailed information about a task.
|
|
193
237
|
|
|
194
238
|
```bash
|
|
195
|
-
task-o-matic tasks show
|
|
239
|
+
task-o-matic tasks show --id 7
|
|
196
240
|
```
|
|
197
241
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
Update a task.
|
|
242
|
+
**Options:**
|
|
243
|
+
- `--id <id>`: Task ID to show (required)
|
|
201
244
|
|
|
202
|
-
|
|
203
|
-
# Update task status
|
|
204
|
-
task-o-matic tasks update <task-id> --status in-progress
|
|
245
|
+
### `task-o-matic tasks update`
|
|
205
246
|
|
|
206
|
-
|
|
207
|
-
task-o-matic tasks update <task-id> --title "New title"
|
|
247
|
+
Update an existing task.
|
|
208
248
|
|
|
209
|
-
|
|
210
|
-
|
|
249
|
+
```bash
|
|
250
|
+
# Update status
|
|
251
|
+
task-o-matic tasks update --id 7 --status in-progress
|
|
211
252
|
|
|
212
|
-
# Update
|
|
213
|
-
task-o-matic tasks update
|
|
253
|
+
# Update title and description
|
|
254
|
+
task-o-matic tasks update --id 7 --title "New title" --description "New description"
|
|
214
255
|
|
|
215
|
-
# Update
|
|
216
|
-
task-o-matic tasks update
|
|
256
|
+
# Update effort and tags
|
|
257
|
+
task-o-matic tasks update --id 7 --effort 4h --tags critical,backend
|
|
217
258
|
```
|
|
218
259
|
|
|
219
260
|
**Options:**
|
|
261
|
+
- `--id <id>`: Task ID to update (required)
|
|
262
|
+
- `--title <title>`: New task title
|
|
263
|
+
- `--description <description>`: New task description
|
|
220
264
|
- `--status <status>`: New status (todo, in-progress, completed)
|
|
221
|
-
- `--
|
|
222
|
-
- `--
|
|
223
|
-
- `--priority <priority>`: New priority (low, medium, high)
|
|
224
|
-
- `--tags <tags>`: Comma-separated tags
|
|
265
|
+
- `--effort <effort>`: New estimated effort
|
|
266
|
+
- `--tags <tags>`: New tags (comma-separated)
|
|
225
267
|
|
|
226
|
-
|
|
268
|
+
### `task-o-matic tasks delete`
|
|
227
269
|
|
|
228
270
|
Delete a task.
|
|
229
271
|
|
|
230
272
|
```bash
|
|
231
|
-
|
|
273
|
+
# Delete with confirmation
|
|
274
|
+
task-o-matic tasks delete --id 7
|
|
275
|
+
|
|
276
|
+
# Force delete without confirmation
|
|
277
|
+
task-o-matic tasks delete --id 7 --force
|
|
278
|
+
|
|
279
|
+
# Delete task and all subtasks
|
|
280
|
+
task-o-matic tasks delete --id 7 --cascade
|
|
232
281
|
```
|
|
233
282
|
|
|
234
|
-
|
|
283
|
+
**Options:**
|
|
284
|
+
- `--id <id>`: Task ID to delete (required)
|
|
285
|
+
- `--force`: Skip confirmation prompt
|
|
286
|
+
- `--cascade`: Delete all subtasks
|
|
235
287
|
|
|
236
|
-
|
|
288
|
+
### `task-o-matic tasks enhance`
|
|
289
|
+
|
|
290
|
+
Enhance an existing task with AI using Context7 documentation.
|
|
237
291
|
|
|
238
292
|
```bash
|
|
239
|
-
#
|
|
240
|
-
task-o-matic tasks
|
|
293
|
+
# Enhance single task
|
|
294
|
+
task-o-matic tasks enhance --task-id 7 --stream
|
|
241
295
|
|
|
242
|
-
#
|
|
243
|
-
task-o-matic tasks
|
|
296
|
+
# Enhance all tasks
|
|
297
|
+
task-o-matic tasks enhance --all --force --stream
|
|
244
298
|
|
|
245
|
-
#
|
|
246
|
-
task-o-matic tasks
|
|
299
|
+
# Enhance specific status/tag
|
|
300
|
+
task-o-matic tasks enhance --status todo --tag critical --dry
|
|
247
301
|
```
|
|
248
302
|
|
|
249
303
|
**Options:**
|
|
250
|
-
- `--
|
|
251
|
-
- `--
|
|
304
|
+
- `--task-id <id>`: Task ID to enhance
|
|
305
|
+
- `--all`: Enhance all existing tasks
|
|
306
|
+
- `--status <status>`: Filter tasks by status
|
|
307
|
+
- `--tag <tag>`: Filter tasks by tag
|
|
308
|
+
- `--dry`: Preview what would be enhanced
|
|
309
|
+
- `--force`: Skip confirmation prompt
|
|
310
|
+
- `--stream`: Show streaming AI output
|
|
311
|
+
- `--ai-provider <provider>`: AI provider override
|
|
312
|
+
- `--ai-model <model>`: AI model override
|
|
313
|
+
- `--ai-key <key>`: AI API key override
|
|
314
|
+
- `--ai-provider-url <url>`: AI provider URL override
|
|
315
|
+
- `--reasoning <tokens>`: Enable reasoning
|
|
316
|
+
|
|
317
|
+
### `task-o-matic tasks split`
|
|
318
|
+
|
|
319
|
+
Split a task into smaller subtasks using AI.
|
|
252
320
|
|
|
253
|
-
|
|
321
|
+
```bash
|
|
322
|
+
# Split single task (works even if it already has subtasks)
|
|
323
|
+
task-o-matic tasks split --task-id 7 --stream
|
|
254
324
|
|
|
255
|
-
|
|
325
|
+
# Split all tasks
|
|
326
|
+
task-o-matic tasks split --all --force --stream
|
|
256
327
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
328
|
+
# Multi-AI splitting
|
|
329
|
+
task-o-matic tasks split --task-id 7 \
|
|
330
|
+
--ai "anthropic:claude-3.5-sonnet,openai:gpt-4o" \
|
|
331
|
+
--combine-ai anthropic:claude-3.5-sonnet \
|
|
332
|
+
--stream
|
|
333
|
+
```
|
|
260
334
|
|
|
261
|
-
|
|
262
|
-
|
|
335
|
+
**Options:**
|
|
336
|
+
- `--task-id <id>`: Task ID to split
|
|
337
|
+
- `--all`: Split all existing tasks
|
|
338
|
+
- `--status <status>`: Filter tasks by status
|
|
339
|
+
- `--tag <tag>`: Filter tasks by tag
|
|
340
|
+
- `--dry`: Preview what would be split
|
|
341
|
+
- `--force`: Skip confirmation prompt
|
|
342
|
+
- `--stream`: Show streaming AI output
|
|
343
|
+
- `--ai-provider <provider>`: AI provider override
|
|
344
|
+
- `--ai-key <key>`: AI API key override
|
|
345
|
+
- `--ai-provider-url <url>`: AI provider URL override
|
|
346
|
+
- `--ai <models...>`: AI model(s) to use (comma-separated)
|
|
347
|
+
- `--combine-ai <provider:model>`: AI model to combine results
|
|
348
|
+
- `--reasoning <tokens>`: Enable reasoning
|
|
349
|
+
- `--tools`: Enable filesystem tools
|
|
350
|
+
|
|
351
|
+
### `task-o-matic tasks execute`
|
|
352
|
+
|
|
353
|
+
Execute a task using an external coding assistant.
|
|
354
|
+
|
|
355
|
+
```bash
|
|
356
|
+
# Execute with planning and review
|
|
357
|
+
task-o-matic tasks execute --id 7 \
|
|
358
|
+
--tool opencode \
|
|
359
|
+
--plan --review \
|
|
360
|
+
--verify "bun test" \
|
|
361
|
+
--max-retries 3
|
|
362
|
+
|
|
363
|
+
# Progressive model retry
|
|
364
|
+
task-o-matic tasks execute --id 7 \
|
|
365
|
+
--try-models "gpt-4o-mini,gpt-4o,claude:sonnet-4" \
|
|
366
|
+
--verify "bun run build" \
|
|
367
|
+
--auto-commit
|
|
263
368
|
```
|
|
264
369
|
|
|
265
370
|
**Options:**
|
|
266
|
-
- `--
|
|
371
|
+
- `--id <id>`: Task ID to execute (required)
|
|
372
|
+
- `--tool <tool>`: External tool (opencode, claude, gemini, codex)
|
|
373
|
+
- `--message <message>`: Custom message to send
|
|
374
|
+
- `--model <model>`: Model to use
|
|
375
|
+
- `--continue-session`: Continue last session
|
|
376
|
+
- `--dry`: Show what would be executed
|
|
377
|
+
- `--verify <command>`: Verification command (alias: `--validate`)
|
|
378
|
+
- `--max-retries <number>`: Maximum number of retries
|
|
379
|
+
- `--try-models <models>`: Progressive model/executor configs
|
|
380
|
+
- `--plan`: Generate implementation plan
|
|
381
|
+
- `--plan-model <model>`: Model for planning
|
|
382
|
+
- `--plan-tool <tool>`: Tool for planning
|
|
383
|
+
- `--review-plan`: Pause for human review
|
|
384
|
+
- `--review`: Run AI review after execution
|
|
385
|
+
- `--review-model <model>`: Model for review
|
|
386
|
+
- `--auto-commit`: Automatically commit changes
|
|
387
|
+
- `--include-prd`: Include PRD content
|
|
388
|
+
|
|
389
|
+
### `task-o-matic tasks execute-loop`
|
|
390
|
+
|
|
391
|
+
Execute multiple tasks in a loop with retry logic.
|
|
392
|
+
|
|
393
|
+
```bash
|
|
394
|
+
# Execute all TODO tasks
|
|
395
|
+
task-o-matic tasks execute-loop --status todo \
|
|
396
|
+
--tool opencode \
|
|
397
|
+
--verify "bun test" \
|
|
398
|
+
--max-retries 3
|
|
399
|
+
|
|
400
|
+
# Execute specific tasks
|
|
401
|
+
task-o-matic tasks execute-loop --ids 7,8,9 \
|
|
402
|
+
--plan --review \
|
|
403
|
+
--auto-commit
|
|
404
|
+
```
|
|
267
405
|
|
|
268
|
-
|
|
406
|
+
**Options:**
|
|
407
|
+
- `--status <status>`: Filter tasks by status
|
|
408
|
+
- `--tag <tag>`: Filter tasks by tag
|
|
409
|
+
- `--ids <ids>`: Comma-separated list of task IDs
|
|
410
|
+
- `--tool <tool>`: External tool to use
|
|
411
|
+
- `--max-retries <number>`: Maximum retries per task
|
|
412
|
+
- `--try-models <models>`: Progressive model/executor configs
|
|
413
|
+
- `--model <model>`: Model to force
|
|
414
|
+
- `--verify <command>`: Verification command (alias: `--validate`)
|
|
415
|
+
- `--message <message>`: Custom message
|
|
416
|
+
- `--continue-session`: Continue last session
|
|
417
|
+
- `--auto-commit`: Automatically commit changes
|
|
418
|
+
- `--plan`: Generate implementation plan
|
|
419
|
+
- `--plan-model <model>`: Model for planning
|
|
420
|
+
- `--plan-tool <tool>`: Tool for planning
|
|
421
|
+
- `--review-plan`: Pause for human review
|
|
422
|
+
- `--review`: Run AI review after execution
|
|
423
|
+
- `--review-model <model>`: Model for review
|
|
424
|
+
- `--include-completed`: Include completed tasks
|
|
425
|
+
- `--include-prd`: Include PRD content
|
|
426
|
+
- `--notify <target>`: Notify on completion
|
|
427
|
+
- `--dry`: Show what would be executed
|
|
428
|
+
|
|
429
|
+
### `task-o-matic tasks get-next`
|
|
269
430
|
|
|
270
|
-
|
|
431
|
+
Get the next task to work on.
|
|
271
432
|
|
|
272
433
|
```bash
|
|
273
|
-
#
|
|
274
|
-
task-o-matic tasks
|
|
434
|
+
# Get next TODO task
|
|
435
|
+
task-o-matic tasks get-next --status todo
|
|
275
436
|
|
|
276
|
-
#
|
|
277
|
-
task-o-matic tasks
|
|
437
|
+
# Get next critical priority task
|
|
438
|
+
task-o-matic tasks get-next --tag critical
|
|
278
439
|
|
|
279
|
-
#
|
|
280
|
-
task-o-matic tasks
|
|
440
|
+
# Get shortest task
|
|
441
|
+
task-o-matic tasks get-next --priority effort
|
|
281
442
|
```
|
|
282
443
|
|
|
283
444
|
**Options:**
|
|
284
|
-
- `--
|
|
285
|
-
- `--
|
|
445
|
+
- `--status <status>`: Filter by status
|
|
446
|
+
- `--tag <tag>`: Filter by tag
|
|
447
|
+
- `--effort <effort>`: Filter by effort
|
|
448
|
+
- `--priority <priority>`: Sort priority (newest, oldest, effort)
|
|
286
449
|
|
|
287
|
-
|
|
450
|
+
### `task-o-matic tasks status`
|
|
288
451
|
|
|
289
|
-
|
|
452
|
+
Set task status.
|
|
290
453
|
|
|
291
454
|
```bash
|
|
292
|
-
task-o-matic tasks
|
|
455
|
+
task-o-matic tasks status --id 7 --status in-progress
|
|
293
456
|
```
|
|
294
457
|
|
|
295
|
-
|
|
458
|
+
**Options:**
|
|
459
|
+
- `--id <id>`: Task ID (required)
|
|
460
|
+
- `--status <status>`: New status (todo, in-progress, completed)
|
|
461
|
+
|
|
462
|
+
### `task-o-matic tasks tree`
|
|
296
463
|
|
|
297
|
-
|
|
464
|
+
Display hierarchical task tree.
|
|
298
465
|
|
|
299
466
|
```bash
|
|
300
|
-
|
|
467
|
+
# Show full tree
|
|
468
|
+
task-o-matic tasks tree
|
|
469
|
+
|
|
470
|
+
# Show subtree starting from task 7
|
|
471
|
+
task-o-matic tasks tree --id 7
|
|
301
472
|
```
|
|
302
473
|
|
|
303
|
-
|
|
474
|
+
**Options:**
|
|
475
|
+
- `--id <id>`: Root task ID (optional - shows full tree if not specified)
|
|
476
|
+
|
|
477
|
+
### `task-o-matic tasks subtasks`
|
|
304
478
|
|
|
305
|
-
|
|
479
|
+
List subtasks for a task.
|
|
306
480
|
|
|
307
481
|
```bash
|
|
308
|
-
task-o-matic tasks
|
|
482
|
+
task-o-matic tasks subtasks --id 7
|
|
309
483
|
```
|
|
310
484
|
|
|
311
|
-
|
|
485
|
+
**Options:**
|
|
486
|
+
- `--id <id>`: Parent task ID (required)
|
|
487
|
+
|
|
488
|
+
### `task-o-matic tasks add-tags` / `tasks remove-tags`
|
|
312
489
|
|
|
313
|
-
|
|
490
|
+
Add or remove tags from a task.
|
|
314
491
|
|
|
315
492
|
```bash
|
|
316
|
-
|
|
493
|
+
# Add tags
|
|
494
|
+
task-o-matic tasks add-tags --id 7 --tags critical,security
|
|
495
|
+
|
|
496
|
+
# Remove tags
|
|
497
|
+
task-o-matic tasks remove-tags --id 7 --tags deprecated
|
|
317
498
|
```
|
|
318
499
|
|
|
319
|
-
|
|
500
|
+
**Options:**
|
|
501
|
+
- `--id <id>`: Task ID (required)
|
|
502
|
+
- `--tags <tags>`: Tags to add/remove (comma-separated)
|
|
503
|
+
|
|
504
|
+
---
|
|
505
|
+
|
|
506
|
+
## 📋 TASK PLAN COMMANDS
|
|
320
507
|
|
|
321
|
-
|
|
508
|
+
### `task-o-matic tasks plan`
|
|
509
|
+
|
|
510
|
+
Create detailed implementation plan for a task.
|
|
322
511
|
|
|
323
512
|
```bash
|
|
324
|
-
task-o-matic tasks
|
|
513
|
+
task-o-matic tasks plan --id 7 --stream
|
|
325
514
|
```
|
|
326
515
|
|
|
327
|
-
|
|
516
|
+
**Options:**
|
|
517
|
+
- `--id <id>`: Task or subtask ID (required)
|
|
518
|
+
- `--stream`: Show streaming AI output
|
|
519
|
+
- `--ai-provider <provider>`: AI provider override
|
|
520
|
+
- `--ai-model <model>`: AI model override
|
|
521
|
+
- `--ai-key <key>`: AI API key override
|
|
522
|
+
- `--ai-provider-url <url>`: AI provider URL override
|
|
523
|
+
- `--reasoning <tokens>`: Enable reasoning
|
|
328
524
|
|
|
329
|
-
|
|
525
|
+
### `task-o-matic tasks list-plan`
|
|
330
526
|
|
|
331
|
-
|
|
527
|
+
List all available implementation plans.
|
|
332
528
|
|
|
333
529
|
```bash
|
|
334
|
-
task-o-matic tasks
|
|
530
|
+
task-o-matic tasks list-plan
|
|
531
|
+
```
|
|
532
|
+
|
|
533
|
+
### `task-o-matic tasks get-plan`
|
|
534
|
+
|
|
535
|
+
View existing implementation plan.
|
|
536
|
+
|
|
537
|
+
```bash
|
|
538
|
+
task-o-matic tasks get-plan --id 7
|
|
335
539
|
```
|
|
336
540
|
|
|
337
541
|
**Options:**
|
|
338
|
-
- `--
|
|
542
|
+
- `--id <id>`: Task or subtask ID (required)
|
|
339
543
|
|
|
340
|
-
|
|
544
|
+
### `task-o-matic tasks set-plan`
|
|
341
545
|
|
|
342
|
-
|
|
546
|
+
Set implementation plan for a task.
|
|
343
547
|
|
|
344
548
|
```bash
|
|
345
|
-
|
|
549
|
+
# Set from text
|
|
550
|
+
task-o-matic tasks set-plan --id 7 --plan "Step 1: Setup\nStep 2: Implement\nStep 3: Test"
|
|
551
|
+
|
|
552
|
+
# Set from file
|
|
553
|
+
task-o-matic tasks set-plan --id 7 --plan-file ./plans/implementation.md
|
|
346
554
|
```
|
|
347
555
|
|
|
348
|
-
|
|
556
|
+
**Options:**
|
|
557
|
+
- `--id <id>`: Task ID (required)
|
|
558
|
+
- `--plan <text>`: Plan content
|
|
559
|
+
- `--plan-file <path>`: Path to file containing plan
|
|
349
560
|
|
|
350
|
-
|
|
561
|
+
### `task-o-matic tasks delete-plan`
|
|
351
562
|
|
|
352
|
-
|
|
353
|
-
task-o-matic tasks document analyze <task-id>
|
|
563
|
+
Delete implementation plan.
|
|
354
564
|
|
|
355
|
-
|
|
356
|
-
task-o-matic tasks
|
|
565
|
+
```bash
|
|
566
|
+
task-o-matic tasks delete-plan --id 7
|
|
357
567
|
```
|
|
358
568
|
|
|
359
569
|
**Options:**
|
|
360
|
-
- `--
|
|
570
|
+
- `--id <id>`: Task ID (required)
|
|
571
|
+
|
|
572
|
+
---
|
|
361
573
|
|
|
362
|
-
|
|
574
|
+
## 📄 TASK DOCUMENTATION COMMANDS
|
|
363
575
|
|
|
364
|
-
|
|
576
|
+
### `task-o-matic tasks document`
|
|
365
577
|
|
|
366
|
-
|
|
578
|
+
Analyze and fetch documentation for a task using AI with Context7.
|
|
367
579
|
|
|
368
580
|
```bash
|
|
369
|
-
task-o-matic tasks
|
|
581
|
+
task-o-matic tasks document --task-id 7 --force --stream
|
|
370
582
|
```
|
|
371
583
|
|
|
372
584
|
**Options:**
|
|
373
|
-
- `--
|
|
585
|
+
- `--task-id <id>`: Task ID (required)
|
|
586
|
+
- `--force`: Force refresh documentation even if recent
|
|
587
|
+
- `--stream`: Show streaming AI output
|
|
588
|
+
- `--ai-provider <provider>`: AI provider override
|
|
589
|
+
- `--ai-model <model>`: AI model override
|
|
590
|
+
- `--ai-key <key>`: AI API key override
|
|
591
|
+
- `--ai-provider-url <url>`: AI provider URL override
|
|
592
|
+
- `--reasoning <tokens>`: Enable reasoning
|
|
374
593
|
|
|
375
|
-
|
|
594
|
+
### `task-o-matic tasks add-documentation`
|
|
376
595
|
|
|
377
|
-
|
|
596
|
+
Add documentation to a task from a file.
|
|
378
597
|
|
|
379
598
|
```bash
|
|
380
|
-
task-o-matic tasks
|
|
599
|
+
task-o-matic tasks add-documentation --id 7 --doc-file ./docs/api.md
|
|
381
600
|
```
|
|
382
601
|
|
|
383
|
-
|
|
602
|
+
**Options:**
|
|
603
|
+
- `--id <id>`: Task ID (required)
|
|
604
|
+
- `--doc-file <path>`: Path to documentation file (required)
|
|
605
|
+
- `--overwrite`: Overwrite existing documentation
|
|
606
|
+
|
|
607
|
+
### `task-o-matic tasks get-documentation`
|
|
384
608
|
|
|
385
|
-
|
|
609
|
+
Get existing documentation for a task.
|
|
386
610
|
|
|
387
611
|
```bash
|
|
388
|
-
task-o-matic tasks
|
|
612
|
+
task-o-matic tasks get-documentation --id 7
|
|
389
613
|
```
|
|
390
614
|
|
|
391
615
|
**Options:**
|
|
392
|
-
- `--
|
|
616
|
+
- `--id <id>`: Task ID (required)
|
|
617
|
+
|
|
618
|
+
---
|
|
393
619
|
|
|
394
|
-
|
|
620
|
+
## 📋 PRD COMMANDS
|
|
395
621
|
|
|
396
|
-
|
|
622
|
+
### `task-o-matic prd create <description>`
|
|
623
|
+
|
|
624
|
+
Generate PRD(s) from a product description.
|
|
397
625
|
|
|
398
626
|
```bash
|
|
399
|
-
|
|
627
|
+
# Single PRD generation
|
|
628
|
+
task-o-matic prd create "Build a vault management system" --stream
|
|
629
|
+
|
|
630
|
+
# Multi-AI PRD generation
|
|
631
|
+
task-o-matic prd create "Build a vault manager" \
|
|
632
|
+
--ai "anthropic:claude-3.5-sonnet,openai:gpt-4o,openrouter:qwen-2.5" \
|
|
633
|
+
--combine-ai anthropic:claude-3.5-sonnet \
|
|
634
|
+
--stream
|
|
635
|
+
|
|
636
|
+
# Custom output directory
|
|
637
|
+
task-o-matic prd create "Survival tracking app" \
|
|
638
|
+
--output-dir ./prds \
|
|
639
|
+
--ai-reasoning 5000
|
|
400
640
|
```
|
|
401
641
|
|
|
402
|
-
|
|
642
|
+
**Options:**
|
|
643
|
+
- `<description>`: Product description (required)
|
|
644
|
+
- `--ai <models...>`: AI model(s) to use
|
|
645
|
+
- `--combine-ai <provider:model>`: AI model to combine multiple PRDs
|
|
646
|
+
- `--output-dir <path>`: Directory to save PRDs
|
|
647
|
+
- `--ai-reasoning <tokens>`: Enable reasoning for OpenRouter models
|
|
648
|
+
- `--stream`: Enable streaming output
|
|
649
|
+
|
|
650
|
+
### `task-o-matic prd combine`
|
|
403
651
|
|
|
404
|
-
|
|
652
|
+
Combine multiple PRD files into a master PRD.
|
|
405
653
|
|
|
406
654
|
```bash
|
|
407
|
-
task-o-matic
|
|
655
|
+
task-o-matic prd combine \
|
|
656
|
+
--files ./prds/prd1.md,./prds/prd2.md \
|
|
657
|
+
--description "Original vault manager description" \
|
|
658
|
+
--output ./prd-master.md \
|
|
659
|
+
--stream
|
|
408
660
|
```
|
|
409
661
|
|
|
410
|
-
|
|
662
|
+
**Options:**
|
|
663
|
+
- `--files <paths...>`: PRD files to combine (required)
|
|
664
|
+
- `--description <text>`: Original product description
|
|
665
|
+
- `--ai <provider:model>`: AI model to use
|
|
666
|
+
- `--output <path>`: Output file path
|
|
667
|
+
- `--ai-reasoning <tokens>`: Enable reasoning
|
|
668
|
+
- `--stream`: Enable streaming
|
|
411
669
|
|
|
412
|
-
|
|
670
|
+
### `task-o-matic prd parse`
|
|
413
671
|
|
|
414
|
-
Parse a PRD file into tasks.
|
|
672
|
+
Parse a PRD file into structured tasks.
|
|
415
673
|
|
|
416
674
|
```bash
|
|
417
|
-
#
|
|
418
|
-
task-o-matic prd parse --file requirements.md
|
|
419
|
-
|
|
420
|
-
# Parse with streaming output
|
|
675
|
+
# Basic parsing
|
|
421
676
|
task-o-matic prd parse --file requirements.md --stream
|
|
422
677
|
|
|
423
|
-
#
|
|
424
|
-
task-o-matic prd parse --file requirements.md
|
|
678
|
+
# Multi-AI parsing
|
|
679
|
+
task-o-matic prd parse --file requirements.md \
|
|
680
|
+
--ai "anthropic:claude-3.5-sonnet,openai:gpt-4o" \
|
|
681
|
+
--combine-ai anthropic:claude-3.5-sonnet \
|
|
682
|
+
--stream
|
|
683
|
+
|
|
684
|
+
# With custom prompt
|
|
685
|
+
task-o-matic prd parse --file requirements.md \
|
|
686
|
+
--prompt "Focus on security features" \
|
|
687
|
+
--tools
|
|
425
688
|
```
|
|
426
689
|
|
|
427
690
|
**Options:**
|
|
428
|
-
- `--file <
|
|
429
|
-
- `--
|
|
430
|
-
- `--
|
|
691
|
+
- `--file <path>`: Path to PRD file (required)
|
|
692
|
+
- `--ai <models...>`: AI model(s) to use
|
|
693
|
+
- `--combine-ai <provider:model>`: AI model to combine results
|
|
694
|
+
- `--prompt <prompt>`: Override prompt
|
|
695
|
+
- `--message <message>`: User message
|
|
696
|
+
- `--ai-provider <provider>`: AI provider override
|
|
697
|
+
- `--ai-model <model>`: AI model override
|
|
698
|
+
- `--ai-key <key>`: AI API key override
|
|
699
|
+
- `--ai-provider-url <url>`: AI provider URL override
|
|
700
|
+
- `--ai-reasoning <tokens>`: Enable reasoning
|
|
701
|
+
- `--stream`: Show streaming AI output
|
|
702
|
+
- `--tools`: Enable filesystem tools
|
|
703
|
+
|
|
704
|
+
### `task-o-matic prd rework`
|
|
705
|
+
|
|
706
|
+
Rework a PRD based on user feedback.
|
|
707
|
+
|
|
708
|
+
```bash
|
|
709
|
+
task-o-matic prd rework \
|
|
710
|
+
--file requirements.md \
|
|
711
|
+
--feedback "Add more security protocols and emergency procedures" \
|
|
712
|
+
--output ./reworked-prd.md \
|
|
713
|
+
--stream
|
|
714
|
+
```
|
|
431
715
|
|
|
432
|
-
|
|
716
|
+
**Options:**
|
|
717
|
+
- `--file <path>`: Path to PRD file (required)
|
|
718
|
+
- `--feedback <feedback>`: User feedback (required)
|
|
719
|
+
- `--output <path>`: Output file path
|
|
720
|
+
- `--prompt <prompt>`: Override prompt
|
|
721
|
+
- `--message <message>`: User message
|
|
722
|
+
- `--ai-provider <provider>`: AI provider override
|
|
723
|
+
- `--ai-model <model>`: AI model override
|
|
724
|
+
- `--ai-key <key>`: AI API key override
|
|
725
|
+
- `--ai-provider-url <url>`: AI provider URL override
|
|
726
|
+
- `--ai-reasoning <tokens>`: Enable reasoning
|
|
727
|
+
- `--stream`: Show streaming AI output
|
|
728
|
+
- `--tools`: Enable filesystem tools
|
|
729
|
+
|
|
730
|
+
### `task-o-matic prd question`
|
|
731
|
+
|
|
732
|
+
Generate clarifying questions for a PRD.
|
|
433
733
|
|
|
434
|
-
|
|
734
|
+
```bash
|
|
735
|
+
task-o-matic prd question --file requirements.md --output ./questions.json --stream
|
|
736
|
+
```
|
|
737
|
+
|
|
738
|
+
**Options:**
|
|
739
|
+
- `--file <path>`: Path to PRD file (required)
|
|
740
|
+
- `--output <path>`: Output JSON file path
|
|
741
|
+
- `--prompt <prompt>`: Override prompt
|
|
742
|
+
- `--message <message>`: User message
|
|
743
|
+
- `--ai-provider <provider>`: AI provider override
|
|
744
|
+
- `--ai-model <model>`: AI model override
|
|
745
|
+
- `--ai-key <key>`: AI API key override
|
|
746
|
+
- `--ai-provider-url <url>`: AI provider URL override
|
|
747
|
+
- `--ai-reasoning <tokens>`: Enable reasoning
|
|
748
|
+
- `--stream`: Show streaming AI output
|
|
749
|
+
- `--tools`: Enable filesystem tools
|
|
750
|
+
|
|
751
|
+
### `task-o-matic prd refine`
|
|
752
|
+
|
|
753
|
+
Refine PRD by answering clarifying questions.
|
|
435
754
|
|
|
436
755
|
```bash
|
|
437
|
-
#
|
|
438
|
-
task-o-matic prd
|
|
756
|
+
# AI answers questions
|
|
757
|
+
task-o-matic prd refine --file requirements.md --question-mode ai --stream
|
|
439
758
|
|
|
440
|
-
#
|
|
441
|
-
task-o-matic prd
|
|
759
|
+
# User answers questions
|
|
760
|
+
task-o-matic prd refine --file requirements.md \
|
|
761
|
+
--questions ./questions.json \
|
|
762
|
+
--question-mode user \
|
|
763
|
+
--stream
|
|
442
764
|
```
|
|
443
765
|
|
|
444
766
|
**Options:**
|
|
445
|
-
- `--file <
|
|
446
|
-
- `--
|
|
447
|
-
- `--
|
|
767
|
+
- `--file <path>`: Path to PRD file (required)
|
|
768
|
+
- `--questions <path>`: Path to questions JSON file
|
|
769
|
+
- `--output <path>`: Output file path
|
|
770
|
+
- `--prompt <prompt>`: Override prompt
|
|
771
|
+
- `--message <message>`: User message
|
|
772
|
+
- `--ai-provider <provider>`: AI provider override
|
|
773
|
+
- `--ai-model <model>`: AI model override
|
|
774
|
+
- `--ai-key <key>`: AI API key override
|
|
775
|
+
- `--ai-provider-url <url>`: AI provider URL override
|
|
776
|
+
- `--ai-reasoning <tokens>`: Enable reasoning
|
|
777
|
+
- `--stream`: Show streaming AI output
|
|
778
|
+
- `--tools`: Enable filesystem tools
|
|
779
|
+
|
|
780
|
+
### `task-o-matic prd get-stack`
|
|
781
|
+
|
|
782
|
+
Suggest optimal technology stack based on PRD analysis.
|
|
448
783
|
|
|
449
|
-
|
|
784
|
+
```bash
|
|
785
|
+
# Analyze from file
|
|
786
|
+
task-o-matic prd get-stack --file requirements.md --save --json
|
|
450
787
|
|
|
451
|
-
|
|
788
|
+
# Analyze from content
|
|
789
|
+
task-o-matic prd get-stack --content "Vault management system" --project-name vault-manager
|
|
790
|
+
```
|
|
452
791
|
|
|
453
|
-
|
|
792
|
+
**Options:**
|
|
793
|
+
- `--file <path>`: Path to PRD file
|
|
794
|
+
- `--content <text>`: PRD content as string
|
|
795
|
+
- `--project-name <name>`: Project name
|
|
796
|
+
- `--save`: Save suggested stack to .task-o-matic/stack.json
|
|
797
|
+
- `--output <path>`: Custom output path
|
|
798
|
+
- `--json`: Output result as JSON
|
|
799
|
+
- `--prompt <prompt>`: Override prompt
|
|
800
|
+
- `--message <message>`: User message
|
|
801
|
+
- `--ai-provider <provider>`: AI provider override
|
|
802
|
+
- `--ai-model <model>`: AI model override
|
|
803
|
+
- `--ai-key <key>`: AI API key override
|
|
804
|
+
- `--ai-provider-url <url>`: AI provider URL override
|
|
805
|
+
- `--ai-reasoning <tokens>`: Enable reasoning
|
|
806
|
+
- `--stream`: Show streaming AI output
|
|
807
|
+
- `--tools`: Enable filesystem tools
|
|
808
|
+
|
|
809
|
+
### `task-o-matic prd generate`
|
|
810
|
+
|
|
811
|
+
Generate a PRD from an existing codebase (reverse-engineering).
|
|
454
812
|
|
|
455
813
|
```bash
|
|
456
|
-
|
|
457
|
-
|
|
814
|
+
task-o-matic prd generate --output ./generated-prd.md --stream --tools
|
|
815
|
+
```
|
|
816
|
+
|
|
817
|
+
**Options:**
|
|
818
|
+
- `--output <filename>`: Output filename
|
|
819
|
+
- `--ai <provider:model>`: AI model to use
|
|
820
|
+
- `--ai-reasoning <tokens>`: Enable reasoning
|
|
821
|
+
- `--stream`: Enable streaming output
|
|
822
|
+
- `--tools`: Enable filesystem tools for deeper analysis
|
|
823
|
+
- `--json`: Output result as JSON
|
|
824
|
+
|
|
825
|
+
---
|
|
826
|
+
|
|
827
|
+
## 🔄 WORKFLOW COMMAND
|
|
458
828
|
|
|
459
|
-
|
|
829
|
+
### `task-o-matic workflow`
|
|
830
|
+
|
|
831
|
+
Interactive workflow for complete project setup and task management.
|
|
832
|
+
|
|
833
|
+
```bash
|
|
834
|
+
# Interactive with streaming
|
|
460
835
|
task-o-matic workflow --stream
|
|
461
836
|
|
|
462
|
-
#
|
|
837
|
+
# Fully automated
|
|
463
838
|
task-o-matic workflow \
|
|
464
839
|
--project-name my-saas-app \
|
|
465
840
|
--project-description "Team collaboration platform" \
|
|
@@ -473,35 +848,119 @@ task-o-matic workflow \
|
|
|
473
848
|
--stream
|
|
474
849
|
```
|
|
475
850
|
|
|
476
|
-
**Options:**
|
|
851
|
+
**Major Options:**
|
|
852
|
+
|
|
853
|
+
**Initialization:**
|
|
854
|
+
- `--stream`: Show streaming AI output
|
|
855
|
+
- `--auto-accept`: Auto-accept all AI suggestions
|
|
856
|
+
- `--skip-all`: Skip all optional steps
|
|
857
|
+
- `--skip-init`: Skip initialization step
|
|
477
858
|
- `--project-name <name>`: Project name
|
|
478
|
-
- `--project-description <description>`: Project description
|
|
479
859
|
- `--init-method <method>`: Initialization method (quick, custom, ai)
|
|
860
|
+
- `--project-description <desc>`: Project description
|
|
861
|
+
- `--use-existing-config`: Use existing configuration
|
|
862
|
+
|
|
863
|
+
**Bootstrap:**
|
|
480
864
|
- `--frontend <framework>`: Frontend framework
|
|
481
865
|
- `--backend <framework>`: Backend framework
|
|
482
|
-
- `--database <db>`: Database
|
|
483
|
-
- `--auth/--no-auth`:
|
|
484
|
-
- `--
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
- `--prd
|
|
488
|
-
- `--
|
|
489
|
-
- `--
|
|
490
|
-
- `--
|
|
491
|
-
- `--
|
|
492
|
-
- `--
|
|
493
|
-
- `--skip-
|
|
494
|
-
- `--
|
|
495
|
-
- `--skip-
|
|
496
|
-
- `--
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
- `--
|
|
500
|
-
- `--
|
|
866
|
+
- `--database <db>`: Database choice
|
|
867
|
+
- `--auth/--no-auth`: Include/exclude authentication
|
|
868
|
+
- `--bootstrap/--no-bootstrap`: Bootstrap project
|
|
869
|
+
|
|
870
|
+
**PRD:**
|
|
871
|
+
- `--skip-prd`: Skip PRD definition
|
|
872
|
+
- `--prd-method <method>`: PRD method (file, manual, ai)
|
|
873
|
+
- `--prd-file <path>`: Path to existing PRD
|
|
874
|
+
- `--prd-description <desc>`: Product description
|
|
875
|
+
- `--prd-content <content>`: Direct PRD content
|
|
876
|
+
- `--prd-multi-generation`: Generate multiple PRDs
|
|
877
|
+
- `--skip-prd-multi-generation`: Skip multi-generation
|
|
878
|
+
- `--prd-multi-generation-models <models>`: Models for multi-generation
|
|
879
|
+
- `--prd-combine/--skip-prd-combine`: Combine generated PRDs
|
|
880
|
+
- `--prd-combine-model <model>`: Model for combining
|
|
881
|
+
|
|
882
|
+
**Stack Suggestion:**
|
|
883
|
+
- `--skip-stack-suggestion`: Skip stack suggestion
|
|
884
|
+
- `--suggest-stack-from-prd [path]`: Get stack from PRD
|
|
885
|
+
|
|
886
|
+
**PRD Refinement:**
|
|
887
|
+
- `--skip-prd-question-refine`: Skip PRD question/refine
|
|
888
|
+
- `--prd-question-refine`: Use question-based refinement
|
|
889
|
+
- `--prd-answer-mode <mode>`: Who answers questions
|
|
890
|
+
- `--prd-answer-ai-provider <provider>`: AI provider for answering
|
|
891
|
+
- `--prd-answer-ai-model <model>`: AI model for answering
|
|
892
|
+
- `--prd-answer-ai-reasoning`: Enable reasoning for AI answering
|
|
893
|
+
|
|
894
|
+
**Task Generation:**
|
|
895
|
+
- `--skip-generate`: Skip task generation
|
|
896
|
+
- `--generate-method <method>`: Generation method
|
|
897
|
+
- `--generate-instructions <instructions>`: Custom task generation instructions
|
|
898
|
+
|
|
899
|
+
**Task Splitting:**
|
|
900
|
+
- `--skip-split`: Skip task splitting
|
|
901
|
+
- `--split-tasks <ids>`: Task IDs to split
|
|
902
|
+
- `--split-all`: Split all tasks
|
|
903
|
+
- `--split-method <method>`: Split method
|
|
904
|
+
- `--split-instructions <instructions>`: Custom split instructions
|
|
905
|
+
|
|
906
|
+
**Execution:**
|
|
907
|
+
- `--execute`: Execute generated tasks
|
|
908
|
+
- `--execute-concurrency <number>`: Number of concurrent tasks
|
|
909
|
+
- `--no-auto-commit`: Disable auto-commit
|
|
910
|
+
- `--execute-tool <tool>`: Executor tool
|
|
911
|
+
- `--execute-model <model>`: Model override for execution
|
|
912
|
+
- `--execute-max-retries <number>`: Max retries per task
|
|
913
|
+
- `--execute-plan`: Enable planning phase
|
|
914
|
+
- `--execute-plan-model <model>`: Model for planning
|
|
915
|
+
- `--execute-review`: Enable review phase
|
|
916
|
+
- `--execute-review-model <model>`: Model for review
|
|
917
|
+
- `--verify <command>`: Verification command
|
|
918
|
+
- `--validate <command>`: Alias for --verify
|
|
919
|
+
- `--try-models <models>`: Progressive model/executor configs
|
|
920
|
+
|
|
921
|
+
---
|
|
922
|
+
|
|
923
|
+
## ⚙️ CONFIGURATION COMMANDS
|
|
924
|
+
|
|
925
|
+
### `task-o-matic config get-ai-config`
|
|
501
926
|
|
|
502
|
-
|
|
927
|
+
Get the current AI configuration.
|
|
503
928
|
|
|
504
|
-
|
|
929
|
+
```bash
|
|
930
|
+
task-o-matic config get-ai-config
|
|
931
|
+
```
|
|
932
|
+
|
|
933
|
+
### `task-o-matic config set-ai-provider <provider> [model]`
|
|
934
|
+
|
|
935
|
+
Set the AI provider and model.
|
|
936
|
+
|
|
937
|
+
```bash
|
|
938
|
+
# Set Anthropic
|
|
939
|
+
task-o-matic config set-ai-provider anthropic claude-3-5-sonnet
|
|
940
|
+
|
|
941
|
+
# Set OpenAI
|
|
942
|
+
task-o-matic config set-ai-provider openai gpt-4
|
|
943
|
+
|
|
944
|
+
# Set OpenRouter
|
|
945
|
+
task-o-matic config set-ai-provider openrouter anthropic/claude-3.5-sonnet
|
|
946
|
+
|
|
947
|
+
# Set custom
|
|
948
|
+
task-o-matic config set-ai-provider custom custom-model --api-url https://api.custom.com/v1
|
|
949
|
+
```
|
|
950
|
+
|
|
951
|
+
### `task-o-matic config info`
|
|
952
|
+
|
|
953
|
+
Get information about the current task-o-matic project.
|
|
954
|
+
|
|
955
|
+
```bash
|
|
956
|
+
task-o-matic config info
|
|
957
|
+
```
|
|
958
|
+
|
|
959
|
+
---
|
|
960
|
+
|
|
961
|
+
## 🧪 BENCHMARK COMMANDS
|
|
962
|
+
|
|
963
|
+
### `task-o-matic benchmark run <operation>`
|
|
505
964
|
|
|
506
965
|
Run a benchmark on specific operations.
|
|
507
966
|
|
|
@@ -514,45 +973,78 @@ task-o-matic benchmark run prd-parse \
|
|
|
514
973
|
|
|
515
974
|
# Benchmark task breakdown
|
|
516
975
|
task-o-matic benchmark run task-breakdown \
|
|
517
|
-
--task-id
|
|
976
|
+
--task-id 7 \
|
|
518
977
|
--models "openai:gpt-4o,anthropic:claude-3-5-sonnet" \
|
|
519
978
|
--concurrency 2
|
|
520
979
|
```
|
|
521
980
|
|
|
522
981
|
**Options:**
|
|
523
|
-
- `--models <
|
|
524
|
-
- `--concurrency <number>`: Max
|
|
525
|
-
- `--delay <
|
|
982
|
+
- `--models <list>`: Comma-separated list of models (required)
|
|
983
|
+
- `--concurrency <number>`: Max concurrent requests (default: 3)
|
|
984
|
+
- `--delay <number>`: Delay between requests in ms
|
|
985
|
+
- Additional options specific to each operation
|
|
526
986
|
|
|
527
|
-
|
|
987
|
+
### `task-o-matic benchmark execution`
|
|
528
988
|
|
|
529
|
-
|
|
989
|
+
Run execution benchmark with Git branch isolation.
|
|
530
990
|
|
|
531
991
|
```bash
|
|
532
|
-
|
|
533
|
-
task-
|
|
534
|
-
--models "openai:gpt-4o,anthropic:claude-3-5-sonnet
|
|
992
|
+
task-o-matic benchmark execution \
|
|
993
|
+
--task-id 7 \
|
|
994
|
+
--models "openai:gpt-4o,anthropic:claude-3-5-sonnet" \
|
|
995
|
+
--verify "bun test" \
|
|
996
|
+
--max-retries 3
|
|
997
|
+
```
|
|
535
998
|
|
|
536
|
-
|
|
999
|
+
**Options:**
|
|
1000
|
+
- `--task-id <id>`: Task ID to benchmark (required)
|
|
1001
|
+
- `--models <list>`: Comma-separated list of models (required)
|
|
1002
|
+
- `--verify <command>`: Verification command
|
|
1003
|
+
- `--max-retries <number>`: Maximum retries per model
|
|
1004
|
+
- `--no-keep-branches`: Delete benchmark branches
|
|
1005
|
+
|
|
1006
|
+
### `task-o-matic benchmark execute-loop`
|
|
1007
|
+
|
|
1008
|
+
Benchmark task loop execution across models.
|
|
1009
|
+
|
|
1010
|
+
```bash
|
|
1011
|
+
task-o-matic benchmark execute-loop \
|
|
1012
|
+
--status todo \
|
|
1013
|
+
--models "openai:gpt-4o,anthropic:claude-3-5-sonnet" \
|
|
1014
|
+
--verify "bun test" \
|
|
1015
|
+
--max-retries 3
|
|
1016
|
+
```
|
|
1017
|
+
|
|
1018
|
+
**Options:**
|
|
1019
|
+
- `--status <status>`: Filter tasks by status
|
|
1020
|
+
- `--tag <tag>`: Filter tasks by tag
|
|
1021
|
+
- `--ids <ids>`: Comma-separated list of task IDs
|
|
1022
|
+
- `--models <list>`: Comma-separated list of models (required)
|
|
1023
|
+
- `--verify <command>`: Verification command
|
|
1024
|
+
- `--max-retries <number>`: Maximum retries per task
|
|
1025
|
+
- `--try-models <models>`: Progressive model/executor configs
|
|
1026
|
+
- `--no-keep-branches`: Delete benchmark branches
|
|
1027
|
+
|
|
1028
|
+
### `task-o-matic benchmark workflow`
|
|
1029
|
+
|
|
1030
|
+
Benchmark complete workflow execution across multiple models.
|
|
1031
|
+
|
|
1032
|
+
```bash
|
|
537
1033
|
task-o-matic benchmark workflow \
|
|
538
1034
|
--models "openai:gpt-4o,anthropic:claude-3-5-sonnet" \
|
|
539
|
-
--project-name "my-saas-app" \
|
|
540
|
-
--project-description "Team collaboration platform" \
|
|
541
|
-
--init-method ai \
|
|
542
|
-
--prd-method ai \
|
|
543
|
-
--auto-accept \
|
|
544
|
-
--split-all \
|
|
545
1035
|
--concurrency 2 \
|
|
546
|
-
--delay 2000
|
|
1036
|
+
--delay 2000 \
|
|
1037
|
+
--execute \
|
|
1038
|
+
--skip-all
|
|
547
1039
|
```
|
|
548
1040
|
|
|
549
1041
|
**Options:**
|
|
550
|
-
All workflow options
|
|
551
|
-
- `--models <
|
|
552
|
-
- `--concurrency <number>`: Max
|
|
553
|
-
- `--delay <
|
|
1042
|
+
All workflow options plus:
|
|
1043
|
+
- `--models <list>`: Comma-separated list of models (required)
|
|
1044
|
+
- `--concurrency <number>`: Max concurrent requests (default: 3)
|
|
1045
|
+
- `--delay <number>`: Delay between requests (default: 1000)
|
|
554
1046
|
|
|
555
|
-
|
|
1047
|
+
### `task-o-matic benchmark list`
|
|
556
1048
|
|
|
557
1049
|
List all benchmark runs.
|
|
558
1050
|
|
|
@@ -560,7 +1052,7 @@ List all benchmark runs.
|
|
|
560
1052
|
task-o-matic benchmark list
|
|
561
1053
|
```
|
|
562
1054
|
|
|
563
|
-
|
|
1055
|
+
### `task-o-matic benchmark show <id>`
|
|
564
1056
|
|
|
565
1057
|
Show details of a benchmark run.
|
|
566
1058
|
|
|
@@ -568,7 +1060,7 @@ Show details of a benchmark run.
|
|
|
568
1060
|
task-o-matic benchmark show <run-id>
|
|
569
1061
|
```
|
|
570
1062
|
|
|
571
|
-
|
|
1063
|
+
### `task-o-matic benchmark compare <id>`
|
|
572
1064
|
|
|
573
1065
|
Compare benchmark results.
|
|
574
1066
|
|
|
@@ -576,130 +1068,250 @@ Compare benchmark results.
|
|
|
576
1068
|
task-o-matic benchmark compare <run-id>
|
|
577
1069
|
```
|
|
578
1070
|
|
|
579
|
-
###
|
|
580
|
-
|
|
581
|
-
#### `task-o-matic prompt`
|
|
1071
|
+
### `task-o-matic benchmark operations`
|
|
582
1072
|
|
|
583
|
-
|
|
1073
|
+
List all available benchmark operations.
|
|
584
1074
|
|
|
585
1075
|
```bash
|
|
586
|
-
|
|
587
|
-
|
|
1076
|
+
task-o-matic benchmark operations
|
|
1077
|
+
```
|
|
1078
|
+
|
|
1079
|
+
---
|
|
1080
|
+
|
|
1081
|
+
## 🔍 DETECT COMMAND
|
|
588
1082
|
|
|
589
|
-
|
|
590
|
-
task-o-matic prompt "Explain the architecture" --stream
|
|
1083
|
+
### `task-o-matic detect`
|
|
591
1084
|
|
|
592
|
-
|
|
593
|
-
|
|
1085
|
+
Detect technology stack of the current project.
|
|
1086
|
+
|
|
1087
|
+
```bash
|
|
1088
|
+
# Auto-detect and save
|
|
1089
|
+
task-o-matic detect --save
|
|
1090
|
+
|
|
1091
|
+
# Output as JSON
|
|
1092
|
+
task-o-matic detect --json
|
|
594
1093
|
```
|
|
595
1094
|
|
|
596
1095
|
**Options:**
|
|
597
|
-
- `--
|
|
598
|
-
- `--
|
|
1096
|
+
- `--save`: Save detected stack to .task-o-matic/stack.json
|
|
1097
|
+
- `--json`: Output result as JSON
|
|
599
1098
|
|
|
600
|
-
|
|
1099
|
+
---
|
|
601
1100
|
|
|
602
|
-
|
|
1101
|
+
## 📈 CONTINUE COMMAND
|
|
603
1102
|
|
|
604
|
-
|
|
1103
|
+
### `task-o-matic continue`
|
|
1104
|
+
|
|
1105
|
+
Continue working on an existing project.
|
|
605
1106
|
|
|
606
1107
|
```bash
|
|
607
|
-
#
|
|
608
|
-
task-o-matic
|
|
1108
|
+
# Show project status
|
|
1109
|
+
task-o-matic continue --status
|
|
1110
|
+
|
|
1111
|
+
# Add new feature to PRD
|
|
1112
|
+
task-o-matic continue --add-feature "Emergency notification system"
|
|
609
1113
|
|
|
610
|
-
#
|
|
611
|
-
task-o-matic
|
|
1114
|
+
# Update PRD with progress
|
|
1115
|
+
task-o-matic continue --update-prd
|
|
612
1116
|
|
|
613
|
-
#
|
|
614
|
-
task-o-matic
|
|
1117
|
+
# Generate tasks for unimplemented features
|
|
1118
|
+
task-o-matic continue --generate-tasks
|
|
1119
|
+
|
|
1120
|
+
# Generate implementation plan for remaining work
|
|
1121
|
+
task-o-matic continue --generate-plan
|
|
615
1122
|
```
|
|
616
1123
|
|
|
617
1124
|
**Options:**
|
|
618
|
-
- `--
|
|
1125
|
+
- `--status`: Show project status overview
|
|
1126
|
+
- `--add-feature <feature>`: Add a new feature to the PRD
|
|
1127
|
+
- `--update-prd`: Update PRD with implementation progress
|
|
1128
|
+
- `--generate-tasks`: Generate tasks for unimplemented features
|
|
1129
|
+
- `--generate-plan`: Generate implementation plan for remaining work
|
|
1130
|
+
|
|
1131
|
+
---
|
|
1132
|
+
|
|
1133
|
+
## 💬 PROMPT COMMAND
|
|
619
1134
|
|
|
620
|
-
|
|
1135
|
+
### `task-o-matic prompt <name>`
|
|
621
1136
|
|
|
622
|
-
|
|
1137
|
+
Build AI service prompts with variable replacement for external tools.
|
|
623
1138
|
|
|
624
1139
|
```bash
|
|
625
|
-
#
|
|
626
|
-
task-o-matic
|
|
1140
|
+
# List available prompts
|
|
1141
|
+
task-o-matic prompt --list
|
|
1142
|
+
|
|
1143
|
+
# Get PRD parsing prompt
|
|
1144
|
+
task-o-matic prompt prd-parsing --prd-file ./requirements.md
|
|
1145
|
+
|
|
1146
|
+
# Get task enhancement prompt with full context
|
|
1147
|
+
task-o-matic prompt task-enhancement \
|
|
1148
|
+
--task-file ./tasks/7.md \
|
|
1149
|
+
--full-context \
|
|
1150
|
+
--executor opencode
|
|
627
1151
|
|
|
628
|
-
#
|
|
629
|
-
|
|
630
|
-
# 2. PRD creation
|
|
631
|
-
# 3. PRD refinement
|
|
632
|
-
# 4. Task generation
|
|
633
|
-
# 5. Task breakdown
|
|
1152
|
+
# Get prompt metadata
|
|
1153
|
+
task-o-matic prompt --metadata prd-parsing
|
|
634
1154
|
```
|
|
635
1155
|
|
|
636
|
-
|
|
1156
|
+
**Options:**
|
|
1157
|
+
- `<name>`: Prompt name (e.g., prd-parsing, task-enhancement)
|
|
1158
|
+
- `--type <type>`: Prompt type (system or user, default: user)
|
|
1159
|
+
- `--list`: List all available prompts
|
|
1160
|
+
- `--metadata <name>`: Show metadata for a specific prompt
|
|
1161
|
+
- `--prd-content <content>`: PRD content
|
|
1162
|
+
- `--prd-file <filepath>`: Load PRD content from file
|
|
1163
|
+
- `--task-title <title>`: Task title
|
|
1164
|
+
- `--task-description <description>`: Task description
|
|
1165
|
+
- `--task-file <filepath>`: Load task description from file
|
|
1166
|
+
- `--stack-info <info>`: Technology stack information
|
|
1167
|
+
- `--context-info <info>`: Additional context information
|
|
1168
|
+
- `--user-feedback <feedback>`: User feedback
|
|
1169
|
+
- `--var <key=value>`: Custom variable
|
|
1170
|
+
- `--full-context`: Include comprehensive project context
|
|
1171
|
+
- `--executor <type>`: Format output for specific executor (opencode, claude, gemini, codex)
|
|
637
1172
|
|
|
638
|
-
|
|
639
|
-
# 1. Initialize project
|
|
640
|
-
task-o-matic init init --project-name my-app
|
|
1173
|
+
---
|
|
641
1174
|
|
|
642
|
-
|
|
643
|
-
task-o-matic config set-ai-provider anthropic claude-3-5-sonnet
|
|
1175
|
+
## 📦 INSTALL COMMAND
|
|
644
1176
|
|
|
645
|
-
|
|
646
|
-
|
|
1177
|
+
### `task-o-matic install <target>`
|
|
1178
|
+
|
|
1179
|
+
Install task-o-matic documentation and agent guides into current project.
|
|
1180
|
+
|
|
1181
|
+
```bash
|
|
1182
|
+
# Install project documentation
|
|
1183
|
+
task-o-matic install doc --force
|
|
647
1184
|
|
|
648
|
-
#
|
|
649
|
-
task-o-matic
|
|
1185
|
+
# Install Claude Desktop agent guide
|
|
1186
|
+
task-o-matic install claude
|
|
650
1187
|
|
|
651
|
-
#
|
|
652
|
-
task-o-matic
|
|
1188
|
+
# Install generic agent guides
|
|
1189
|
+
task-o-matic install agents --force
|
|
653
1190
|
```
|
|
654
1191
|
|
|
655
|
-
|
|
1192
|
+
**Options:**
|
|
1193
|
+
- `<target>`: Installation target (doc, claude, or agents) (required)
|
|
1194
|
+
- `--force`: Overwrite existing files
|
|
1195
|
+
|
|
1196
|
+
---
|
|
1197
|
+
|
|
1198
|
+
## 🤖 AI PROVIDERS: CHOOSE YOUR MACHINE SPIRITS
|
|
1199
|
+
|
|
1200
|
+
| Provider | Strengths | Recommended For |
|
|
1201
|
+
|----------|-----------|-----------------|
|
|
1202
|
+
| **anthropic** | Strong reasoning, great with complexity | PRD parsing, task breakdown |
|
|
1203
|
+
| **openai** | Balanced, fast | Task enhancement, code generation |
|
|
1204
|
+
| **openrouter** | Access to many models, supports reasoning | Multi-model testing, finding optimal performer |
|
|
1205
|
+
| **custom** | Any OpenAI-compatible endpoint | Proprietary or local models |
|
|
1206
|
+
|
|
1207
|
+
### Model Recommendations
|
|
1208
|
+
|
|
1209
|
+
- **PRD Parsing**: `anthropic:claude-3.5-sonnet` or `openai:gpt-4o`
|
|
1210
|
+
- **Task Enhancement**: `openai:gpt-4o-mini` or `anthropic:claude-3-haiku`
|
|
1211
|
+
- **Task Breakdown**: `anthropic:claude-3.5-sonnet`
|
|
1212
|
+
- **Workflow Testing**: Use benchmarking. Let the data decide.
|
|
1213
|
+
|
|
1214
|
+
### Multi-AI Generation
|
|
1215
|
+
|
|
1216
|
+
Let multiple AI models compete and produce the best results together:
|
|
656
1217
|
|
|
657
1218
|
```bash
|
|
658
|
-
#
|
|
659
|
-
task-o-matic
|
|
1219
|
+
# For PRD creation
|
|
1220
|
+
task-o-matic prd create "Build a vault manager" \
|
|
1221
|
+
--ai "anthropic:claude-3.5-sonnet,openai:gpt-4o,openrouter:qwen-2.5" \
|
|
1222
|
+
--combine-ai anthropic:claude-3.5-sonnet \
|
|
1223
|
+
--stream
|
|
660
1224
|
|
|
661
|
-
#
|
|
662
|
-
task-o-matic
|
|
1225
|
+
# For PRD parsing
|
|
1226
|
+
task-o-matic prd parse --file requirements.md \
|
|
1227
|
+
--ai "anthropic:claude-3.5-sonnet,openai:gpt-4o" \
|
|
1228
|
+
--combine-ai anthropic:claude-3.5-sonnet \
|
|
1229
|
+
--stream
|
|
663
1230
|
|
|
664
|
-
#
|
|
665
|
-
task-o-matic tasks split
|
|
1231
|
+
# For task splitting
|
|
1232
|
+
task-o-matic tasks split --task-id 7 \
|
|
1233
|
+
--ai "anthropic:claude-3.5-sonnet,openai:gpt-4o" \
|
|
1234
|
+
--stream
|
|
666
1235
|
```
|
|
667
1236
|
|
|
668
|
-
|
|
1237
|
+
Competition among AI models produces superior results. Multiple models approach the same problem from different angles. The combination model synthesizes the best of all worlds.
|
|
1238
|
+
|
|
1239
|
+
---
|
|
1240
|
+
|
|
1241
|
+
## 🗺️ COMMON WORKFLOWS
|
|
1242
|
+
|
|
1243
|
+
### Workflow Alpha: From PRD to Tasks
|
|
669
1244
|
|
|
670
1245
|
```bash
|
|
671
|
-
#
|
|
672
|
-
task-o-matic
|
|
673
|
-
|
|
674
|
-
|
|
1246
|
+
# Initialize
|
|
1247
|
+
task-o-matic init init
|
|
1248
|
+
|
|
1249
|
+
# Parse PRD
|
|
1250
|
+
task-o-matic prd parse --file requirements.md --stream
|
|
1251
|
+
|
|
1252
|
+
# Review task tree
|
|
1253
|
+
task-o-matic tasks tree
|
|
1254
|
+
|
|
1255
|
+
# Split large tasks
|
|
1256
|
+
task-o-matic tasks split --all --stream
|
|
675
1257
|
|
|
676
|
-
#
|
|
677
|
-
|
|
678
|
-
# 2. Execute identical workflows in parallel
|
|
679
|
-
# 3. Show comprehensive comparison
|
|
680
|
-
# 4. Allow you to select the best model
|
|
1258
|
+
# Get next task
|
|
1259
|
+
task-o-matic tasks get-next
|
|
681
1260
|
```
|
|
682
1261
|
|
|
683
|
-
### Workflow
|
|
1262
|
+
### Workflow Beta: Project Bootstrapping
|
|
684
1263
|
|
|
685
1264
|
```bash
|
|
686
|
-
#
|
|
687
|
-
task-o-matic
|
|
1265
|
+
# Initialize AND bootstrap
|
|
1266
|
+
task-o-matic init init --project-name my-shelter-manager \
|
|
1267
|
+
--ai-provider openrouter --ai-model anthropic/claude-3.5-sonnet \
|
|
1268
|
+
--frontend next --backend hono --database postgres --auth
|
|
1269
|
+
```
|
|
1270
|
+
|
|
1271
|
+
### Workflow Gamma: Existing Project Adoption
|
|
1272
|
+
|
|
1273
|
+
```bash
|
|
1274
|
+
# Attach with analysis
|
|
1275
|
+
task-o-matic init attach --analyze --create-prd
|
|
1276
|
+
|
|
1277
|
+
# Review detected stack
|
|
1278
|
+
cat .task-o-matic/stack.json
|
|
688
1279
|
|
|
689
|
-
#
|
|
690
|
-
task-o-matic tasks
|
|
1280
|
+
# Generate tasks for new features
|
|
1281
|
+
task-o-matic tasks create --title "Add emergency alerts" --ai-enhance --stream
|
|
1282
|
+
```
|
|
1283
|
+
|
|
1284
|
+
### Workflow Delta: AI Model Comparison
|
|
1285
|
+
|
|
1286
|
+
```bash
|
|
1287
|
+
# Benchmark PRD parsing
|
|
1288
|
+
task-o-matic benchmark run prd-parse \
|
|
1289
|
+
--file requirements.md \
|
|
1290
|
+
--models "openai:gpt-4o,anthropic:claude-3-5-sonnet" \
|
|
1291
|
+
--concurrency 2
|
|
691
1292
|
|
|
692
|
-
#
|
|
693
|
-
task-o-matic
|
|
1293
|
+
# Benchmark entire workflow
|
|
1294
|
+
task-o-matic benchmark workflow \
|
|
1295
|
+
--models "openai:gpt-4o,anthropic:claude-3-5-sonnet" \
|
|
1296
|
+
--execute --skip-all
|
|
1297
|
+
```
|
|
694
1298
|
|
|
695
|
-
|
|
696
|
-
task-o-matic tasks update <task-id> --status completed
|
|
1299
|
+
### Workflow Epsilon: Task Execution with Retry
|
|
697
1300
|
|
|
698
|
-
|
|
699
|
-
|
|
1301
|
+
```bash
|
|
1302
|
+
# Execute with progressive model retry
|
|
1303
|
+
task-o-matic tasks execute --id 7 \
|
|
1304
|
+
--tool opencode \
|
|
1305
|
+
--plan --review \
|
|
1306
|
+
--verify "bun test" \
|
|
1307
|
+
--max-retries 3 \
|
|
1308
|
+
--try-models "gpt-4o-mini,gpt-4o,claude:sonnet-4" \
|
|
1309
|
+
--auto-commit
|
|
700
1310
|
```
|
|
701
1311
|
|
|
702
|
-
|
|
1312
|
+
---
|
|
1313
|
+
|
|
1314
|
+
## ⚙️ ENVIRONMENT VARIABLES
|
|
703
1315
|
|
|
704
1316
|
```bash
|
|
705
1317
|
# AI Provider API Keys
|
|
@@ -708,92 +1320,108 @@ export ANTHROPIC_API_KEY="your_anthropic_key"
|
|
|
708
1320
|
export OPENROUTER_API_KEY="your_openrouter_key"
|
|
709
1321
|
export CUSTOM_API_KEY="your_custom_key"
|
|
710
1322
|
export CUSTOM_API_URL="https://api.custom.com/v1"
|
|
1323
|
+
export CONTEXT7_API_KEY="your_context7_key"
|
|
711
1324
|
|
|
712
1325
|
# Default AI Configuration
|
|
713
1326
|
export AI_PROVIDER="anthropic"
|
|
714
1327
|
export AI_MODEL="claude-3-5-sonnet"
|
|
715
1328
|
export AI_MAX_TOKENS="4000"
|
|
716
|
-
export AI_TEMPERATURE="0.
|
|
1329
|
+
export AI_TEMPERATURE="0.5"
|
|
717
1330
|
```
|
|
718
1331
|
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
### Supported Providers
|
|
722
|
-
|
|
723
|
-
- **OpenAI**: GPT models with full feature support
|
|
724
|
-
- **Anthropic**: Claude models with enhanced reasoning
|
|
725
|
-
- **OpenRouter**: Access to multiple models through one API
|
|
726
|
-
- **Custom**: Any OpenAI-compatible API endpoint
|
|
727
|
-
|
|
728
|
-
### Model Recommendations
|
|
729
|
-
|
|
730
|
-
- **PRD Parsing**: `claude-3.5-sonnet` or `gpt-4`
|
|
731
|
-
- **Task Enhancement**: `claude-3-haiku` or `gpt-3.5-turbo`
|
|
732
|
-
- **Task Breakdown**: `claude-3.5-sonnet` for complex tasks
|
|
733
|
-
- **Workflow Testing**: Use benchmarking to find optimal performance
|
|
1332
|
+
---
|
|
734
1333
|
|
|
735
|
-
##
|
|
1334
|
+
## 📁 STORAGE STRUCTURE
|
|
736
1335
|
|
|
737
|
-
|
|
1336
|
+
Everything lives in `.task-o-matic/`:
|
|
738
1337
|
|
|
739
1338
|
```
|
|
740
1339
|
your-project/
|
|
741
1340
|
├── .task-o-matic/
|
|
742
|
-
│ ├── config.json
|
|
743
|
-
│ ├──
|
|
744
|
-
│ ├──
|
|
745
|
-
│
|
|
746
|
-
│
|
|
747
|
-
│ ├──
|
|
1341
|
+
│ ├── config.json # AI configuration
|
|
1342
|
+
│ ├── stack.json # Detected technology stack
|
|
1343
|
+
│ ├── bts-config.json # Better-T-Stack configuration
|
|
1344
|
+
│ ├── mcp.json # Context7/MCP configuration
|
|
1345
|
+
│ ├── tasks.json # Main tasks database
|
|
1346
|
+
│ ├── ai-metadata.json # AI metadata for all tasks
|
|
1347
|
+
│ │
|
|
1348
|
+
│ ├── tasks/ # Task content files
|
|
1349
|
+
│ │ ├── {task-id}.md
|
|
1350
|
+
│ │ └── enhanced/
|
|
1351
|
+
│ │ └── {task-id}.md
|
|
1352
|
+
│ │
|
|
1353
|
+
│ ├── plans/ # Implementation plans
|
|
1354
|
+
│ │ └── {task-id}.json
|
|
1355
|
+
│ │
|
|
1356
|
+
│ ├── docs/ # Documentation
|
|
1357
|
+
│ │ ├── tasks/ # Task-specific documentation
|
|
1358
|
+
│ │ └── {library-name}/ # Context7 library docs
|
|
1359
|
+
│ │
|
|
1360
|
+
│ ├── prd/ # PRD versions and logs
|
|
1361
|
+
│ │ ├── versions/ # PRD versioning history
|
|
748
1362
|
│ │ ├── parsed-prd.json
|
|
749
|
-
│ │ └──
|
|
750
|
-
│
|
|
751
|
-
│
|
|
1363
|
+
│ │ └── (user prd files)
|
|
1364
|
+
│ │
|
|
1365
|
+
│ └── logs/ # Operation logs
|
|
752
1366
|
└── your-project-files...
|
|
753
1367
|
```
|
|
754
1368
|
|
|
755
|
-
|
|
1369
|
+
---
|
|
756
1370
|
|
|
757
|
-
|
|
1371
|
+
## ❓ FREQUENTLY ASKED QUESTIONS FROM THE FIELD
|
|
758
1372
|
|
|
759
|
-
|
|
760
|
-
# Bash
|
|
761
|
-
task-o-matic install --shell bash
|
|
762
|
-
source ~/.bashrc
|
|
1373
|
+
**Q: Can I skip the PRD phase?**
|
|
763
1374
|
|
|
764
|
-
|
|
765
|
-
task-o-matic install --shell zsh
|
|
766
|
-
source ~/.zshrc
|
|
1375
|
+
A: Technically, yes. But also, citizen, have you SEEN the results of "just starting coding"? It's not pretty. An unclear plan is worse than no plan. At least with no plan, you know you're doomed.
|
|
767
1376
|
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
1377
|
+
**Q: Do I really need to split ALL tasks?**
|
|
1378
|
+
|
|
1379
|
+
A: No, but remember: a task too large to finish in one sitting is a task that won't BE finished. Procrastination kills more projects than burnout.
|
|
1380
|
+
|
|
1381
|
+
**Q: What AI provider should I use?**
|
|
1382
|
+
|
|
1383
|
+
A: We recommend OpenRouter with `claude-4.5-sonnet` for quality, or `z-ai/glm-4.7` for economy. The AI doesn't care about your survival preferences. It just wants to help organize your bunker.
|
|
771
1384
|
|
|
772
|
-
|
|
1385
|
+
**Q: Can I add tasks manually?**
|
|
773
1386
|
|
|
774
|
-
|
|
1387
|
+
A: Absolutely. Use `tasks create` with or without `--ai-enhance`.
|
|
775
1388
|
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
-
|
|
783
|
-
|
|
1389
|
+
**Q: What if my project changes direction?**
|
|
1390
|
+
|
|
1391
|
+
A: Common occurrence, citizen. Use `prd rework` to update your PRD, then regenerate tasks. Flexibility is a survival trait.
|
|
1392
|
+
|
|
1393
|
+
**Q: How does task-o-matic handle dependencies?**
|
|
1394
|
+
|
|
1395
|
+
A: Tasks can specify parent-child relationships. The system tracks hierarchy and prevents circular dependencies. A project where everything depends on everything is a project that never completes.
|
|
1396
|
+
|
|
1397
|
+
---
|
|
1398
|
+
|
|
1399
|
+
## 📚 FURTHER READING: SURVIVAL MANUALS
|
|
1400
|
+
|
|
1401
|
+
For detailed information:
|
|
1402
|
+
- [Configuration Guide](../../docs/configuration.md)
|
|
1403
|
+
- [Task Management Guide](../../docs/tasks.md)
|
|
1404
|
+
- [PRD Processing Guide](../../docs/prd.md)
|
|
1405
|
+
- [Workflow Command Guide](../../docs/workflow-command.md)
|
|
1406
|
+
- [AI Integration Guide](../../docs/ai-integration.md)
|
|
1407
|
+
- [Project Initialization Guide](../../docs/projects.md)
|
|
1408
|
+
- [Streaming Output Guide](../../docs/streaming.md)
|
|
1409
|
+
- [Model Benchmarking Guide](../../docs/benchmarking.md)
|
|
1410
|
+
- [Core Library API](../core/README.md)
|
|
1411
|
+
|
|
1412
|
+
---
|
|
784
1413
|
|
|
785
|
-
##
|
|
1414
|
+
## 🏁 FINAL REMINDER
|
|
786
1415
|
|
|
787
|
-
|
|
1416
|
+
**Remember:** A well-planned project is like a well-stocked bunker—both give you peace of mind when the world outside gets chaotic.
|
|
788
1417
|
|
|
789
|
-
|
|
1418
|
+
You now have everything you need to manage your projects in the post-apocalyptic development landscape. Go forth, citizen. Your code is counting on you.
|
|
790
1419
|
|
|
791
|
-
|
|
792
|
-
2. Create a feature branch
|
|
793
|
-
3. Make your changes
|
|
794
|
-
4. Add tests if applicable
|
|
795
|
-
5. Submit a pull request
|
|
1420
|
+
[Stay organized. Stay safe. Survive.]
|
|
796
1421
|
|
|
797
1422
|
---
|
|
798
1423
|
|
|
799
|
-
**
|
|
1424
|
+
**DOCUMENT CONTROL:**
|
|
1425
|
+
- **Version:** 1.0
|
|
1426
|
+
- **Clearance:** All Personnel
|
|
1427
|
+
- **Classification:** For Citizens' Eyes Only
|