ai-flow-dev 2.6.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -21
- package/package.json +6 -6
- package/prompts/backend/flow-check-review.md +648 -12
- package/prompts/backend/flow-check-test.md +520 -8
- package/prompts/backend/flow-check.md +687 -29
- package/prompts/backend/flow-commit.md +18 -49
- package/prompts/backend/flow-finish.md +919 -0
- package/prompts/backend/flow-release.md +949 -0
- package/prompts/backend/flow-work.md +296 -221
- package/prompts/desktop/flow-check-review.md +648 -12
- package/prompts/desktop/flow-check-test.md +520 -8
- package/prompts/desktop/flow-check.md +687 -29
- package/prompts/desktop/flow-commit.md +18 -49
- package/prompts/desktop/flow-finish.md +910 -0
- package/prompts/desktop/flow-release.md +662 -0
- package/prompts/desktop/flow-work.md +398 -219
- package/prompts/frontend/flow-check-review.md +648 -12
- package/prompts/frontend/flow-check-test.md +520 -8
- package/prompts/frontend/flow-check.md +687 -29
- package/prompts/frontend/flow-commit.md +18 -49
- package/prompts/frontend/flow-finish.md +910 -0
- package/prompts/frontend/flow-release.md +519 -0
- package/prompts/frontend/flow-work-api.md +1540 -0
- package/prompts/frontend/flow-work.md +774 -218
- package/prompts/mobile/flow-check-review.md +648 -12
- package/prompts/mobile/flow-check-test.md +520 -8
- package/prompts/mobile/flow-check.md +687 -29
- package/prompts/mobile/flow-commit.md +18 -49
- package/prompts/mobile/flow-finish.md +910 -0
- package/prompts/mobile/flow-release.md +751 -0
- package/prompts/mobile/flow-work-api.md +1493 -0
- package/prompts/mobile/flow-work.md +792 -222
- package/templates/AGENT.template.md +1 -1
|
@@ -24,11 +24,11 @@ Automate commit creation with:
|
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
27
|
-
## Workflow:
|
|
27
|
+
## Workflow: 4 Steps
|
|
28
28
|
|
|
29
29
|
### Step 0: Branch Protection Check
|
|
30
30
|
|
|
31
|
-
**🛡️
|
|
31
|
+
**🛡️ Execute BEFORE any commit:**
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
34
|
git branch --show-current
|
|
@@ -36,48 +36,15 @@ git branch --show-current
|
|
|
36
36
|
|
|
37
37
|
**Protected branches:** `main`, `master`, `develop`, `development`
|
|
38
38
|
|
|
39
|
-
**If
|
|
39
|
+
**If protected:**
|
|
40
40
|
|
|
41
|
-
1.
|
|
41
|
+
1. Analyze changes: `git status --porcelain && git diff --stat`
|
|
42
|
+
2. Determine type: features → `feature/`, fixes → `fix/`, refactoring → `refactor/`, config → `chore/`
|
|
43
|
+
3. Generate descriptive slug from changed files
|
|
44
|
+
4. Create branch: `git checkout -b [type]/[slug]` (e.g., `feature/add-user-auth`)
|
|
45
|
+
5. Inform user and continue to Step 1
|
|
42
46
|
|
|
43
|
-
|
|
44
|
-
⚠️ Working on protected branch '[branch-name]'.
|
|
45
|
-
Creating a new branch for your changes...
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
2. **Analyze changes** to determine branch type:
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
git status --porcelain
|
|
52
|
-
git diff --stat
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
- If changes include features/new files → `feature/`
|
|
56
|
-
- If changes are fixes/bug corrections → `fix/`
|
|
57
|
-
- If changes are refactoring → `refactor/`
|
|
58
|
-
- If configuration/dependencies → `chore/`
|
|
59
|
-
|
|
60
|
-
3. **Generate branch name:**
|
|
61
|
-
- Extract meaningful slug from changed files or content
|
|
62
|
-
- Format: `[type]/[descriptive-slug]`
|
|
63
|
-
- Example: `feature/add-user-auth`, `fix/null-pointer-error`
|
|
64
|
-
|
|
65
|
-
4. **Create and switch to new branch:**
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
git checkout -b [type]/[slug]
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
5. **Confirm to user:**
|
|
72
|
-
|
|
73
|
-
```
|
|
74
|
-
✅ Created and switched to branch '[branch-name]'
|
|
75
|
-
Proceeding with commit workflow...
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
6. **Continue to Step 1**
|
|
79
|
-
|
|
80
|
-
**If branch is NOT protected:** Continue to Step 1.
|
|
47
|
+
**If NOT protected:** Continue to Step 1.
|
|
81
48
|
|
|
82
49
|
### Step 1: Detect Changes
|
|
83
50
|
|
|
@@ -96,15 +63,17 @@ Group files by:
|
|
|
96
63
|
|
|
97
64
|
### Step 3: Create Commits
|
|
98
65
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
66
|
+
For each group:
|
|
67
|
+
|
|
68
|
+
1. Generate Conventional Commit message
|
|
69
|
+
2. Execute: `git add [files] && git commit -m "[message]"`
|
|
70
|
+
3. **Wait for user confirmation before proceeding**
|
|
102
71
|
|
|
103
|
-
### Step
|
|
72
|
+
### Step 4: Summary
|
|
104
73
|
|
|
105
|
-
- Show `git log` of new commits
|
|
106
|
-
-
|
|
107
|
-
- **
|
|
74
|
+
- Show `git log` of new commits
|
|
75
|
+
- Display commit count and current branch
|
|
76
|
+
- **DO NOT suggest or perform push operations**
|
|
108
77
|
|
|
109
78
|
---
|
|
110
79
|
|