rbin-task-flow 1.2.0 → 1.4.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/.cursor/rules/git_control.mdc +6 -5
- package/.cursor/rules/task_estimate.mdc +10 -6
- package/.cursor/rules/task_execution.mdc +12 -5
- package/.cursor/rules/task_generation.mdc +29 -27
- package/.cursor/rules/task_refactor.mdc +20 -9
- package/.cursor/rules/task_report.mdc +10 -5
- package/.cursor/rules/task_review.mdc +20 -7
- package/.cursor/rules/task_work.mdc +25 -18
- package/.cursor/settings.json +1 -3
- package/.model-versions.json +1 -17
- package/.task-flow/README.md +43 -21
- package/.task-flow/contexts/example.png.txt +29 -0
- package/.task-flow/tasks.input.txt +6 -5
- package/CLAUDE.md +17 -7
- package/README.md +41 -82
- package/bin/cli.js +12 -12
- package/lib/estimate.js +72 -47
- package/lib/install.js +6 -47
- package/lib/report.js +41 -22
- package/lib/utils.js +16 -1
- package/lib/version.js +0 -4
- package/package.json +5 -8
- package/.gemini/settings.json +0 -5
- package/.task-flow/screens/example.png.txt +0 -23
- package/GEMINI.md +0 -32
|
@@ -5,11 +5,12 @@ alwaysApply: true
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
- **General Command Permission:**
|
|
8
|
-
- **✅ CAN execute** any system command without asking
|
|
9
|
-
- **✅ CAN execute** npm, yarn, pnpm, docker,
|
|
10
|
-
- **✅ CAN execute** scripts, tests, linters, formatters without asking
|
|
8
|
+
- **✅ CAN execute** any system command without asking (Claude may run commands without asking for approval)
|
|
9
|
+
- **✅ CAN execute** npm, yarn, pnpm, docker, scripts, tests, linters, formatters without confirmation
|
|
11
10
|
- **✅ DON'T need to ask** before executing simple or common commands
|
|
12
|
-
- **❌
|
|
11
|
+
- **❌ EXCEPTIONS** (do not execute without user approval):
|
|
12
|
+
- **Git**: `git` commands that modify the repository (add, commit, push, pull, merge, checkout, etc.)
|
|
13
|
+
- **Cloud/remote resources**: Commands that run or connect to cloud/remote resources (e.g. database connections, cloud CLI that provisions resources, migrations against remote DB, deploying to production)
|
|
13
14
|
|
|
14
15
|
- **Read Commands - Automatic Execution:**
|
|
15
16
|
- **✅ ALWAYS execute without asking** commands that only read information:
|
|
@@ -85,4 +86,4 @@ alwaysApply: true
|
|
|
85
86
|
- RBIN Task Flow workflow should not include automatic git execution
|
|
86
87
|
|
|
87
88
|
- **Fundamental Principle:**
|
|
88
|
-
> **
|
|
89
|
+
> **Claude may execute commands without asking, except: (1) git commands that modify the repository, and (2) commands that run cloud/remote resources (e.g. database, cloud provisioning). For those, only suggest or ask for approval.**
|
|
@@ -5,8 +5,10 @@ alwaysApply: true
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
- **Task Estimation - Time Estimation for Tasks:**
|
|
8
|
-
- **FAST FORMAT**: `task-flow: estimate
|
|
9
|
-
-
|
|
8
|
+
- **FAST FORMAT**: `task-flow: estimate X` → Estimate time for task X (simplified - no "task" needed)
|
|
9
|
+
- **MULTIPLE TASKS**: `task-flow: estimate X,Y` → Estimate multiple tasks
|
|
10
|
+
- **ALL TASKS**: `task-flow: estimate all` → Estimate all tasks
|
|
11
|
+
- When user says "task-flow: estimate X", "estimate X", "estimate X,Y", "estimate all", or "how long will task X take":
|
|
10
12
|
- **READ**: `.task-flow/.internal/tasks.json` to get task details
|
|
11
13
|
- **CALCULATE**: Time estimate based on number of subtasks and developer experience level
|
|
12
14
|
- **DISPLAY**: Show time estimate with intervals for 3 experience levels (junior, mid, senior)
|
|
@@ -57,16 +59,18 @@ alwaysApply: true
|
|
|
57
59
|
```
|
|
58
60
|
|
|
59
61
|
- **Natural Language Phrases:**
|
|
60
|
-
- **FAST FORMAT**: `task-flow: estimate
|
|
61
|
-
-
|
|
62
|
+
- **FAST FORMAT**: `task-flow: estimate X` or `task-flow estimate X` (simplified)
|
|
63
|
+
- **MULTIPLE**: `task-flow: estimate X,Y` or `task-flow: estimate all`
|
|
64
|
+
- "estimate task X" or "estimate X"
|
|
65
|
+
- "estimate tasks 10,11"
|
|
66
|
+
- "estimate all tasks"
|
|
62
67
|
- "how long will task X take"
|
|
63
68
|
- "time estimate for task X"
|
|
64
|
-
- "quanto tempo leva a task X"
|
|
65
69
|
- Any variation asking for time estimation
|
|
66
70
|
|
|
67
71
|
- **Example:**
|
|
68
72
|
```
|
|
69
|
-
User: "task-flow: estimate
|
|
73
|
+
User: "task-flow: estimate 1"
|
|
70
74
|
|
|
71
75
|
Task 1 has 5 subtasks:
|
|
72
76
|
|
|
@@ -6,6 +6,7 @@ alwaysApply: true
|
|
|
6
6
|
|
|
7
7
|
- **RBIN Task Flow - AI-Powered Task Management:**
|
|
8
8
|
- This project uses **RBIN Task Flow** for task tracking and management
|
|
9
|
+
- **Models**: Claude and Cursor use the **default model** of each environment. Do not specify or require a particular model.
|
|
9
10
|
- **IMPORTANT**: When user mentions "task flow", they always refer to **RBIN Task Flow**
|
|
10
11
|
- Tasks are defined in plain text: `.task-flow/tasks.input.txt`
|
|
11
12
|
- Task data is stored in: `.task-flow/.internal/` (do not edit directly - internal system files)
|
|
@@ -21,12 +22,18 @@ alwaysApply: true
|
|
|
21
22
|
- `task-flow: sync` - Sync new tasks from tasks.input.txt
|
|
22
23
|
- `task-flow: think` - Analyze codebase and suggest new tasks
|
|
23
24
|
- `task-flow: run next X` - Work on next X subtasks sequentially
|
|
24
|
-
- `task-flow: run
|
|
25
|
+
- `task-flow: run X` - Work on all pending subtasks of task X (simplified - no "task" needed)
|
|
26
|
+
- `task-flow: run X,Y` - Work on multiple tasks (comma-separated)
|
|
27
|
+
- `task-flow: run all` - Work on all tasks
|
|
25
28
|
- `task-flow: status` - Show current task status
|
|
26
|
-
- `task-flow: review` - Review
|
|
27
|
-
- `task-flow: refactor` - Refactor
|
|
28
|
-
- `task-flow: estimate
|
|
29
|
-
- `task-flow:
|
|
29
|
+
- `task-flow: review X` - Review specific task(s) (comma-separated or "all")
|
|
30
|
+
- `task-flow: refactor X` - Refactor specific task(s) (comma-separated or "all")
|
|
31
|
+
- `task-flow: estimate X` - Estimate time for task X (simplified - no "task" needed)
|
|
32
|
+
- `task-flow: estimate X,Y` - Estimate multiple tasks (comma-separated)
|
|
33
|
+
- `task-flow: estimate all` - Estimate all tasks
|
|
34
|
+
- `task-flow: report X` - Generate implementation report for task X (simplified - no "task" needed)
|
|
35
|
+
- `task-flow: report X,Y` - Generate reports for multiple tasks (comma-separated)
|
|
36
|
+
- `task-flow: report all` - Generate reports for all tasks
|
|
30
37
|
|
|
31
38
|
- **Workflow Example:**
|
|
32
39
|
```markdown
|
|
@@ -7,31 +7,32 @@ alwaysApply: true
|
|
|
7
7
|
- **Task Generation - Direct and Efficient:**
|
|
8
8
|
- When user asks to "Read tasks.input.txt and generate detailed subtasks updating task status":
|
|
9
9
|
- **READ**: `.task-flow/tasks.input.txt` (only process lines starting with `- `)
|
|
10
|
-
- **READ**: `.task-flow/
|
|
10
|
+
- **READ**: `.task-flow/contexts/` directory to list available context files (ALWAYS check this directory)
|
|
11
11
|
- **GENERATE**: Two JSON files and one markdown file with the exact structure below
|
|
12
12
|
- **SAVE**: All files to `.task-flow/`
|
|
13
13
|
- **DON'T**: Check existing JSONs, explore codebase, or ask questions
|
|
14
14
|
|
|
15
|
-
- **
|
|
16
|
-
- **
|
|
17
|
-
- **
|
|
18
|
-
- **
|
|
19
|
-
- **
|
|
20
|
-
- **
|
|
21
|
-
- **
|
|
15
|
+
- **Context Reference System:**
|
|
16
|
+
- **PURPOSE**: `.task-flow/contexts/` is for AIs to consult reference material (any type: .md, .txt, .png, .jpg, .json, etc.) when generating and working on tasks
|
|
17
|
+
- **AUTOMATIC**: Always check `.task-flow/contexts/` directory for available context files (all file types)
|
|
18
|
+
- **NO LISTING NEEDED**: Don't require context files to be listed in tasks.input.txt - always scan the directory
|
|
19
|
+
- **AUTOMATIC MATCHING**: Match context files to tasks by keywords (e.g., "login" → `login-mockup.png` or `api-login.md`, "dashboard" → `dashboard.png`)
|
|
20
|
+
- **SPECIFIC REFERENCE**: If task contains `task-flow-screen nome_arquivo.ext`, reference that file from `.task-flow/contexts/`
|
|
21
|
+
- **PATH ALWAYS**: `task-flow-screen` always references files in `.task-flow/contexts/`
|
|
22
|
+
- **INCLUDE**: In subtask instructions, add the reference: "Context/reference: `.task-flow/contexts/filename.ext`" (or "Visual reference" for images)
|
|
22
23
|
|
|
23
24
|
- **Required Actions:**
|
|
24
25
|
1. Read `tasks.input.txt`:
|
|
25
26
|
- Process task lines (only process lines starting with `- `)
|
|
26
27
|
- Check for `task-flow-screen nome_do_arquivo.png` markers in task descriptions
|
|
27
|
-
2. **ALWAYS** list available
|
|
28
|
+
2. **ALWAYS** list available context files from `.task-flow/contexts/` directory (all file types: .md, .txt, .png, .jpg, .json, etc.)
|
|
28
29
|
3. For each task line, create a task with sequential ID starting at 1
|
|
29
30
|
4. Generate 3-8 subtasks per task with:
|
|
30
31
|
- Clear title
|
|
31
32
|
- Brief description
|
|
32
33
|
- Step-by-step instructions (3-5 steps)
|
|
33
|
-
- **AUTOMATIC**: Include relevant
|
|
34
|
-
- **SPECIFIC**: If task has `task-flow-screen
|
|
34
|
+
- **AUTOMATIC**: Include relevant context references when applicable (match by keywords)
|
|
35
|
+
- **SPECIFIC**: If task has `task-flow-screen nome_arquivo.ext`, reference that file from `.task-flow/contexts/`
|
|
35
36
|
5. Create `.task-flow/.internal/tasks.json` with structure below
|
|
36
37
|
6. Create `.task-flow/.internal/status.json` with all tasks/subtasks as "pending"
|
|
37
38
|
7. Create `.task-flow/tasks.status.md` with all tasks and subtasks marked as `- [ ]` (pending)
|
|
@@ -117,26 +118,27 @@ alwaysApply: true
|
|
|
117
118
|
|
|
118
119
|
- **Example:**
|
|
119
120
|
- Input (`tasks.input.txt`): `- Create authentication system`
|
|
120
|
-
-
|
|
121
|
-
- Output: Task with ID 1, 5 subtasks with
|
|
122
|
-
- Subtask 1: "Setup database schema" (no
|
|
123
|
-
- Subtask 2: "Create login form" → Instructions include: "Visual reference: `.task-flow/
|
|
124
|
-
- Subtask 3: "Implement registration" → Instructions include
|
|
125
|
-
- Subtask 4: "Add JWT authentication" (no
|
|
126
|
-
- Subtask 5: "Test authentication flow" → Instructions include
|
|
121
|
+
- Context files available: `login_recover_signup.png`
|
|
122
|
+
- Output: Task with ID 1, 5 subtasks with context references:
|
|
123
|
+
- Subtask 1: "Setup database schema" (no context)
|
|
124
|
+
- Subtask 2: "Create login form" → Instructions include: "Visual reference: `.task-flow/contexts/login_recover_signup.png`"
|
|
125
|
+
- Subtask 3: "Implement registration" → Instructions include context reference
|
|
126
|
+
- Subtask 4: "Add JWT authentication" (no context)
|
|
127
|
+
- Subtask 5: "Test authentication flow" → Instructions include context reference
|
|
127
128
|
|
|
128
|
-
- **
|
|
129
|
-
- Task: `- Dentist authentication system` → Automatically matches and references `login_recover_signup.png` from `.task-flow/
|
|
130
|
-
- Task: `- Basic dashboard with structure task-flow-screen dashboard.png` → References specific `.task-flow/
|
|
131
|
-
- Task: `- Complete patient CRUD` → Automatically matches and references `patient.png` and `patient_profile.png` from `.task-flow/
|
|
132
|
-
- **IMPORTANT**: `task-flow-screen` always references files in `.task-flow/
|
|
129
|
+
- **Context Reference Examples:**
|
|
130
|
+
- Task: `- Dentist authentication system` → Automatically matches and references `login_recover_signup.png` from `.task-flow/contexts/`
|
|
131
|
+
- Task: `- Basic dashboard with structure task-flow-screen dashboard.png` → References specific `.task-flow/contexts/dashboard.png`
|
|
132
|
+
- Task: `- Complete patient CRUD` → Automatically matches and references `patient.png` and `patient_profile.png` from `.task-flow/contexts/` if available
|
|
133
|
+
- **IMPORTANT**: `task-flow-screen` always references files in `.task-flow/contexts/` - no need to specify full path
|
|
134
|
+
- **FILE TYPES**: Contexts can be any type (images, markdown, text, JSON, etc.) for the AI to read and use when working on tasks
|
|
133
135
|
|
|
134
136
|
- **Critical Rules:**
|
|
135
137
|
- ✅ Be direct: Read → Generate → Save
|
|
136
|
-
- ✅ **ALWAYS** check `.task-flow/
|
|
137
|
-
- ✅ Automatically match and reference relevant
|
|
138
|
-
- ✅ Support `task-flow-screen nome_do_arquivo.png` format - always references `.task-flow/
|
|
139
|
-
- ✅ No exploration of codebase beyond
|
|
138
|
+
- ✅ **ALWAYS** check `.task-flow/contexts/` directory for available context files (automatic, no need to list in tasks.input.txt)
|
|
139
|
+
- ✅ Automatically match and reference relevant context files in subtask instructions based on keywords
|
|
140
|
+
- ✅ Support `task-flow-screen nome_do_arquivo.png` format - always references `.task-flow/contexts/nome_do_arquivo.png`
|
|
141
|
+
- ✅ No exploration of codebase beyond `.task-flow/contexts/` directory
|
|
140
142
|
- ✅ No questions - just generate
|
|
141
143
|
- ✅ Use current timestamp for `createdAt`
|
|
142
144
|
- ✅ All statuses start as "pending"
|
|
@@ -5,8 +5,10 @@ alwaysApply: true
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
- **Task Refactor - Improve Code Quality:**
|
|
8
|
-
- **FAST FORMAT**: `task-flow: refactor` → Refactor
|
|
9
|
-
-
|
|
8
|
+
- **FAST FORMAT**: `task-flow: refactor X` or `task-flow: refactor X,Y` or `task-flow: refactor all` → Refactor specific task(s)
|
|
9
|
+
- **SIMPLIFIED SYNTAX**: No need to say "task" - just use the number: `task-flow: refactor 1` instead of `task-flow: refactor task 1`
|
|
10
|
+
- **REQUIRED**: Task ID is required - use `task-flow: refactor all` to refactor all tasks
|
|
11
|
+
- When user says "task-flow: refactor X", "task-flow: refactor X,Y", "task-flow: refactor all", or "refactor tasks":
|
|
10
12
|
- **IDENTIFY**: Files changed in current commit (or staged changes)
|
|
11
13
|
- **REFACTOR**: Improve code quality without changing functionality
|
|
12
14
|
- **REMOVE**: All explanatory comments (following code_comments.mdc rules)
|
|
@@ -51,20 +53,21 @@ alwaysApply: true
|
|
|
51
53
|
5. Show summary of changes
|
|
52
54
|
|
|
53
55
|
- **Natural Language Phrases:**
|
|
54
|
-
- **FAST FORMAT**: `task-flow: refactor` or `task-flow refactor`
|
|
55
|
-
- "refactor
|
|
56
|
-
- "refactor
|
|
56
|
+
- **FAST FORMAT**: `task-flow: refactor X` or `task-flow: refactor X,Y` or `task-flow: refactor all`
|
|
57
|
+
- "refactor task 1"
|
|
58
|
+
- "refactor tasks 10,11"
|
|
59
|
+
- "refactor all tasks"
|
|
57
60
|
- "improve code quality"
|
|
58
61
|
- "clean up code"
|
|
59
|
-
- Any variation asking to refactor/improve code
|
|
62
|
+
- Any variation asking to refactor/improve code (must include task ID or "all")
|
|
60
63
|
|
|
61
64
|
- **Example:**
|
|
62
65
|
```
|
|
63
|
-
User: "task-flow: refactor"
|
|
66
|
+
User: "task-flow: refactor 1"
|
|
64
67
|
|
|
65
68
|
AI Action:
|
|
66
|
-
1.
|
|
67
|
-
2.
|
|
69
|
+
1. Identify files related to task 1 (from git history or task implementation)
|
|
70
|
+
2. Read each file
|
|
68
71
|
3. For each file:
|
|
69
72
|
- Remove explanatory comments
|
|
70
73
|
- Improve code structure
|
|
@@ -73,6 +76,14 @@ alwaysApply: true
|
|
|
73
76
|
4. Preserve separation comments
|
|
74
77
|
5. Verify functionality unchanged
|
|
75
78
|
6. Show refactoring summary
|
|
79
|
+
|
|
80
|
+
User: "task-flow: refactor all"
|
|
81
|
+
|
|
82
|
+
AI Action:
|
|
83
|
+
1. Process all tasks
|
|
84
|
+
2. Identify files for each task
|
|
85
|
+
3. Refactor all files
|
|
86
|
+
4. Show summary
|
|
76
87
|
```
|
|
77
88
|
|
|
78
89
|
- **Integration:**
|
|
@@ -5,8 +5,10 @@ alwaysApply: true
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
- **Task Report - Generate Implementation Reports:**
|
|
8
|
-
- **FAST FORMAT**: `task-flow: report
|
|
9
|
-
-
|
|
8
|
+
- **FAST FORMAT**: `task-flow: report X` → Generate implementation report for task X (simplified - no "task" needed)
|
|
9
|
+
- **MULTIPLE TASKS**: `task-flow: report X,Y` → Generate reports for multiple tasks
|
|
10
|
+
- **ALL TASKS**: `task-flow: report all` → Generate reports for all tasks
|
|
11
|
+
- When user says "task-flow: report X", "report X", "report X,Y", "report all", "generate report for task X", or "create report task X":
|
|
10
12
|
- **READ**: `.task-flow/.internal/tasks.json` to get task details
|
|
11
13
|
- **READ**: `.task-flow/.internal/status.json` to verify task is completed
|
|
12
14
|
- **ANALYZE**: Codebase changes related to the task (git history, file changes)
|
|
@@ -73,8 +75,11 @@ alwaysApply: true
|
|
|
73
75
|
6. **Notes**: Additional considerations or follow-up items
|
|
74
76
|
|
|
75
77
|
- **Natural Language Phrases:**
|
|
76
|
-
- **FAST FORMAT**: `task-flow: report
|
|
77
|
-
-
|
|
78
|
+
- **FAST FORMAT**: `task-flow: report X` or `task-flow report X` (simplified)
|
|
79
|
+
- **MULTIPLE**: `task-flow: report X,Y` or `task-flow: report all`
|
|
80
|
+
- "generate report for task X" or "report X"
|
|
81
|
+
- "report tasks 10,11"
|
|
82
|
+
- "report all tasks"
|
|
78
83
|
- "create report task X"
|
|
79
84
|
- "document task X"
|
|
80
85
|
- "report for task X"
|
|
@@ -82,7 +87,7 @@ alwaysApply: true
|
|
|
82
87
|
|
|
83
88
|
- **Example:**
|
|
84
89
|
```
|
|
85
|
-
User: "task-flow: report
|
|
90
|
+
User: "task-flow: report 1"
|
|
86
91
|
|
|
87
92
|
AI Action:
|
|
88
93
|
1. Read tasks.json and status.json
|
|
@@ -5,8 +5,10 @@ alwaysApply: true
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
- **Task Review - Verify Completed Tasks:**
|
|
8
|
-
- **FAST FORMAT**: `task-flow: review` → Review
|
|
9
|
-
-
|
|
8
|
+
- **FAST FORMAT**: `task-flow: review X` or `task-flow: review X,Y` or `task-flow: review all` → Review specific task(s)
|
|
9
|
+
- **SIMPLIFIED SYNTAX**: No need to say "task" - just use the number: `task-flow: review 1` instead of `task-flow: review task 1`
|
|
10
|
+
- **REQUIRED**: Task ID is required - use `task-flow: review all` to review all tasks
|
|
11
|
+
- When user says "task-flow: review X", "task-flow: review X,Y", "task-flow: review all", or "review completed tasks":
|
|
10
12
|
- **READ**: `.task-flow/.internal/tasks.json` and `.task-flow/.internal/status.json`
|
|
11
13
|
- **IDENTIFY**: All tasks/subtasks marked as "done"
|
|
12
14
|
- **VERIFY**: Check if each completed task/subtask is actually implemented
|
|
@@ -44,20 +46,22 @@ alwaysApply: true
|
|
|
44
46
|
```
|
|
45
47
|
|
|
46
48
|
- **Natural Language Phrases:**
|
|
47
|
-
- **FAST FORMAT**: `task-flow: review` or `task-flow review`
|
|
48
|
-
- "review
|
|
49
|
+
- **FAST FORMAT**: `task-flow: review X` or `task-flow: review X,Y` or `task-flow: review all`
|
|
50
|
+
- "review task 1"
|
|
51
|
+
- "review tasks 10,11"
|
|
52
|
+
- "review all tasks"
|
|
49
53
|
- "verify done tasks"
|
|
50
54
|
- "check if tasks are really done"
|
|
51
55
|
- "review task status"
|
|
52
|
-
- Any variation asking to review/verify completed tasks
|
|
56
|
+
- Any variation asking to review/verify completed tasks (must include task ID or "all")
|
|
53
57
|
|
|
54
58
|
- **Example:**
|
|
55
59
|
```
|
|
56
|
-
User: "task-flow: review"
|
|
60
|
+
User: "task-flow: review 1"
|
|
57
61
|
|
|
58
62
|
AI Action:
|
|
59
63
|
1. Read tasks.json and status.json
|
|
60
|
-
2. Find
|
|
64
|
+
2. Find task 1 and its "done" subtasks
|
|
61
65
|
3. Verify each one:
|
|
62
66
|
- Check if files exist
|
|
63
67
|
- Check if code matches requirements
|
|
@@ -65,6 +69,15 @@ alwaysApply: true
|
|
|
65
69
|
4. Report findings
|
|
66
70
|
5. Ask if user wants to correct status
|
|
67
71
|
6. If confirmed, update status.json
|
|
72
|
+
|
|
73
|
+
User: "task-flow: review all"
|
|
74
|
+
|
|
75
|
+
AI Action:
|
|
76
|
+
1. Read tasks.json and status.json
|
|
77
|
+
2. Find all "done" tasks/subtasks
|
|
78
|
+
3. Verify each one
|
|
79
|
+
4. Report findings
|
|
80
|
+
5. Ask if user wants to correct status
|
|
68
81
|
```
|
|
69
82
|
|
|
70
83
|
- **Integration:**
|
|
@@ -6,14 +6,17 @@ alwaysApply: true
|
|
|
6
6
|
|
|
7
7
|
- **Task Work - Simplified Commands:**
|
|
8
8
|
- **FASTEST FORMAT**: `task-flow: run next X` (e.g., "task-flow: run next 4" → work on next 4 subtasks)
|
|
9
|
-
- **TASK SPECIFIC**: `task-flow: run task X` (e.g., "task-flow: run
|
|
9
|
+
- **TASK SPECIFIC**: `task-flow: run X` or `task-flow: run X,Y` or `task-flow: run all` (e.g., "task-flow: run 1" → work on all subtasks of task 1)
|
|
10
|
+
- **SIMPLIFIED SYNTAX**: No need to say "task" - just use the number: `task-flow: run 1` instead of `task-flow: run task 1`
|
|
10
11
|
- When user says "task-flow: run next X" or "work on next X subtasks":
|
|
11
12
|
- **INTERPRET**: User wants to work on the next X pending subtasks from RBIN Task Flow
|
|
12
13
|
- **AUTOMATIC**: Read tasks, find next X pending, implement them sequentially
|
|
13
14
|
- **UPDATE**: Mark each subtask as done after completion
|
|
14
15
|
- **NO NEED**: To specify "task flow" explicitly - it's implied
|
|
15
|
-
- When user says "task-flow: run task X" or "
|
|
16
|
-
- **INTERPRET**: User wants to work on all pending subtasks of
|
|
16
|
+
- When user says "task-flow: run X" or "task-flow: run X,Y" or "task-flow: run all":
|
|
17
|
+
- **INTERPRET**: User wants to work on all pending subtasks of specific task(s) or all tasks
|
|
18
|
+
- **MULTIPLE TASKS**: Comma-separated IDs (e.g., "10,11") processes multiple tasks sequentially
|
|
19
|
+
- **ALL TASKS**: "all" processes all tasks in order
|
|
17
20
|
- **DEPENDENCY CHECK**: Before executing, verify that all tasks before X (1, 2, ..., X-1) are completely done
|
|
18
21
|
- **CONFLICT PREVENTION**: Only execute subtasks of task X if no previous tasks have pending subtasks (allows parallel work by multiple AIs)
|
|
19
22
|
- **PARTIAL EXECUTION**: If previous tasks have pending subtasks, inform user that task X cannot be fully executed until previous tasks are complete
|
|
@@ -23,7 +26,7 @@ alwaysApply: true
|
|
|
23
26
|
|
|
24
27
|
- **Natural Language Phrases:**
|
|
25
28
|
- **FAST FORMAT**: `task-flow: run next X` or `task-flow run next X` (e.g., "task-flow: run next 4")
|
|
26
|
-
- **TASK FORMAT**: `task-flow: run task X` or `task-flow run
|
|
29
|
+
- **TASK FORMAT**: `task-flow: run X` or `task-flow: run X,Y` or `task-flow: run all` (e.g., "task-flow: run 1" or "task-flow: run 10,11" or "task-flow: run all")
|
|
27
30
|
- "work on next 3 subtasks"
|
|
28
31
|
- "work on next 5 subtasks"
|
|
29
32
|
- "next 2 subtasks"
|
|
@@ -39,14 +42,17 @@ alwaysApply: true
|
|
|
39
42
|
- `task-flow: run next X` → Work on next X subtasks sequentially (fastest way)
|
|
40
43
|
- `task-flow run next X` → Same as above (without colon)
|
|
41
44
|
- `task-flow: run next` → Work on next 1 subtask (default)
|
|
42
|
-
- `task-flow: run
|
|
43
|
-
- `task-flow run
|
|
45
|
+
- `task-flow: run X` → Work on all pending subtasks of task X (simplified - no "task" needed)
|
|
46
|
+
- `task-flow: run X,Y` → Work on all pending subtasks of tasks X and Y
|
|
47
|
+
- `task-flow: run all` → Work on all pending subtasks of all tasks
|
|
48
|
+
- `task-flow run X` → Same as above (without colon)
|
|
44
49
|
- Examples:
|
|
45
50
|
- "task-flow: run next 4" → Work on next 4 subtasks
|
|
46
51
|
- "task-flow run next 3" → Work on next 3 subtasks
|
|
47
52
|
- "task-flow: run next" → Work on next 1 subtask
|
|
48
|
-
- "task-flow: run
|
|
49
|
-
- "task-flow run
|
|
53
|
+
- "task-flow: run 1" → Work on all pending subtasks of task 1
|
|
54
|
+
- "task-flow: run 10,11" → Work on all pending subtasks of tasks 10 and 11
|
|
55
|
+
- "task-flow: run all" → Work on all pending subtasks of all tasks
|
|
50
56
|
|
|
51
57
|
- **Required Actions for `task-flow: run next X`:**
|
|
52
58
|
1. **Read task files**: `.task-flow/.internal/tasks.json` and `.task-flow/.internal/status.json`
|
|
@@ -56,8 +62,8 @@ alwaysApply: true
|
|
|
56
62
|
- Skip "done" and "in_progress" subtasks
|
|
57
63
|
3. **For each subtask**:
|
|
58
64
|
- Read full instructions from `tasks.json`
|
|
59
|
-
- **CHECK**: If instructions mention
|
|
60
|
-
- **
|
|
65
|
+
- **CHECK**: If instructions mention context references (`.task-flow/contexts/...`), verify the context file exists
|
|
66
|
+
- **CONSULT**: Read and use context files from `.task-flow/contexts/` when implementing (images, .md, .txt, .json, etc. – any type that helps the task)
|
|
61
67
|
- Implement following step-by-step instructions
|
|
62
68
|
- Test/verify implementation
|
|
63
69
|
- Update `status.json` to mark as "done"
|
|
@@ -85,8 +91,8 @@ alwaysApply: true
|
|
|
85
91
|
- Skip "done" and "in_progress" subtasks
|
|
86
92
|
4. **For each subtask** (only if dependency check passed):
|
|
87
93
|
- Read full instructions from `tasks.json`
|
|
88
|
-
- **CHECK**: If instructions mention
|
|
89
|
-
- **
|
|
94
|
+
- **CHECK**: If instructions mention context references (`.task-flow/contexts/...`), verify the context file exists
|
|
95
|
+
- **CONSULT**: Read and use context files from `.task-flow/contexts/` when implementing (images, .md, .txt, .json, etc. – any type that helps the task)
|
|
90
96
|
- Implement following step-by-step instructions
|
|
91
97
|
- Test/verify implementation
|
|
92
98
|
- Update `status.json` to mark as "done"
|
|
@@ -200,15 +206,16 @@ alwaysApply: true
|
|
|
200
206
|
- If file doesn't exist → create it
|
|
201
207
|
- If instructions unclear → ask for clarification (but try to infer first)
|
|
202
208
|
|
|
203
|
-
- **
|
|
204
|
-
- **
|
|
205
|
-
- **
|
|
206
|
-
- **
|
|
207
|
-
- **
|
|
209
|
+
- **Context Support:**
|
|
210
|
+
- **PURPOSE**: `.task-flow/contexts/` holds reference material (any file type) for the AI to consult when working on tasks
|
|
211
|
+
- **AUTOMATIC**: When implementing subtasks, check if instructions reference context files
|
|
212
|
+
- **CONSULT**: Read and use files from `.task-flow/contexts/` as needed (specs, mockups, examples, .md, .txt, .png, .json, etc.)
|
|
213
|
+
- **MATCHING**: Use the context files mentioned in subtask instructions; support any extension, not only images
|
|
214
|
+
- **NO NEED**: User doesn't need to explicitly mention context files - they're automatically considered
|
|
208
215
|
|
|
209
216
|
- **Integration:**
|
|
210
217
|
- Works with [task_execution.mdc](mdc:.cursor/rules/task_execution.mdc) - same workflow
|
|
211
|
-
- Follows [task_generation.mdc](mdc:.cursor/rules/task_generation.mdc) -
|
|
218
|
+
- Follows [task_generation.mdc](mdc:.cursor/rules/task_generation.mdc) - context files are automatically referenced in generated subtasks
|
|
212
219
|
- Follows [commit_practices.mdc](mdc:.cursor/rules/commit_practices.mdc) - suggest commit after completion
|
|
213
220
|
- Respects [git_control.mdc](mdc:.cursor/rules/git_control.mdc) - never commit automatically
|
|
214
221
|
|
package/.cursor/settings.json
CHANGED
package/.model-versions.json
CHANGED
|
@@ -1,17 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"claude": {
|
|
3
|
-
"current": "claude-sonnet-4-5-20250929",
|
|
4
|
-
"latest": "claude-sonnet-4-5-20250929",
|
|
5
|
-
"checkUrl": "https://docs.anthropic.com/claude/docs/models-overview"
|
|
6
|
-
},
|
|
7
|
-
"cursor": {
|
|
8
|
-
"current": "claude-sonnet-4-5-20250929",
|
|
9
|
-
"latest": "claude-sonnet-4-5-20250929",
|
|
10
|
-
"checkUrl": "https://docs.cursor.com/models"
|
|
11
|
-
},
|
|
12
|
-
"gemini": {
|
|
13
|
-
"current": "gemini-3-flash",
|
|
14
|
-
"latest": "gemini-3-flash",
|
|
15
|
-
"checkUrl": "https://ai.google.dev/models/gemini"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
{"claude":{"current":"claude-sonnet-4-5-20250929","latest":"claude-sonnet-4-5-20250929","checkUrl":"https://docs.anthropic.com/claude/docs/models-overview"},"cursor":{"current":"claude-sonnet-4-5-20250929","latest":"claude-sonnet-4-5-20250929","checkUrl":"https://docs.cursor.com/models"}}
|
package/.task-flow/README.md
CHANGED
|
@@ -6,13 +6,15 @@
|
|
|
6
6
|
|---------|-------------|
|
|
7
7
|
| `task-flow: sync` | Complete synchronization: adds new, removes deleted, updates modified, preserves status |
|
|
8
8
|
| `task-flow: think` | Analyzes code and suggests new tasks |
|
|
9
|
-
| `task-flow: run next X` | Works on next X subtasks (e.g., `task-flow: run next 4`) |
|
|
10
|
-
| `task-flow: run task X` | Executes all pending subtasks of task X (e.g., `task-flow: run task 1`) |
|
|
11
9
|
| `task-flow: status` | Shows current task status |
|
|
12
|
-
| `task-flow:
|
|
13
|
-
| `task-flow:
|
|
14
|
-
| `task-flow:
|
|
15
|
-
| `task-flow:
|
|
10
|
+
| `task-flow: run next X` | Works on next X subtasks (e.g., `task-flow: run next 4`) |
|
|
11
|
+
| `task-flow: run X` | Executes all pending subtasks of task X (e.g., `task-flow: run 1`) |
|
|
12
|
+
| `task-flow: run X,Y` | Executes multiple tasks (e.g., `task-flow: run 10,11`) |
|
|
13
|
+
| `task-flow: run all` | Executes all tasks |
|
|
14
|
+
| `task-flow: review X` | Reviews specific task(s) (e.g., `task-flow: review 1` or `task-flow: review 10,11` or `task-flow: review all`) |
|
|
15
|
+
| `task-flow: refactor X` | Refactors specific task(s) (e.g., `task-flow: refactor 1` or `task-flow: refactor 10,11` or `task-flow: refactor all`) |
|
|
16
|
+
| `task-flow: estimate X` | Estimates time for task X (e.g., `task-flow: estimate 1` or `task-flow: estimate 10,11`) |
|
|
17
|
+
| `task-flow: report X` | Generates implementation report for task X (e.g., `task-flow: report 1` or `task-flow: report 10,11`) |
|
|
16
18
|
|
|
17
19
|
**See complete details below ↓**
|
|
18
20
|
|
|
@@ -31,6 +33,13 @@ Complete synchronization between `tasks.input.txt` and the system:
|
|
|
31
33
|
### `task-flow: think`
|
|
32
34
|
Analyzes code and suggests new tasks. Asks before adding to `tasks.input.txt`.
|
|
33
35
|
|
|
36
|
+
### `task-flow: status`
|
|
37
|
+
Shows current status of tasks and subtasks from the `tasks.status.md` file.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Commands with Task ID
|
|
42
|
+
|
|
34
43
|
### `task-flow: run next X`
|
|
35
44
|
Works on next X pending subtasks in sequential order. Implements and marks as "done".
|
|
36
45
|
|
|
@@ -38,7 +47,7 @@ Works on next X pending subtasks in sequential order. Implements and marks as "d
|
|
|
38
47
|
- `task-flow: run next 4` → Next 4 subtasks
|
|
39
48
|
- `task-flow: run next` → Next 1 subtask
|
|
40
49
|
|
|
41
|
-
### `task-flow: run
|
|
50
|
+
### `task-flow: run X` (simplified syntax)
|
|
42
51
|
Executes all pending subtasks of a specific task. Implements and marks as "done".
|
|
43
52
|
|
|
44
53
|
**⚠️ Dependency Check:**
|
|
@@ -47,20 +56,29 @@ Executes all pending subtasks of a specific task. Implements and marks as "done"
|
|
|
47
56
|
- If there are pending previous tasks, warns which ones need to be completed first
|
|
48
57
|
|
|
49
58
|
**Examples:**
|
|
50
|
-
- `task-flow: run
|
|
51
|
-
- `task-flow: run
|
|
59
|
+
- `task-flow: run 1` → All pending subtasks of task 1 (can always execute)
|
|
60
|
+
- `task-flow: run 10,11` → All pending subtasks of tasks 10 and 11
|
|
61
|
+
- `task-flow: run all` → All pending subtasks of all tasks
|
|
62
|
+
- `task-flow: run 3` → Only executes if tasks 1 and 2 are complete
|
|
52
63
|
|
|
53
|
-
### `task-flow:
|
|
54
|
-
|
|
64
|
+
### `task-flow: review X`
|
|
65
|
+
Reviews specific task(s) marked as "done" to verify they are actually completed.
|
|
55
66
|
|
|
56
|
-
|
|
57
|
-
|
|
67
|
+
**Examples:**
|
|
68
|
+
- `task-flow: review 1` → Reviews task 1
|
|
69
|
+
- `task-flow: review 10,11` → Reviews tasks 10 and 11
|
|
70
|
+
- `task-flow: review all` → Reviews all tasks
|
|
71
|
+
|
|
72
|
+
### `task-flow: refactor X`
|
|
73
|
+
Refactors code from specific task(s). Removes explanatory comments, improves code without changing functionality.
|
|
58
74
|
|
|
59
|
-
|
|
60
|
-
|
|
75
|
+
**Examples:**
|
|
76
|
+
- `task-flow: refactor 1` → Refactors task 1
|
|
77
|
+
- `task-flow: refactor 10,11` → Refactors tasks 10 and 11
|
|
78
|
+
- `task-flow: refactor all` → Refactors all tasks
|
|
61
79
|
|
|
62
|
-
### `task-flow: estimate
|
|
63
|
-
Estimates time required to complete
|
|
80
|
+
### `task-flow: estimate X` (simplified syntax)
|
|
81
|
+
Estimates time required to complete task(s) based on the number of subtasks and developer experience level.
|
|
64
82
|
|
|
65
83
|
**Output includes:**
|
|
66
84
|
- Time estimates for Junior (0-2 years), Mid-level (3-5 years), and Senior (6+ years) developers
|
|
@@ -68,10 +86,12 @@ Estimates time required to complete a task based on the number of subtasks and d
|
|
|
68
86
|
- Recommendation for management with buffer
|
|
69
87
|
|
|
70
88
|
**Examples:**
|
|
71
|
-
- `task-flow: estimate
|
|
89
|
+
- `task-flow: estimate 1` → Shows time estimate for task 1
|
|
90
|
+
- `task-flow: estimate 10,11` → Shows time estimates for tasks 10 and 11
|
|
91
|
+
- `task-flow: estimate all` → Shows time estimates for all tasks
|
|
72
92
|
|
|
73
|
-
### `task-flow: report
|
|
74
|
-
Generates a detailed implementation report for
|
|
93
|
+
### `task-flow: report X` (simplified syntax)
|
|
94
|
+
Generates a detailed implementation report for completed task(s) in Markdown format.
|
|
75
95
|
|
|
76
96
|
**Report includes:**
|
|
77
97
|
- Task overview and completion status
|
|
@@ -83,7 +103,9 @@ Generates a detailed implementation report for a completed task in Markdown form
|
|
|
83
103
|
**Report location:** `.task-flow/docs/task-X-implementation.md`
|
|
84
104
|
|
|
85
105
|
**Examples:**
|
|
86
|
-
- `task-flow: report
|
|
106
|
+
- `task-flow: report 1` → Generates report for task 1
|
|
107
|
+
- `task-flow: report 10,11` → Generates reports for tasks 10 and 11
|
|
108
|
+
- `task-flow: report all` → Generates reports for all tasks
|
|
87
109
|
|
|
88
110
|
---
|
|
89
111
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Example Context
|
|
2
|
+
|
|
3
|
+
This folder (`.task-flow/contexts/`) is for AIs to consult reference material when working on tasks.
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
- **Contexts** = any files that help the AI understand what to build or how to do it
|
|
8
|
+
- The AI reads and uses these files when generating subtasks and when implementing them
|
|
9
|
+
- Different file types are supported: images, docs, specs, examples, etc.
|
|
10
|
+
|
|
11
|
+
## Supported file types (examples)
|
|
12
|
+
|
|
13
|
+
- **Images:** `.png`, `.jpg` – mockups, screenshots, diagrams
|
|
14
|
+
- **Text / docs:** `.md`, `.txt` – specs, requirements, notes
|
|
15
|
+
- **Data / config:** `.json`, `.yaml` – examples, schema, sample data
|
|
16
|
+
- **Other:** any file that is useful as context for the task
|
|
17
|
+
|
|
18
|
+
## How to use
|
|
19
|
+
|
|
20
|
+
1. Add your context files to this folder with descriptive names (e.g. kebab-case)
|
|
21
|
+
2. RBIN Task Flow lists and references them when generating subtasks
|
|
22
|
+
3. To reference a specific file in a task, use: `task-flow-screen filename.ext`
|
|
23
|
+
|
|
24
|
+
## Example names
|
|
25
|
+
|
|
26
|
+
- `login-mockup.png`
|
|
27
|
+
- `api-contract.json`
|
|
28
|
+
- `requirements.md`
|
|
29
|
+
- `dashboard-spec.txt`
|
|
@@ -7,12 +7,13 @@
|
|
|
7
7
|
3. Use `task-flow: sync` to generate subtasks from your tasks
|
|
8
8
|
4. Use `task-flow: status` to view task progress
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## Contexts:
|
|
11
11
|
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
12
|
+
- The `.task-flow/contexts/` folder is for AIs to consult when working on tasks (different file types: .md, .txt, .png, .jpg, .json, etc.)
|
|
13
|
+
- Add specs, mockups, requirements, examples, or any reference file to this folder
|
|
14
|
+
- RBIN Task Flow detects and references them when generating and implementing subtasks
|
|
15
|
+
- To reference a specific context in a task: `task-flow-screen filename.ext`
|
|
16
|
+
- Example: `- Create login screen task-flow-screen login-mockup.png`
|
|
16
17
|
|
|
17
18
|
## Tasks:
|
|
18
19
|
|