@smartsoft001-mobilems/claude-plugins 2.77.0 → 2.78.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.
Files changed (32) hide show
  1. package/package.json +1 -1
  2. package/plugins/flow/.claude-plugin/plugin.json +1 -1
  3. package/plugins/flow-external/.claude-plugin/README.md +152 -0
  4. package/plugins/flow-external/.claude-plugin/merge-permissions.js +80 -0
  5. package/plugins/flow-external/.claude-plugin/plugin.json +5 -0
  6. package/plugins/flow-external/.claude-plugin/settings.template.json +75 -0
  7. package/plugins/flow-external/agents/angular-component-scaffolder.md +269 -0
  8. package/plugins/flow-external/agents/angular-directive-builder.md +130 -0
  9. package/plugins/flow-external/agents/angular-guard-builder.md +70 -0
  10. package/plugins/flow-external/agents/angular-pipe-builder.md +82 -0
  11. package/plugins/flow-external/agents/angular-resolver-builder.md +74 -0
  12. package/plugins/flow-external/agents/angular-service-builder.md +160 -0
  13. package/plugins/flow-external/agents/angular-state-builder.md +254 -0
  14. package/plugins/flow-external/agents/shared-build-verifier.md +67 -0
  15. package/plugins/flow-external/agents/shared-impl-orchestrator.md +88 -0
  16. package/plugins/flow-external/agents/shared-impl-reporter.md +107 -0
  17. package/plugins/flow-external/agents/shared-linear-subtask-iterator.md +70 -0
  18. package/plugins/flow-external/agents/shared-ui-classifier.md +38 -0
  19. package/plugins/flow-external/agents/ui-web-designer.md +179 -0
  20. package/plugins/flow-external/skills/a11y-audit/SKILL.md +96 -0
  21. package/plugins/flow-external/skills/angular-cli-conventions/SKILL.md +267 -0
  22. package/plugins/flow-external/skills/angular-patterns/SKILL.md +170 -0
  23. package/plugins/flow-external/skills/browser-capture/SKILL.md +68 -0
  24. package/plugins/flow-external/skills/commit/SKILL.md +113 -0
  25. package/plugins/flow-external/skills/debug-helper/SKILL.md +131 -0
  26. package/plugins/flow-external/skills/impl/SKILL.md +158 -0
  27. package/plugins/flow-external/skills/linear-suggestion/SKILL.md +62 -0
  28. package/plugins/flow-external/skills/maia-files-delete/SKILL.md +34 -0
  29. package/plugins/flow-external/skills/maia-files-upload/SKILL.md +41 -0
  30. package/plugins/flow-external/skills/plan/SKILL.md +163 -0
  31. package/plugins/flow-external/skills/push/SKILL.md +201 -0
  32. package/plugins/flow-legacy/.claude-plugin/plugin.json +1 -1
