@smartsoft001-mobilems/claude-plugins 2.71.0 → 2.73.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/package.json +1 -1
- package/plugins/flow/.claude-plugin/README.md +8 -8
- package/plugins/flow/.claude-plugin/plugin.json +2 -2
- package/plugins/flow/.claude-plugin/settings.template.json +2 -1
- package/plugins/flow/agents/shared-agent-evolver.md +8 -8
- package/plugins/flow/{commands/commit.md → skills/commit/SKILL.md} +53 -1
- package/plugins/flow/{commands/impl.md → skills/impl/SKILL.md} +112 -5
- package/plugins/flow/skills/linear-suggestion/SKILL.md +9 -9
- package/plugins/flow/{commands/plan.md → skills/plan/SKILL.md} +104 -2
- package/plugins/flow/{commands/push.md → skills/push/SKILL.md} +86 -2
- package/plugins/flow-legacy/.claude-plugin/README.md +7 -7
- package/plugins/flow-legacy/.claude-plugin/plugin.json +2 -2
- package/plugins/flow-legacy/.claude-plugin/settings.template.json +2 -1
- package/plugins/flow-legacy/{commands/commit.md → skills/commit/SKILL.md} +53 -1
- package/plugins/flow-legacy/{commands/impl.md → skills/impl/SKILL.md} +154 -12
- package/plugins/flow-legacy/skills/linear-suggestion/SKILL.md +10 -10
- package/plugins/flow-legacy/{commands/plan.md → skills/plan/SKILL.md} +111 -2
- package/plugins/flow-legacy/{commands/push.md → skills/push/SKILL.md} +86 -2
|
@@ -1,7 +1,89 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: push
|
|
3
|
+
description: Push local changes to remote repository, update Linear task status, monitor CI pipeline, verify QA deployment, and optionally create pull requests for feature branches. Uses Angular 14 legacy patterns.
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Glob
|
|
8
|
+
- Grep
|
|
9
|
+
- AskUserQuestion
|
|
10
|
+
- WebFetch
|
|
11
|
+
- TaskCreate
|
|
12
|
+
- TaskUpdate
|
|
13
|
+
- TaskList
|
|
14
|
+
- TaskGet
|
|
15
|
+
- mcp__linear-server__get_issue
|
|
16
|
+
- mcp__linear-server__list_issues
|
|
17
|
+
- mcp__linear-server__list_comments
|
|
18
|
+
- mcp__linear-server__create_comment
|
|
19
|
+
- mcp__linear-server__update_issue
|
|
20
|
+
- mcp__linear-server__list_issue_statuses
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# Push Skill
|
|
2
24
|
|
|
3
25
|
Push local changes to remote and optionally update Linear task status.
|
|
4
26
|
|
|
27
|
+
## Execution Checklist
|
|
28
|
+
|
|
29
|
+
Execute each step in order. Do not skip any step marked as MANDATORY.
|
|
30
|
+
|
|
31
|
+
### Pre-Push
|
|
32
|
+
|
|
33
|
+
- [ ] **1. Check git status** — verify branch, commits ahead, warn about uncommitted changes
|
|
34
|
+
- [ ] **2. Get commits to push** — `git log origin/<branch>..HEAD --oneline`; exit if none
|
|
35
|
+
- [ ] **3. Fetch Linear task** — get title, status, subtasks and their statuses via MCP
|
|
36
|
+
- [ ] **4. Analyze subtasks** — classify completed vs incomplete, find reasons for incomplete ones
|
|
37
|
+
- [ ] **5. MANDATORY: Show summary to user** — present commits + subtask status, ask about status change
|
|
38
|
+
- [ ] **6. Update Linear status** — BEFORE push: set completed subtasks to "In Review", post summary comment in Polish
|
|
39
|
+
- [ ] **7. MANDATORY: Write Linear comments in Polish** — all comments must be in Polish language
|
|
40
|
+
|
|
41
|
+
### Push
|
|
42
|
+
|
|
43
|
+
- [ ] **8. Push to remote** — `git push`; handle errors gracefully
|
|
44
|
+
|
|
45
|
+
### Post-Push (branch-specific)
|
|
46
|
+
|
|
47
|
+
#### If `development` branch:
|
|
48
|
+
|
|
49
|
+
- [ ] **9a. Ask about deployment verification** — offer optional CI monitoring + QA check
|
|
50
|
+
- [ ] **10a. Monitor CI pipeline** — poll `gh run view` every 30s until completion
|
|
51
|
+
- [ ] **11a. Handle CI failure** — revert task to "To Do", post error comment to Linear
|
|
52
|
+
- [ ] **12a. Verify package.json update** — `git pull`, compare versions
|
|
53
|
+
- [ ] **13a. Verify QA deployment** — wait 5 min, check `<meta name="app-version">` matches
|
|
54
|
+
|
|
55
|
+
#### If feature branch:
|
|
56
|
+
|
|
57
|
+
- [ ] **9b. Check for existing PR** — `gh pr list --head <branch> --base development`
|
|
58
|
+
- [ ] **10b. Ask about PR creation** — if no PR exists and subtasks are ready
|
|
59
|
+
- [ ] **11b. Create PR** — `gh pr create` with structured summary including Angular 14 tech stack
|
|
60
|
+
|
|
61
|
+
### Final
|
|
62
|
+
|
|
63
|
+
- [ ] **12. Show final status** — complete summary of all actions taken
|
|
64
|
+
|
|
65
|
+
### Task Progress Tracking
|
|
66
|
+
|
|
67
|
+
**MANDATORY**: Use Claude Code's built-in task tracking to provide real-time progress visibility.
|
|
68
|
+
|
|
69
|
+
**At skill start**: Create tasks for each checklist step using `TaskCreate`:
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
TaskCreate({
|
|
73
|
+
subject: "Check git status",
|
|
74
|
+
description: "Verify branch, commits ahead, warn about uncommitted changes",
|
|
75
|
+
activeForm: "Checking git status"
|
|
76
|
+
})
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**During execution**:
|
|
80
|
+
|
|
81
|
+
- Before starting a step → `TaskUpdate({ taskId, status: "in_progress" })`
|
|
82
|
+
- After completing a step → `TaskUpdate({ taskId, status: "completed" })`
|
|
83
|
+
- For branch-specific steps, only create tasks for the applicable branch path (development OR feature)
|
|
84
|
+
|
|
85
|
+
**Before user decisions**: Use `TaskList` to show progress overview before asking user about status changes or PR creation.
|
|
86
|
+
|
|
5
87
|
## Usage
|
|
6
88
|
|
|
7
89
|
```
|
|
@@ -346,6 +428,7 @@ If user chooses not to verify, end the command here.
|
|
|
346
428
|
2. **Revert Linear task to "To Do"**:
|
|
347
429
|
|
|
348
430
|
If Linear task was provided and status was changed to "In Review":
|
|
431
|
+
|
|
349
432
|
- Move the parent task back to "To Do" status
|
|
350
433
|
- For tasks with subtasks: Move all subtasks that were changed to "In Review" back to "To Do"
|
|
351
434
|
|
|
@@ -367,9 +450,10 @@ If user chooses not to verify, end the command here.
|
|
|
367
450
|
**URL**: https://github.com/<owner>/<repo>/actions/runs/<run-id>
|
|
368
451
|
|
|
369
452
|
### Error Details
|
|
370
|
-
|
|
371
453
|
```
|
|
454
|
+
|
|
372
455
|
<last 50-100 lines of error logs from gh run view --log-failed>
|
|
456
|
+
|
|
373
457
|
```
|
|
374
458
|
|
|
375
459
|
### Status
|