rbin-task-flow 1.1.0 → 1.2.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/code_comments.mdc +62 -62
- package/.cursor/rules/commit_practices.mdc +75 -75
- package/.cursor/rules/git_control.mdc +63 -63
- package/.cursor/rules/task_estimate.mdc +88 -0
- package/.cursor/rules/task_execution.mdc +6 -4
- package/.cursor/rules/task_generation.mdc +16 -16
- package/.cursor/rules/task_report.mdc +108 -0
- package/.cursor/rules/task_work.mdc +13 -13
- package/.task-flow/README.md +67 -39
- package/.task-flow/screens/example.png.txt +10 -11
- package/.task-flow/tasks.input.txt +6 -8
- package/.task-flow/tasks.status.md +7 -7
- package/CLAUDE.md +2 -0
- package/GEMINI.md +2 -0
- package/README.md +8 -0
- package/bin/cli.js +24 -0
- package/lib/estimate.js +92 -0
- package/lib/install.js +21 -30
- package/lib/report.js +278 -0
- package/lib/version.js +8 -5
- package/package.json +1 -1
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Task time estimation based on task complexity and developer experience level
|
|
3
|
+
globs: **/*
|
|
4
|
+
alwaysApply: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
- **Task Estimation - Time Estimation for Tasks:**
|
|
8
|
+
- **FAST FORMAT**: `task-flow: estimate task X` → Estimate time for task X
|
|
9
|
+
- When user says "task-flow: estimate task X", "estimate task X", or "how long will task X take":
|
|
10
|
+
- **READ**: `.task-flow/.internal/tasks.json` to get task details
|
|
11
|
+
- **CALCULATE**: Time estimate based on number of subtasks and developer experience level
|
|
12
|
+
- **DISPLAY**: Show time estimate with intervals for 3 experience levels (junior, mid, senior)
|
|
13
|
+
- **FORMAT**: Show estimates in hours with ranges (e.g., "10-14 hours" for mid-level)
|
|
14
|
+
|
|
15
|
+
- **Estimation Rules:**
|
|
16
|
+
1. **Base Calculation**: Count total number of subtasks in the task
|
|
17
|
+
2. **Experience Levels**:
|
|
18
|
+
- **Junior** (0-2 years): Base time × 1.5 multiplier
|
|
19
|
+
- **Mid-level** (3-5 years): Base time × 1.0 multiplier (baseline)
|
|
20
|
+
- **Senior** (6+ years): Base time × 0.7 multiplier
|
|
21
|
+
3. **Time per Subtask**:
|
|
22
|
+
- Simple subtask: 1-2 hours (mid-level baseline)
|
|
23
|
+
- Medium subtask: 2-4 hours (mid-level baseline)
|
|
24
|
+
- Complex subtask: 4-6 hours (mid-level baseline)
|
|
25
|
+
4. **Default Assumption**: Average 2-3 hours per subtask for mid-level (baseline)
|
|
26
|
+
5. **Range Calculation**:
|
|
27
|
+
- Lower bound: (subtasks × 2) × multiplier
|
|
28
|
+
- Upper bound: (subtasks × 3) × multiplier
|
|
29
|
+
- Round to nearest hour
|
|
30
|
+
|
|
31
|
+
- **Estimation Formula:**
|
|
32
|
+
```
|
|
33
|
+
Base hours per subtask: 2-3 hours (mid-level)
|
|
34
|
+
|
|
35
|
+
Junior (0-2 years):
|
|
36
|
+
Lower: (subtasks × 2) × 1.5
|
|
37
|
+
Upper: (subtasks × 3) × 1.5
|
|
38
|
+
|
|
39
|
+
Mid-level (3-5 years):
|
|
40
|
+
Lower: subtasks × 2
|
|
41
|
+
Upper: subtasks × 3
|
|
42
|
+
|
|
43
|
+
Senior (6+ years):
|
|
44
|
+
Lower: (subtasks × 2) × 0.7
|
|
45
|
+
Upper: (subtasks × 3) × 0.7
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
- **Display Format:**
|
|
49
|
+
```
|
|
50
|
+
📊 Time Estimation for Task X: [Task Title]
|
|
51
|
+
|
|
52
|
+
Based on [N] subtasks:
|
|
53
|
+
|
|
54
|
+
👶 Junior (0-2 years): [X-Y] hours
|
|
55
|
+
👨💼 Mid-level (3-5 years): [X-Y] hours
|
|
56
|
+
👴 Senior (6+ years): [X-Y] hours
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
- **Natural Language Phrases:**
|
|
60
|
+
- **FAST FORMAT**: `task-flow: estimate task X` or `task-flow estimate task X`
|
|
61
|
+
- "estimate task X"
|
|
62
|
+
- "how long will task X take"
|
|
63
|
+
- "time estimate for task X"
|
|
64
|
+
- "quanto tempo leva a task X"
|
|
65
|
+
- Any variation asking for time estimation
|
|
66
|
+
|
|
67
|
+
- **Example:**
|
|
68
|
+
```
|
|
69
|
+
User: "task-flow: estimate task 1"
|
|
70
|
+
|
|
71
|
+
Task 1 has 5 subtasks:
|
|
72
|
+
|
|
73
|
+
📊 Time Estimation for Task 1: Create authentication system
|
|
74
|
+
|
|
75
|
+
Based on 5 subtasks:
|
|
76
|
+
|
|
77
|
+
👶 Junior (0-2 years): 15-23 hours
|
|
78
|
+
👨💼 Mid-level (3-5 years): 10-15 hours
|
|
79
|
+
👴 Senior (6+ years): 7-11 hours
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
- **Integration:**
|
|
83
|
+
- Works with [task_execution.mdc](mdc:.cursor/rules/task_execution.mdc) workflow
|
|
84
|
+
- Uses task data from `.task-flow/.internal/tasks.json`
|
|
85
|
+
- Estimates are informational only (not stored)
|
|
86
|
+
|
|
87
|
+
- **Principle:**
|
|
88
|
+
> **Provide realistic time estimates based on task complexity (number of subtasks) and developer experience level. Show ranges to account for variability in implementation speed.**
|
|
@@ -25,6 +25,8 @@ alwaysApply: true
|
|
|
25
25
|
- `task-flow: status` - Show current task status
|
|
26
26
|
- `task-flow: review` - Review completed tasks
|
|
27
27
|
- `task-flow: refactor` - Refactor code from current commit
|
|
28
|
+
- `task-flow: estimate task X` - Estimate time for task X based on subtasks and experience level
|
|
29
|
+
- `task-flow: report task X` - Generate implementation report for completed task X
|
|
28
30
|
|
|
29
31
|
- **Workflow Example:**
|
|
30
32
|
```markdown
|
|
@@ -80,7 +82,7 @@ alwaysApply: true
|
|
|
80
82
|
|
|
81
83
|
- **Simplified Task Work:**
|
|
82
84
|
- See [task_work.mdc](mdc:.cursor/rules/task_work.mdc) for simplified "do next X subtasks" commands
|
|
83
|
-
- When user says "
|
|
85
|
+
- When user says "work on next X subtasks" or similar phrases, automatically find and implement them
|
|
84
86
|
|
|
85
87
|
- **Task Review:**
|
|
86
88
|
- See [task_review.mdc](mdc:.cursor/rules/task_review.mdc) for reviewing completed tasks
|
|
@@ -93,10 +95,10 @@ alwaysApply: true
|
|
|
93
95
|
- **Task Flow Commands - Natural Language Interpretation:**
|
|
94
96
|
- **CRITICAL**: When user mentions **"task flow"**, they **ALWAYS** refer to **RBIN Task Flow**
|
|
95
97
|
- Common phrases that mean "work on RBIN Task Flow subtasks":
|
|
96
|
-
- "trabalhe nas próximas x subtasks do task flow"
|
|
97
98
|
- "work on next x subtasks from task flow"
|
|
98
|
-
- "
|
|
99
|
+
- "next subtasks from task flow"
|
|
99
100
|
- "task flow subtasks"
|
|
101
|
+
- "do next x subtasks"
|
|
100
102
|
- Any variation mentioning "task flow" + "subtasks"
|
|
101
103
|
|
|
102
104
|
- **When User Asks to Work on Subtasks:**
|
|
@@ -112,7 +114,7 @@ alwaysApply: true
|
|
|
112
114
|
- **STEP 4**: If all subtasks of a task are done, update task status to "done" in both files
|
|
113
115
|
|
|
114
116
|
- **Example:**
|
|
115
|
-
- User: "
|
|
117
|
+
- User: "work on next 3 subtasks from task flow"
|
|
116
118
|
- Interpretation: Work on next 3 pending subtasks from RBIN Task Flow
|
|
117
119
|
- Action:
|
|
118
120
|
1. Read `.task-flow/.internal/tasks.json` and `.task-flow/.internal/status.json`
|
|
@@ -18,7 +18,7 @@ alwaysApply: true
|
|
|
18
18
|
- **AUTOMATIC MATCHING**: Automatically match screenshots to tasks based on keywords (e.g., "login" → `login_recover_signup.png`, "dashboard" → `dashboard.png`, "paciente" → `patient.png`)
|
|
19
19
|
- **SPECIFIC REFERENCE**: If task contains `task-flow-screen nome_do_arquivo.png`, reference that specific screenshot from `.task-flow/screens/`
|
|
20
20
|
- **PATH ALWAYS**: `task-flow-screen` always references files in `.task-flow/screens/` directory
|
|
21
|
-
- **INCLUDE**: Add screenshot reference in instructions: "
|
|
21
|
+
- **INCLUDE**: Add screenshot reference in instructions: "Visual reference: `.task-flow/screens/filename.png`"
|
|
22
22
|
|
|
23
23
|
- **Required Actions:**
|
|
24
24
|
1. Read `tasks.input.txt`:
|
|
@@ -79,17 +79,17 @@ alwaysApply: true
|
|
|
79
79
|
```markdown
|
|
80
80
|
# Task Status
|
|
81
81
|
|
|
82
|
-
<!-- ⚠️
|
|
82
|
+
<!-- ⚠️ WARNING: This file is automatically updated by AI. DO NOT edit manually. -->
|
|
83
83
|
|
|
84
|
-
## 📊
|
|
84
|
+
## 📊 Summary
|
|
85
85
|
|
|
86
|
-
- ✅ **Tasks
|
|
87
|
-
- ⏳ **Tasks
|
|
88
|
-
- 📝 **Subtasks
|
|
86
|
+
- ✅ **Completed Tasks**: 0
|
|
87
|
+
- ⏳ **Tasks in Progress**: 2
|
|
88
|
+
- 📝 **Remaining Subtasks**: 8
|
|
89
89
|
|
|
90
90
|
**Tasks:**
|
|
91
|
-
- ✅ Task 1: First task (
|
|
92
|
-
- ⏳ Task 2: Second task (3 subtasks
|
|
91
|
+
- ✅ Task 1: First task (complete)
|
|
92
|
+
- ⏳ Task 2: Second task (3 remaining subtasks out of 5)
|
|
93
93
|
|
|
94
94
|
---
|
|
95
95
|
|
|
@@ -107,10 +107,10 @@ alwaysApply: true
|
|
|
107
107
|
- [ ] Subtask Title 3
|
|
108
108
|
```
|
|
109
109
|
- **ALWAYS include summary section** at the top with:
|
|
110
|
-
- ✅
|
|
111
|
-
- ⏳ Tasks
|
|
112
|
-
- 📝 Total
|
|
113
|
-
-
|
|
110
|
+
- ✅ Completed tasks (all subtasks done)
|
|
111
|
+
- ⏳ Tasks in progress (some subtasks done)
|
|
112
|
+
- 📝 Total remaining subtasks
|
|
113
|
+
- List of tasks with status and how many subtasks remain
|
|
114
114
|
- All tasks and subtasks start as `- [ ]` (pending)
|
|
115
115
|
- Format: Task title with `- [ ]` or `- [x]`, then subtasks indented with ` - [ ]` or ` - [x]`
|
|
116
116
|
- **CRITICAL**: Always regenerate summary when updating tasks.status.md
|
|
@@ -120,15 +120,15 @@ alwaysApply: true
|
|
|
120
120
|
- Screenshots available: `login_recover_signup.png`
|
|
121
121
|
- Output: Task with ID 1, 5 subtasks with screenshot references:
|
|
122
122
|
- Subtask 1: "Setup database schema" (no screenshot)
|
|
123
|
-
- Subtask 2: "Create login form" → Instructions include: "
|
|
123
|
+
- Subtask 2: "Create login form" → Instructions include: "Visual reference: `.task-flow/screens/login_recover_signup.png`"
|
|
124
124
|
- Subtask 3: "Implement registration" → Instructions include screenshot reference
|
|
125
125
|
- Subtask 4: "Add JWT authentication" (no screenshot)
|
|
126
126
|
- Subtask 5: "Test authentication flow" → Instructions include screenshot reference
|
|
127
127
|
|
|
128
128
|
- **Screenshot Reference Examples:**
|
|
129
|
-
- Task: `-
|
|
130
|
-
- Task: `-
|
|
131
|
-
- Task: `-
|
|
129
|
+
- Task: `- Dentist authentication system` → Automatically matches and references `login_recover_signup.png` from `.task-flow/screens/`
|
|
130
|
+
- Task: `- Basic dashboard with structure task-flow-screen dashboard.png` → References specific `.task-flow/screens/dashboard.png`
|
|
131
|
+
- Task: `- Complete patient CRUD` → Automatically matches and references `patient.png` and `patient_profile.png` from `.task-flow/screens/` if available
|
|
132
132
|
- **IMPORTANT**: `task-flow-screen` always references files in `.task-flow/screens/` - no need to specify full path
|
|
133
133
|
|
|
134
134
|
- **Critical Rules:**
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Generate implementation reports for completed tasks
|
|
3
|
+
globs: **/*
|
|
4
|
+
alwaysApply: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
- **Task Report - Generate Implementation Reports:**
|
|
8
|
+
- **FAST FORMAT**: `task-flow: report task X` → Generate implementation report for task X
|
|
9
|
+
- When user says "task-flow: report task X", "generate report for task X", or "create report task X":
|
|
10
|
+
- **READ**: `.task-flow/.internal/tasks.json` to get task details
|
|
11
|
+
- **READ**: `.task-flow/.internal/status.json` to verify task is completed
|
|
12
|
+
- **ANALYZE**: Codebase changes related to the task (git history, file changes)
|
|
13
|
+
- **GENERATE**: Markdown report documenting what was implemented
|
|
14
|
+
- **SAVE**: Report to `.task-flow/docs/task-X-implementation.md`
|
|
15
|
+
|
|
16
|
+
- **Report Generation Rules:**
|
|
17
|
+
1. **Verify Completion**: Task must be marked as "done" in status.json (all subtasks completed)
|
|
18
|
+
2. **Report Structure**:
|
|
19
|
+
- Task title and description
|
|
20
|
+
- List of all subtasks with their status
|
|
21
|
+
- Implementation details (files created/modified)
|
|
22
|
+
- Code changes summary
|
|
23
|
+
- Testing information (if applicable)
|
|
24
|
+
- Notes and considerations
|
|
25
|
+
3. **File Location**: `.task-flow/docs/task-X-implementation.md`
|
|
26
|
+
4. **File Naming**: `task-{taskId}-implementation.md` (e.g., `task-1-implementation.md`)
|
|
27
|
+
5. **Directory Creation**: Create `.task-flow/docs/` if it doesn't exist
|
|
28
|
+
|
|
29
|
+
- **Report Template:**
|
|
30
|
+
```markdown
|
|
31
|
+
# Task {X}: {Task Title}
|
|
32
|
+
|
|
33
|
+
**Status**: ✅ Completed
|
|
34
|
+
**Date**: {completion date}
|
|
35
|
+
|
|
36
|
+
## Description
|
|
37
|
+
|
|
38
|
+
{Task description from tasks.json}
|
|
39
|
+
|
|
40
|
+
## Subtasks Completed
|
|
41
|
+
|
|
42
|
+
{List all subtasks with their status}
|
|
43
|
+
|
|
44
|
+
## Implementation Details
|
|
45
|
+
|
|
46
|
+
### Files Created
|
|
47
|
+
- {file path}
|
|
48
|
+
- {file path}
|
|
49
|
+
|
|
50
|
+
### Files Modified
|
|
51
|
+
- {file path}
|
|
52
|
+
- {file path}
|
|
53
|
+
|
|
54
|
+
## Code Changes Summary
|
|
55
|
+
|
|
56
|
+
{Summary of what was implemented}
|
|
57
|
+
|
|
58
|
+
## Testing
|
|
59
|
+
|
|
60
|
+
{Testing information if applicable}
|
|
61
|
+
|
|
62
|
+
## Notes
|
|
63
|
+
|
|
64
|
+
{Additional notes or considerations}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
- **Report Content:**
|
|
68
|
+
1. **Task Information**: Title, description, completion date
|
|
69
|
+
2. **Subtasks**: List all subtasks with their completion status
|
|
70
|
+
3. **Files**: List files created and modified (from git history or file system)
|
|
71
|
+
4. **Implementation**: Summary of what was implemented
|
|
72
|
+
5. **Testing**: Testing information if tests were added
|
|
73
|
+
6. **Notes**: Additional considerations or follow-up items
|
|
74
|
+
|
|
75
|
+
- **Natural Language Phrases:**
|
|
76
|
+
- **FAST FORMAT**: `task-flow: report task X` or `task-flow report task X`
|
|
77
|
+
- "generate report for task X"
|
|
78
|
+
- "create report task X"
|
|
79
|
+
- "document task X"
|
|
80
|
+
- "report for task X"
|
|
81
|
+
- Any variation asking for task report generation
|
|
82
|
+
|
|
83
|
+
- **Example:**
|
|
84
|
+
```
|
|
85
|
+
User: "task-flow: report task 1"
|
|
86
|
+
|
|
87
|
+
AI Action:
|
|
88
|
+
1. Read tasks.json and status.json
|
|
89
|
+
2. Verify task 1 is completed
|
|
90
|
+
3. Analyze codebase for changes related to task 1
|
|
91
|
+
4. Generate markdown report
|
|
92
|
+
5. Save to .task-flow/docs/task-1-implementation.md
|
|
93
|
+
6. Show confirmation message
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
- **Error Handling:**
|
|
97
|
+
- If task is not completed: Show warning and ask if user wants to generate partial report
|
|
98
|
+
- If task doesn't exist: Show error message
|
|
99
|
+
- If docs directory doesn't exist: Create it automatically
|
|
100
|
+
|
|
101
|
+
- **Integration:**
|
|
102
|
+
- Works with [task_execution.mdc](mdc:.cursor/rules/task_execution.mdc) workflow
|
|
103
|
+
- Uses task data from `.task-flow/.internal/tasks.json` and `.task-flow/.internal/status.json`
|
|
104
|
+
- Reports are stored in `.task-flow/docs/` directory
|
|
105
|
+
- Can reference git history for implementation details
|
|
106
|
+
|
|
107
|
+
- **Principle:**
|
|
108
|
+
> **Generate comprehensive implementation reports documenting what was completed in each task. Reports should be useful for code reviews, documentation, and project tracking.**
|
|
@@ -7,12 +7,12 @@ alwaysApply: true
|
|
|
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
9
|
- **TASK SPECIFIC**: `task-flow: run task X` (e.g., "task-flow: run task 1" → work on all subtasks of task 1)
|
|
10
|
-
- When user says "task-flow: run next X"
|
|
10
|
+
- When user says "task-flow: run next X" or "work on next X subtasks":
|
|
11
11
|
- **INTERPRET**: User wants to work on the next X pending subtasks from RBIN Task Flow
|
|
12
12
|
- **AUTOMATIC**: Read tasks, find next X pending, implement them sequentially
|
|
13
13
|
- **UPDATE**: Mark each subtask as done after completion
|
|
14
14
|
- **NO NEED**: To specify "task flow" explicitly - it's implied
|
|
15
|
-
- When user says "task-flow: run task X"
|
|
15
|
+
- When user says "task-flow: run task X" or "work on task X":
|
|
16
16
|
- **INTERPRET**: User wants to work on all pending subtasks of a specific task
|
|
17
17
|
- **DEPENDENCY CHECK**: Before executing, verify that all tasks before X (1, 2, ..., X-1) are completely done
|
|
18
18
|
- **CONFLICT PREVENTION**: Only execute subtasks of task X if no previous tasks have pending subtasks (allows parallel work by multiple AIs)
|
|
@@ -24,15 +24,15 @@ alwaysApply: true
|
|
|
24
24
|
- **Natural Language Phrases:**
|
|
25
25
|
- **FAST FORMAT**: `task-flow: run next X` or `task-flow run next X` (e.g., "task-flow: run next 4")
|
|
26
26
|
- **TASK FORMAT**: `task-flow: run task X` or `task-flow run task X` (e.g., "task-flow: run task 1")
|
|
27
|
-
- "
|
|
27
|
+
- "work on next 3 subtasks"
|
|
28
28
|
- "work on next 5 subtasks"
|
|
29
|
-
- "
|
|
30
|
-
- "
|
|
29
|
+
- "next 2 subtasks"
|
|
30
|
+
- "work on next subtasks"
|
|
31
31
|
- "implement next X subtasks"
|
|
32
|
-
- "
|
|
33
|
-
- "execute
|
|
32
|
+
- "work on next X subtasks"
|
|
33
|
+
- "execute all subtasks of task 1"
|
|
34
34
|
- "work on all subtasks of task 2"
|
|
35
|
-
- Any phrase with "
|
|
35
|
+
- Any phrase with "next" + number + "subtasks"
|
|
36
36
|
- Any phrase with "task" + number + "subtasks" or "all subtasks" + "task" + number
|
|
37
37
|
|
|
38
38
|
- **Fast Command Format:**
|
|
@@ -118,7 +118,7 @@ alwaysApply: true
|
|
|
118
118
|
3. Update `.task-flow/tasks.status.md`:
|
|
119
119
|
- Change `- [ ]` to `- [x]` for the subtask
|
|
120
120
|
- If all subtasks of a task are done, mark task as `- [x]`
|
|
121
|
-
- **REGENERATE SUMMARY**: Always update the "📊
|
|
121
|
+
- **REGENERATE SUMMARY**: Always update the "📊 Summary" section at the top with:
|
|
122
122
|
- Count of completed tasks (✅)
|
|
123
123
|
- Count of in-progress tasks (⏳)
|
|
124
124
|
- Total remaining subtasks (📝)
|
|
@@ -171,16 +171,16 @@ alwaysApply: true
|
|
|
171
171
|
7. Mark task 3 as "done" if all subtasks completed
|
|
172
172
|
8. Show completion summary
|
|
173
173
|
|
|
174
|
-
User: "
|
|
174
|
+
User: "work on next 3 subtasks"
|
|
175
175
|
AI Action: Same workflow as "run next 3", works with natural language too
|
|
176
176
|
|
|
177
|
-
User: "execute
|
|
177
|
+
User: "execute all subtasks of task 2"
|
|
178
178
|
AI Action: Same workflow as "run task 2", includes dependency check
|
|
179
179
|
```
|
|
180
180
|
|
|
181
181
|
- **Default Behavior:**
|
|
182
|
-
- If user says "
|
|
183
|
-
- If user says "
|
|
182
|
+
- If user says "next subtasks" without number → assume 1 subtask
|
|
183
|
+
- If user says "next X subtasks" → work on exactly X subtasks
|
|
184
184
|
- If user says "task X" without "next" → interpret as "run task X" (all subtasks of that task)
|
|
185
185
|
- Always work sequentially (don't skip or reorder)
|
|
186
186
|
|
package/.task-flow/README.md
CHANGED
|
@@ -1,66 +1,94 @@
|
|
|
1
|
-
# RBIN Task Flow -
|
|
1
|
+
# RBIN Task Flow - Quick Commands
|
|
2
2
|
|
|
3
|
-
## 🚀
|
|
3
|
+
## 🚀 Quick Commands
|
|
4
4
|
|
|
5
|
-
|
|
|
6
|
-
|
|
7
|
-
| `task-flow: sync` |
|
|
8
|
-
| `task-flow: think` |
|
|
9
|
-
| `task-flow: run next X` |
|
|
10
|
-
| `task-flow: run task X` |
|
|
11
|
-
| `task-flow: status` |
|
|
12
|
-
| `task-flow: review` |
|
|
13
|
-
| `task-flow: refactor` |
|
|
5
|
+
| Command | Description |
|
|
6
|
+
|---------|-------------|
|
|
7
|
+
| `task-flow: sync` | Complete synchronization: adds new, removes deleted, updates modified, preserves status |
|
|
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
|
+
| `task-flow: status` | Shows current task status |
|
|
12
|
+
| `task-flow: review` | Reviews tasks marked as "done" |
|
|
13
|
+
| `task-flow: refactor` | Refactors code from current commit |
|
|
14
|
+
| `task-flow: estimate task X` | Estimates time for task X based on subtasks and experience level |
|
|
15
|
+
| `task-flow: report task X` | Generates implementation report for completed task X |
|
|
14
16
|
|
|
15
|
-
**
|
|
17
|
+
**See complete details below ↓**
|
|
16
18
|
|
|
17
19
|
---
|
|
18
20
|
|
|
19
|
-
##
|
|
21
|
+
## Detailed Commands
|
|
20
22
|
|
|
21
23
|
### `task-flow: sync`
|
|
22
|
-
|
|
23
|
-
- ✅
|
|
24
|
-
- ✅
|
|
25
|
-
- ✅
|
|
26
|
-
- ✅
|
|
27
|
-
- ✅
|
|
24
|
+
Complete synchronization between `tasks.input.txt` and the system:
|
|
25
|
+
- ✅ Adds new tasks from `tasks.input.txt`
|
|
26
|
+
- ✅ Removes tasks that were deleted from `tasks.input.txt`
|
|
27
|
+
- ✅ Updates tasks that were modified in `tasks.input.txt`
|
|
28
|
+
- ✅ Preserves status (done/pending) of existing tasks
|
|
29
|
+
- ✅ Synchronizes status between `status.json` and `tasks.status.md` (ensures they are always aligned)
|
|
28
30
|
|
|
29
31
|
### `task-flow: think`
|
|
30
|
-
|
|
32
|
+
Analyzes code and suggests new tasks. Asks before adding to `tasks.input.txt`.
|
|
31
33
|
|
|
32
34
|
### `task-flow: run next X`
|
|
33
|
-
|
|
35
|
+
Works on next X pending subtasks in sequential order. Implements and marks as "done".
|
|
34
36
|
|
|
35
|
-
**
|
|
36
|
-
- `task-flow: run next 4` →
|
|
37
|
-
- `task-flow: run next` →
|
|
37
|
+
**Examples:**
|
|
38
|
+
- `task-flow: run next 4` → Next 4 subtasks
|
|
39
|
+
- `task-flow: run next` → Next 1 subtask
|
|
38
40
|
|
|
39
41
|
### `task-flow: run task X`
|
|
40
|
-
|
|
42
|
+
Executes all pending subtasks of a specific task. Implements and marks as "done".
|
|
41
43
|
|
|
42
|
-
**⚠️
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
44
|
+
**⚠️ Dependency Check:**
|
|
45
|
+
- Only executes if all previous tasks (1, 2, ..., X-1) are completely finished
|
|
46
|
+
- Allows parallel work by multiple AIs without conflicts
|
|
47
|
+
- If there are pending previous tasks, warns which ones need to be completed first
|
|
46
48
|
|
|
47
|
-
**
|
|
48
|
-
- `task-flow: run task 1` →
|
|
49
|
-
- `task-flow: run task 3` →
|
|
49
|
+
**Examples:**
|
|
50
|
+
- `task-flow: run task 1` → All pending subtasks of task 1 (can always execute)
|
|
51
|
+
- `task-flow: run task 3` → Only executes if tasks 1 and 2 are complete
|
|
50
52
|
|
|
51
53
|
### `task-flow: status`
|
|
52
|
-
|
|
54
|
+
Shows current status of tasks and subtasks from the `tasks.status.md` file.
|
|
53
55
|
|
|
54
56
|
### `task-flow: review`
|
|
55
|
-
|
|
57
|
+
Reviews tasks marked as "done" to verify they are actually completed.
|
|
56
58
|
|
|
57
59
|
### `task-flow: refactor`
|
|
58
|
-
|
|
60
|
+
Refactors code from current commit. Removes explanatory comments, improves code without changing functionality.
|
|
61
|
+
|
|
62
|
+
### `task-flow: estimate task X`
|
|
63
|
+
Estimates time required to complete a task based on the number of subtasks and developer experience level.
|
|
64
|
+
|
|
65
|
+
**Output includes:**
|
|
66
|
+
- Time estimates for Junior (0-2 years), Mid-level (3-5 years), and Senior (6+ years) developers
|
|
67
|
+
- Estimates in hours and business days
|
|
68
|
+
- Recommendation for management with buffer
|
|
69
|
+
|
|
70
|
+
**Examples:**
|
|
71
|
+
- `task-flow: estimate task 1` → Shows time estimate for task 1
|
|
72
|
+
|
|
73
|
+
### `task-flow: report task X`
|
|
74
|
+
Generates a detailed implementation report for a completed task in Markdown format.
|
|
75
|
+
|
|
76
|
+
**Report includes:**
|
|
77
|
+
- Task overview and completion status
|
|
78
|
+
- List of completed subtasks
|
|
79
|
+
- Files created and modified (detected from git history)
|
|
80
|
+
- Code change summaries with analysis
|
|
81
|
+
- Task creation and completion dates
|
|
82
|
+
|
|
83
|
+
**Report location:** `.task-flow/docs/task-X-implementation.md`
|
|
84
|
+
|
|
85
|
+
**Examples:**
|
|
86
|
+
- `task-flow: report task 1` → Generates report for task 1
|
|
59
87
|
|
|
60
88
|
---
|
|
61
89
|
|
|
62
|
-
##
|
|
90
|
+
## Files
|
|
63
91
|
|
|
64
|
-
- `.task-flow/tasks.input.txt` -
|
|
65
|
-
- `.task-flow/tasks.status.md` - ⚠️ **
|
|
66
|
-
- `.task-flow/.internal/` - ⚠️ **IGNORE** -
|
|
92
|
+
- `.task-flow/tasks.input.txt` - Edit tasks here (format: `- Task description`)
|
|
93
|
+
- `.task-flow/tasks.status.md` - ⚠️ **DO NOT EDIT** - Automatically updated by AI
|
|
94
|
+
- `.task-flow/.internal/` - ⚠️ **IGNORE** - Internal system files (no need to read or edit)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
# Screenshot
|
|
1
|
+
# Example Screenshot
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This is a placeholder file. Replace this file with a real screenshot (PNG or JPG).
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## How to add screenshots:
|
|
6
6
|
|
|
7
|
-
1.
|
|
8
|
-
2. Use
|
|
9
|
-
3.
|
|
7
|
+
1. Add your image files (.png or .jpg) to this folder
|
|
8
|
+
2. Use descriptive names in kebab-case
|
|
9
|
+
3. RBIN Task Flow will automatically detect and reference the screenshots
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Example names:
|
|
12
12
|
|
|
13
13
|
- `login_recover_signup.png`
|
|
14
14
|
- `dashboard.png`
|
|
@@ -17,8 +17,7 @@ Este é um arquivo placeholder. Substitua este arquivo por um screenshot real (P
|
|
|
17
17
|
- `prescriptions.png`
|
|
18
18
|
- `medicine.png`
|
|
19
19
|
|
|
20
|
-
##
|
|
21
|
-
|
|
22
|
-
Para referenciar um screenshot específico em uma task, use:
|
|
23
|
-
`task-flow-screen: nome_do_arquivo.png`
|
|
20
|
+
## Reference in tasks:
|
|
24
21
|
|
|
22
|
+
To reference a specific screenshot in a task, use:
|
|
23
|
+
`task-flow-screen filename.png`
|
|
@@ -9,14 +9,12 @@
|
|
|
9
9
|
|
|
10
10
|
## Screenshots:
|
|
11
11
|
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
12
|
+
- Add your screenshots to the `.task-flow/screens/` folder (PNG or JPG)
|
|
13
|
+
- RBIN Task Flow automatically detects and references available screenshots when generating subtasks
|
|
14
|
+
- To reference a specific screenshot in a task, use: `task-flow-screen filename.png`
|
|
15
|
+
- Example: `- Create login screen task-flow-screen login.png`
|
|
16
16
|
|
|
17
17
|
## Tasks:
|
|
18
18
|
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
- CRUD completo de usuários
|
|
22
|
-
- Sistema de notificações
|
|
19
|
+
- First task
|
|
20
|
+
- Second task
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# Task Status
|
|
2
2
|
|
|
3
|
-
<!-- ⚠️
|
|
3
|
+
<!-- ⚠️ WARNING: This file is automatically updated by AI. DO NOT edit manually. -->
|
|
4
4
|
|
|
5
|
-
## 📊
|
|
5
|
+
## 📊 Summary
|
|
6
6
|
|
|
7
|
-
- ✅ **Tasks
|
|
8
|
-
- ⏳ **Tasks
|
|
9
|
-
- 📝 **Subtasks
|
|
7
|
+
- ✅ **Completed Tasks**: 0
|
|
8
|
+
- ⏳ **Tasks in Progress**: 0
|
|
9
|
+
- 📝 **Remaining Subtasks**: 0
|
|
10
10
|
|
|
11
11
|
**Tasks:**
|
|
12
|
-
- ⏳ Task 1: First task (0 subtasks
|
|
13
|
-
- ⏳ Task 2: Second task (0 subtasks
|
|
12
|
+
- ⏳ Task 1: First task (0 remaining subtasks out of 0)
|
|
13
|
+
- ⏳ Task 2: Second task (0 remaining subtasks out of 0)
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
package/CLAUDE.md
CHANGED
|
@@ -22,6 +22,8 @@ This project uses RBIN Task Flow for task management:
|
|
|
22
22
|
- `task-flow: review` - Review completed tasks
|
|
23
23
|
- `task-flow: think` - Analyze code and suggest new tasks
|
|
24
24
|
- `task-flow: refactor` - Refactor code from current commit
|
|
25
|
+
- `task-flow: estimate task X` - Estimate time for task X based on subtasks and experience level
|
|
26
|
+
- `task-flow: report task X` - Generate implementation report for completed task X
|
|
25
27
|
- **Files**:
|
|
26
28
|
- `.task-flow/tasks.input.txt` - Define your tasks here
|
|
27
29
|
- `.task-flow/tasks.status.md` - Auto-generated status (DO NOT EDIT manually)
|
package/GEMINI.md
CHANGED
|
@@ -22,6 +22,8 @@ This project uses RBIN Task Flow for task management:
|
|
|
22
22
|
- `task-flow: review` - Review completed tasks
|
|
23
23
|
- `task-flow: think` - Analyze code and suggest new tasks
|
|
24
24
|
- `task-flow: refactor` - Refactor code from current commit
|
|
25
|
+
- `task-flow: estimate task X` - Estimate time for task X based on subtasks and experience level
|
|
26
|
+
- `task-flow: report task X` - Generate implementation report for completed task X
|
|
25
27
|
- **Files**:
|
|
26
28
|
- `.task-flow/tasks.input.txt` - Define your tasks here
|
|
27
29
|
- `.task-flow/tasks.status.md` - Auto-generated status (DO NOT EDIT manually)
|
package/README.md
CHANGED
|
@@ -74,6 +74,8 @@ rbin-task-flow init # Inicializa no projeto atual
|
|
|
74
74
|
rbin-task-flow update # Atualiza configurações
|
|
75
75
|
rbin-task-flow version-check # Verifica atualizações de modelos
|
|
76
76
|
rbin-task-flow info # Mostra informações
|
|
77
|
+
rbin-task-flow estimate <id> # Estima tempo para uma task
|
|
78
|
+
rbin-task-flow report <id> # Gera relatório de implementação de uma task
|
|
77
79
|
```
|
|
78
80
|
|
|
79
81
|
### Comandos da IA - Por Que Usar?
|
|
@@ -89,6 +91,8 @@ Após inicializar, use estes comandos na IA (Cursor/Claude/Gemini) para gerencia
|
|
|
89
91
|
| `task-flow: status` | **Visualiza** o progresso rapidamente | Vê resumo com tasks completas, em andamento e quantas subtarefas faltam |
|
|
90
92
|
| `task-flow: review` | **Garante** qualidade do trabalho | Verifica se tarefas marcadas como "done" estão realmente concluídas |
|
|
91
93
|
| `task-flow: refactor` | **Melhora** código sem quebrar | Refatora código do commit atual removendo comentários e melhorando qualidade |
|
|
94
|
+
| `task-flow: estimate task X` | **Estima** tempo para gestão | Calcula estimativa de tempo baseada em subtasks e nível de experiência do desenvolvedor |
|
|
95
|
+
| `task-flow: report task X` | **Documenta** implementação | Gera relatório detalhado em Markdown do que foi feito para resolver a task |
|
|
92
96
|
|
|
93
97
|
**Fluxo típico:**
|
|
94
98
|
|
|
@@ -433,6 +437,8 @@ rbin-task-flow init # Initialize in current project
|
|
|
433
437
|
rbin-task-flow update # Update configurations
|
|
434
438
|
rbin-task-flow version-check # Check for model updates
|
|
435
439
|
rbin-task-flow info # Show information
|
|
440
|
+
rbin-task-flow estimate <id> # Estimate time for a task
|
|
441
|
+
rbin-task-flow report <id> # Generate implementation report for a task
|
|
436
442
|
```
|
|
437
443
|
|
|
438
444
|
### AI Commands - Why Use Them?
|
|
@@ -448,6 +454,8 @@ After initializing, use these commands in your AI (Cursor/Claude/Gemini) to auto
|
|
|
448
454
|
| `task-flow: status` | **Visualize** progress quickly | See summary with completed tasks, in progress, and remaining subtasks |
|
|
449
455
|
| `task-flow: review` | **Ensure** work quality | Verifies that tasks marked as "done" are actually completed |
|
|
450
456
|
| `task-flow: refactor` | **Improve** code without breaking | Refactors code from current commit removing comments and improving quality |
|
|
457
|
+
| `task-flow: estimate task X` | **Estimate** time for management | Calculates time estimate based on subtasks and developer experience level |
|
|
458
|
+
| `task-flow: report task X` | **Document** implementation | Generates detailed Markdown report of what was done to resolve the task |
|
|
451
459
|
|
|
452
460
|
**Typical workflow:**
|
|
453
461
|
|