@@ -0,0 +1,163 @@
1
+ ---
2
+ name: plan
3
+ description: Create implementation plan and save to Linear. Analyzes codebase, understands task requirements, and generates structured plan.
4
+ allowed-tools:
5
+ - Bash
6
+ - Read
7
+ - Glob
8
+ - Grep
9
+ - AskUserQuestion
10
+ - mcp__linear-server__get_issue
11
+ - mcp__linear-server__list_issues
12
+ - mcp__linear-server__list_comments
13
+ - mcp__linear-server__create_comment
14
+ - mcp__linear-server__create_issue
15
+ - mcp__linear-server__update_issue
16
+ ---
17
+
18
+ # Plan Skill
19
+
20
+ Create a structured implementation plan for a Linear task and save it as a comment.
21
+
22
+ ## Usage
23
+
24
+ ```
25
+ /plan <linearTaskId>
26
+ ```
27
+
28
+ ## Parameters
29
+
30
+ - `linearTaskId` - Linear task ID (e.g., MOB-123)
31
+
32
+ ## CRITICAL: External Project Context
33
+
34
+ This is for standalone Angular CLI projects (Angular 6-11). Key constraints:
35
+
36
+ - **No Nx** - use Angular CLI commands (`ng build`, `ng serve`, `ng lint`)
37
+ - **No framework** - standalone projects without @smartsoft001-mobilems packages
38
+ - **Angular 6-11** - legacy patterns only (constructor DI, *ngIf/*ngFor, NgModules)
39
+ - **No tests required** unless explicitly mentioned in the task
40
+ - **No deploy** - do not plan deployment steps
41
+
42
+ ## Execution Steps
43
+
44
+ ### Step 1: Fetch Task Details
45
+
46
+ 1. Fetch the Linear task using `mcp__linear-server__get_issue`
47
+ 2. Read task title, description, and any attachments
48
+ 3. Fetch existing comments for context
49
+
50
+ ### Step 2: Analyze Codebase
51
+
52
+ Understand the project structure:
53
+
54
+ ```bash
55
+ # Detect project layout
56
+ ls angular.json 2>/dev/null && echo "ROOT_ANGULAR" || echo "CHECK_APP_DIR"
57
+ ls app/angular.json 2>/dev/null && echo "APP_DIR_ANGULAR"
58
+
59
+ # Check Angular version
60
+ cat package.json | grep '"@angular/core"' 2>/dev/null
61
+ cat app/package.json | grep '"@angular/core"' 2>/dev/null
62
+
63
+ # Check CSS framework
64
+ cat package.json | grep -E '"bootstrap|tailwind"' 2>/dev/null
65
+ cat app/package.json | grep -E '"bootstrap|tailwind"' 2>/dev/null
66
+
67
+ # Understand project structure
68
+ ls -la src/app/ 2>/dev/null || ls -la app/src/app/ 2>/dev/null
69
+ ```
70
+
71
+ ### Step 3: Identify Affected Areas
72
+
73
+ Based on the task:
74
+ 1. Find relevant existing files
75
+ 2. Identify what needs to be created vs modified
76
+ 3. Check for existing patterns to follow
77
+ 4. Identify NgModules that need updating
78
+
79
+ ### Step 4: Create Implementation Plan
80
+
81
+ Structure the plan as follows:
82
+
83
+ ```markdown
84
+ ## Plan Implementacji
85
+
86
+ ### Zadanie: [Task ID] - [Task Title]
87
+
88
+ ### Analiza
89
+
90
+ [Brief analysis of what needs to be done and why]
91
+
92
+ ### Struktura Projektu
93
+
94
+ - Angular: [version]
95
+ - CSS: [Bootstrap 4 / custom SCSS / other]
96
+ - Struktura: [app/src/ or src/]
97
+
98
+ ### Kroki Implementacji
99
+
100
+ #### Krok 1: [Description]
101
+
102
+ **Pliki do zmiany:**
103
+
104
+ | Plik | Akcja | Opis |
105
+ |------|-------|------|
106
+ | `src/app/components/feature.component.ts` | Nowy | Komponent widoku |
107
+ | `src/app/components/feature.component.html` | Nowy | Szablon |
108
+ | `src/app/components/feature.component.scss` | Nowy | Style |
109
+ | `src/app/feature.module.ts` | Modyfikacja | Dodanie deklaracji |
110
+
111
+ **Wzorce:**
112
+ - Constructor DI
113
+ - *ngIf/*ngFor
114
+ - [CSS approach from project]
115
+
116
+ #### Krok 2: [Description]
117
+
118
+ ...
119
+
120
+ ### Weryfikacja
121
+
122
+ - [ ] `ng build --prod` przechodzi bez bledow
123
+ - [ ] Funkcjonalnosc dziala zgodnie z opisem zadania
124
+
125
+ ### Podzadania
126
+
127
+ | ID | Tytul | Priorytet | Krok |
128
+ |----|-------|-----------|------|
129
+ | - | [Subtask 1] | High | 1 |
130
+ | - | [Subtask 2] | Medium | 2 |
131
+ ```
132
+
133
+ ### Step 5: Create Subtasks (if needed)
134
+
135
+ For complex tasks, create subtasks in Linear:
136
+ - Use `mcp__linear-server__create_issue` with parent task ID
137
+ - Each subtask should map to a plan step
138
+
139
+ ### Step 6: Post Plan as Comment
140
+
141
+ Post the plan as a comment on the Linear task using `mcp__linear-server__create_comment`.
142
+
143
+ ### Step 7: Ask for Approval
144
+
145
+ ```markdown
146
+ ## Plan zapisany
147
+
148
+ Plan implementacji zostal dodany jako komentarz do zadania [linearTaskId].
149
+
150
+ Czy plan jest zaakceptowany? Po akceptacji uruchom `/impl [linearTaskId]` aby rozpoczac implementacje.
151
+ ```
152
+
153
+ ## Guidelines
154
+
155
+ 1. **Always analyze existing code first** before planning
156
+ 2. **Follow existing project patterns** - don't introduce new patterns
157
+ 3. **Write plan in Polish** for Linear comments
158
+ 4. **Keep steps small and focused** - one logical change per step
159
+ 5. **Don't plan tests** unless explicitly requested in the task
160
+ 6. **Don't plan deployment** steps
161
+ 7. **Identify the CSS approach** before planning UI changes
162
+ 8. **Include build verification** as the final step (`ng build --prod`)
163
+ 9. **Use Angular CLI commands** not Nx commands
@@ -0,0 +1,201 @@
1
+ ---
2
+ name: push
3
+ description: Push changes to remote repository and update Linear task status. Shows commit summary, updates subtask statuses, and creates PR if on feature branch.
4
+ allowed-tools:
5
+ - Bash
6
+ - Read
7
+ - Glob
8
+ - Grep
9
+ - AskUserQuestion
10
+ - mcp__linear-server__get_issue
11
+ - mcp__linear-server__list_issues
12
+ - mcp__linear-server__list_comments
13
+ - mcp__linear-server__create_comment
14
+ - mcp__linear-server__update_issue
15
+ - mcp__linear-server__list_issue_statuses
16
+ ---
17
+
18
+ # Push Skill
19
+
20
+ Push changes to remote and update Linear task status.
21
+
22
+ ## Usage
23
+
24
+ ```
25
+ /push [linearTaskId]
26
+ ```
27
+
28
+ ## Parameters
29
+
30
+ - `linearTaskId` - Linear task ID (e.g., MOB-123). Optional - will try to detect from branch name.
31
+
32
+ ## Execution Steps
33
+
34
+ ### Step 1: Check Git Status
35
+
36
+ ```bash
37
+ git status
38
+ git log origin/$(git branch --show-current)..HEAD --oneline
39
+ ```
40
+
41
+ Check for:
42
+ - Uncommitted changes (warn user)
43
+ - Commits ahead of remote (list them)
44
+ - Current branch name
45
+
46
+ ### Step 2: Detect Linear Task
47
+
48
+ If `linearTaskId` not provided, try to extract from branch name:
49
+ - Branch `MOB-123` → task `MOB-123`
50
+ - Branch `feature/MOB-123-description` → task `MOB-123`
51
+
52
+ ### Step 3: Fetch Task Details
53
+
54
+ If Linear task ID is available:
55
+ 1. Fetch parent task details
56
+ 2. Fetch subtasks if any
57
+ 3. Analyze completion status
58
+
59
+ ### Step 4: Show Summary
60
+
61
+ ```markdown
62
+ ## Push Summary
63
+
64
+ **Branch**: `<branch-name>`
65
+ **Commits**: X ahead of remote
66
+
67
+ ### Commits
68
+
69
+ | Hash | Message |
70
+ |------|---------|
71
+ | abc1234 | feat(gallery): add lightbox |
72
+ | def5678 | fix(gallery): fix image sizing |
73
+
74
+ ### Linear Task: [ID] - [Title]
75
+
76
+ **Subtasks**:
77
+ - [x] MOB-549: Completed subtask
78
+ - [x] MOB-550: Another completed
79
+ - [ ] MOB-551: Incomplete (reason)
80
+ ```
81
+
82
+ ### Step 5: Ask for Confirmation
83
+
84
+ ```markdown
85
+ Do you want to push and update Linear status to "In Review"?
86
+ ```
87
+
88
+ Use `AskUserQuestion` with options:
89
+ - "Tak, push i zaktualizuj status"
90
+ - "Nie, anuluj"
91
+
92
+ ### Step 6: Update Linear Status
93
+
94
+ If confirmed:
95
+ 1. Update parent task status to "In Review"
96
+ 2. Update completed subtasks to "In Review"
97
+ 3. Create summary comment on parent task (in Polish):
98
+
99
+ ```markdown
100
+ ## Podsumowanie Implementacji
101
+
102
+ ### Zrealizowane Podzadania
103
+
104
+ | Podzadanie | Tytul | Status |
105
+ |-----------|-------|--------|
106
+ | MOB-549 | [title] | Zrealizowane |
107
+ | MOB-550 | [title] | Zrealizowane |
108
+
109
+ ### Niezrealizowane Podzadania
110
+
111
+ | Podzadanie | Tytul | Powod |
112
+ |-----------|-------|-------|
113
+ | MOB-551 | [title] | [reason] |
114
+
115
+ ### Commity
116
+
117
+ | Commit | Opis |
118
+ |--------|------|
119
+ | abc1234 | feat(gallery): add lightbox |
120
+
121
+ ### Status
122
+
123
+ Task przeniesiony do "In Review".
124
+
125
+ ---
126
+
127
+ _Raport wygenerowany przez Claude Code_
128
+ ```
129
+
130
+ ### Step 7: Push to Remote
131
+
132
+ ```bash
133
+ git push
134
+ ```
135
+
136
+ ### Step 8: Branch-Specific Actions
137
+
138
+ #### Feature Branch → Check/Create PR
139
+
140
+ If on a feature branch (not `development` or `main`):
141
+
142
+ 1. Check if PR exists:
143
+ ```bash
144
+ gh pr list --head <branch-name> --base development --json number,title,state,url
145
+ ```
146
+
147
+ 2. If no PR, ask user:
148
+ ```markdown
149
+ ## Create Pull Request?
150
+
151
+ Branch `<branch-name>` has no open PR to `development`.
152
+ Do you want to create one?
153
+ ```
154
+
155
+ 3. If confirmed, create PR:
156
+ ```bash
157
+ gh pr create --base development --head <branch-name> --title "<Linear-ID>: <Task Title>" --body "..."
158
+ ```
159
+
160
+ #### Development/Main Branch
161
+
162
+ Just push and show confirmation.
163
+
164
+ ### Step 9: Final Confirmation
165
+
166
+ ```markdown
167
+ ## Gotowe
168
+
169
+ Linear task [linearTaskId] przeniesiony do "In Review"
170
+ Zmiany wyslane do `origin/<branch-name>`
171
+ ```
172
+
173
+ ## Error Handling
174
+
175
+ ### Push Rejected
176
+
177
+ ```markdown
178
+ ## Push Failed
179
+
180
+ Updates were rejected. Options:
181
+ 1. `git pull --rebase` then push again
182
+ 2. `git pull` and merge
183
+ ```
184
+
185
+ ### No Commits to Push
186
+
187
+ ```markdown
188
+ ## Nothing to Push
189
+
190
+ Branch is up to date with remote.
191
+ ```
192
+
193
+ ## Guidelines
194
+
195
+ 1. **Write all Linear comments in Polish**
196
+ 2. **Always confirm before status change**
197
+ 3. **Update Linear BEFORE push**
198
+ 4. **Document incomplete subtasks with reasons**
199
+ 5. **Offer PR creation on feature branches**
200
+ 6. **Do NOT monitor CI/CD pipelines**
201
+ 7. **Do NOT verify deployment**
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "flow-legacy",
3
3
  "description": "Development flow skills for legacy Angular 14 projects with Linear-driven workflow",
4
- "version": "2.77.0"
4
+ "version": "2.78.0"
5
5
  }