@smartsoft001/pro-claude-plugins 0.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.
Files changed (198) hide show
  1. package/.claude-plugin/marketplace.json +26 -0
  2. package/README.md +56 -0
  3. package/package.json +14 -0
  4. package/plugins/flow/.claude-plugin/README.md +91 -0
  5. package/plugins/flow/.claude-plugin/merge-permissions.js +115 -0
  6. package/plugins/flow/.claude-plugin/plugin.json +5 -0
  7. package/plugins/flow/.claude-plugin/settings.template.json +86 -0
  8. package/plugins/flow/agents/angular-component-scaffolder.md +176 -0
  9. package/plugins/flow/agents/angular-directive-builder.md +154 -0
  10. package/plugins/flow/agents/angular-guard-builder.md +244 -0
  11. package/plugins/flow/agents/angular-jest-test-writer.md +475 -0
  12. package/plugins/flow/agents/angular-pipe-builder.md +170 -0
  13. package/plugins/flow/agents/angular-resolver-builder.md +287 -0
  14. package/plugins/flow/agents/angular-service-builder.md +162 -0
  15. package/plugins/flow/agents/angular-signal-state-builder.md +340 -0
  16. package/plugins/flow/agents/angular-test-diagnostician.md +279 -0
  17. package/plugins/flow/agents/angular-testbed-configurator.md +315 -0
  18. package/plugins/flow/agents/arch-scaffolder.md +278 -0
  19. package/plugins/flow/agents/e2e-data-testid-injector.md +195 -0
  20. package/plugins/flow/agents/e2e-project-scaffolder.md +194 -0
  21. package/plugins/flow/agents/e2e-test-writer.md +357 -0
  22. package/plugins/flow/agents/shared-agent-evolver.md +294 -0
  23. package/plugins/flow/agents/shared-build-verifier.md +160 -0
  24. package/plugins/flow/agents/shared-config-updater.md +310 -0
  25. package/plugins/flow/agents/shared-coverage-enforcer.md +184 -0
  26. package/plugins/flow/agents/shared-error-handler.md +217 -0
  27. package/plugins/flow/agents/shared-file-creator.md +344 -0
  28. package/plugins/flow/agents/shared-impl-orchestrator.md +312 -0
  29. package/plugins/flow/agents/shared-impl-reporter.md +368 -0
  30. package/plugins/flow/agents/shared-impl-teammate.md +201 -0
  31. package/plugins/flow/agents/shared-linear-subtask-iterator.md +337 -0
  32. package/plugins/flow/agents/shared-logic-implementer.md +244 -0
  33. package/plugins/flow/agents/shared-maia-api.md +26 -0
  34. package/plugins/flow/agents/shared-parallelization-analyzer.md +343 -0
  35. package/plugins/flow/agents/shared-performance-validator.md +168 -0
  36. package/plugins/flow/agents/shared-plan-perspective.md +271 -0
  37. package/plugins/flow/agents/shared-project-standardizer.md +205 -0
  38. package/plugins/flow/agents/shared-report-synthesizer.md +188 -0
  39. package/plugins/flow/agents/shared-review-teammate.md +189 -0
  40. package/plugins/flow/agents/shared-security-scanner.md +186 -0
  41. package/plugins/flow/agents/shared-style-enforcer.md +230 -0
  42. package/plugins/flow/agents/shared-subtask-dependency-analyzer.md +189 -0
  43. package/plugins/flow/agents/shared-tdd-developer.md +350 -0
  44. package/plugins/flow/agents/shared-team-coordinator.md +192 -0
  45. package/plugins/flow/agents/shared-test-fixer.md +186 -0
  46. package/plugins/flow/agents/shared-test-runner.md +191 -0
  47. package/plugins/flow/agents/shared-ui-classifier.md +263 -0
  48. package/plugins/flow/agents/shared-verification-orchestrator.md +194 -0
  49. package/plugins/flow/agents/shared-verification-runner.md +140 -0
  50. package/plugins/flow/agents/ui-a11y-validator.md +305 -0
  51. package/plugins/flow/agents/ui-screenshot-reporter.md +329 -0
  52. package/plugins/flow/agents/ui-web-designer.md +214 -0
  53. package/plugins/flow/scripts/compute-session-tokens.sh +39 -0
  54. package/plugins/flow/skills/a11y-audit/SKILL.md +214 -0
  55. package/plugins/flow/skills/angular-patterns/SKILL.md +191 -0
  56. package/plugins/flow/skills/browser-capture/SKILL.md +238 -0
  57. package/plugins/flow/skills/commit/SKILL.md +259 -0
  58. package/plugins/flow/skills/debug-helper/SKILL.md +375 -0
  59. package/plugins/flow/skills/impl/SKILL.md +992 -0
  60. package/plugins/flow/skills/karpathy-guidelines/SKILL.md +72 -0
  61. package/plugins/flow/skills/linear-suggestion/SKILL.md +132 -0
  62. package/plugins/flow/skills/maia-files-delete/SKILL.md +59 -0
  63. package/plugins/flow/skills/maia-files-upload/SKILL.md +57 -0
  64. package/plugins/flow/skills/nx-conventions/SKILL.md +326 -0
  65. package/plugins/flow/skills/plan/SKILL.md +1033 -0
  66. package/plugins/flow/skills/push/SKILL.md +759 -0
  67. package/plugins/flow/skills/review/SKILL.md +443 -0
  68. package/plugins/flow/skills/test-e2e/SKILL.md +164 -0
  69. package/plugins/flow/skills/test-unit/SKILL.md +456 -0
  70. package/plugins/flow-external/.claude-plugin/README.md +146 -0
  71. package/plugins/flow-external/.claude-plugin/merge-permissions.js +94 -0
  72. package/plugins/flow-external/.claude-plugin/plugin.json +5 -0
  73. package/plugins/flow-external/.claude-plugin/settings.template.json +78 -0
  74. package/plugins/flow-external/agents/angular-component-scaffolder.md +271 -0
  75. package/plugins/flow-external/agents/angular-directive-builder.md +134 -0
  76. package/plugins/flow-external/agents/angular-guard-builder.md +73 -0
  77. package/plugins/flow-external/agents/angular-pipe-builder.md +90 -0
  78. package/plugins/flow-external/agents/angular-resolver-builder.md +79 -0
  79. package/plugins/flow-external/agents/angular-service-builder.md +168 -0
  80. package/plugins/flow-external/agents/angular-state-builder.md +263 -0
  81. package/plugins/flow-external/agents/shared-build-verifier.md +67 -0
  82. package/plugins/flow-external/agents/shared-impl-orchestrator.md +90 -0
  83. package/plugins/flow-external/agents/shared-impl-reporter.md +135 -0
  84. package/plugins/flow-external/agents/shared-linear-subtask-iterator.md +70 -0
  85. package/plugins/flow-external/agents/shared-ui-classifier.md +38 -0
  86. package/plugins/flow-external/agents/ui-web-designer.md +203 -0
  87. package/plugins/flow-external/scripts/compute-session-tokens.sh +39 -0
  88. package/plugins/flow-external/skills/a11y-audit/SKILL.md +97 -0
  89. package/plugins/flow-external/skills/angular-cli-conventions/SKILL.md +268 -0
  90. package/plugins/flow-external/skills/angular-patterns/SKILL.md +182 -0
  91. package/plugins/flow-external/skills/browser-capture/SKILL.md +74 -0
  92. package/plugins/flow-external/skills/commit/SKILL.md +114 -0
  93. package/plugins/flow-external/skills/debug-helper/SKILL.md +135 -0
  94. package/plugins/flow-external/skills/impl/SKILL.md +218 -0
  95. package/plugins/flow-external/skills/karpathy-guidelines/SKILL.md +72 -0
  96. package/plugins/flow-external/skills/linear-suggestion/SKILL.md +62 -0
  97. package/plugins/flow-external/skills/maia-files-delete/SKILL.md +34 -0
  98. package/plugins/flow-external/skills/maia-files-upload/SKILL.md +41 -0
  99. package/plugins/flow-external/skills/plan/SKILL.md +334 -0
  100. package/plugins/flow-external/skills/push/SKILL.md +232 -0
  101. package/plugins/flow-legacy/.claude-plugin/README.md +143 -0
  102. package/plugins/flow-legacy/.claude-plugin/merge-permissions.js +94 -0
  103. package/plugins/flow-legacy/.claude-plugin/plugin.json +5 -0
  104. package/plugins/flow-legacy/.claude-plugin/settings.template.json +79 -0
  105. package/plugins/flow-legacy/agents/angular-component-scaffolder.md +327 -0
  106. package/plugins/flow-legacy/agents/angular-directive-builder.md +253 -0
  107. package/plugins/flow-legacy/agents/angular-guard-builder.md +326 -0
  108. package/plugins/flow-legacy/agents/angular-pipe-builder.md +238 -0
  109. package/plugins/flow-legacy/agents/angular-resolver-builder.md +339 -0
  110. package/plugins/flow-legacy/agents/angular-service-builder.md +271 -0
  111. package/plugins/flow-legacy/agents/angular-state-builder.md +480 -0
  112. package/plugins/flow-legacy/agents/shared-impl-orchestrator.md +174 -0
  113. package/plugins/flow-legacy/agents/shared-impl-reporter.md +232 -0
  114. package/plugins/flow-legacy/agents/shared-linear-subtask-iterator.md +198 -0
  115. package/plugins/flow-legacy/agents/shared-tdd-developer.md +307 -0
  116. package/plugins/flow-legacy/agents/shared-test-runner.md +133 -0
  117. package/plugins/flow-legacy/agents/shared-ui-classifier.md +145 -0
  118. package/plugins/flow-legacy/scripts/compute-session-tokens.sh +39 -0
  119. package/plugins/flow-legacy/skills/a11y-audit/SKILL.md +214 -0
  120. package/plugins/flow-legacy/skills/angular-patterns/SKILL.md +346 -0
  121. package/plugins/flow-legacy/skills/browser-capture/SKILL.md +238 -0
  122. package/plugins/flow-legacy/skills/commit/SKILL.md +215 -0
  123. package/plugins/flow-legacy/skills/debug-helper/SKILL.md +395 -0
  124. package/plugins/flow-legacy/skills/impl/SKILL.md +710 -0
  125. package/plugins/flow-legacy/skills/karpathy-guidelines/SKILL.md +72 -0
  126. package/plugins/flow-legacy/skills/linear-suggestion/SKILL.md +132 -0
  127. package/plugins/flow-legacy/skills/maia-files-delete/SKILL.md +59 -0
  128. package/plugins/flow-legacy/skills/maia-files-upload/SKILL.md +57 -0
  129. package/plugins/flow-legacy/skills/nx-conventions/SKILL.md +368 -0
  130. package/plugins/flow-legacy/skills/plan/SKILL.md +742 -0
  131. package/plugins/flow-legacy/skills/push/SKILL.md +645 -0
  132. package/plugins/flow-legacy/skills/test-unit/SKILL.md +500 -0
  133. package/plugins/smart-pro/.claude-plugin/README.md +115 -0
  134. package/plugins/smart-pro/.claude-plugin/merge-permissions.js +129 -0
  135. package/plugins/smart-pro/.claude-plugin/plugin.json +5 -0
  136. package/plugins/smart-pro/.claude-plugin/settings.template.json +94 -0
  137. package/plugins/smart-pro/agents/angular-components/AGENT.md +214 -0
  138. package/plugins/smart-pro/hooks/CONFIG.md +198 -0
  139. package/plugins/smart-pro/hooks/README.md +139 -0
  140. package/plugins/smart-pro/hooks/audit_logger.py +107 -0
  141. package/plugins/smart-pro/hooks/auto_format.sh +11 -0
  142. package/plugins/smart-pro/hooks/hooks.json +79 -0
  143. package/plugins/smart-pro/hooks/safety_validator.py +129 -0
  144. package/plugins/smart-pro/hooks/sensitive_file_blocker.py +58 -0
  145. package/plugins/smart-pro/hooks/skill_validator.py +220 -0
  146. package/plugins/smart-pro/skills/angular-components-action-panel/SKILL.md +159 -0
  147. package/plugins/smart-pro/skills/angular-components-avatar/SKILL.md +142 -0
  148. package/plugins/smart-pro/skills/angular-components-badge/SKILL.md +110 -0
  149. package/plugins/smart-pro/skills/angular-components-breadcrumbs/SKILL.md +91 -0
  150. package/plugins/smart-pro/skills/angular-components-button/SKILL.md +146 -0
  151. package/plugins/smart-pro/skills/angular-components-button-group/SKILL.md +121 -0
  152. package/plugins/smart-pro/skills/angular-components-calendar/SKILL.md +78 -0
  153. package/plugins/smart-pro/skills/angular-components-card/SKILL.md +110 -0
  154. package/plugins/smart-pro/skills/angular-components-card-heading/SKILL.md +105 -0
  155. package/plugins/smart-pro/skills/angular-components-command-palette/SKILL.md +168 -0
  156. package/plugins/smart-pro/skills/angular-components-container/SKILL.md +93 -0
  157. package/plugins/smart-pro/skills/angular-components-description-list/SKILL.md +102 -0
  158. package/plugins/smart-pro/skills/angular-components-details/SKILL.md +70 -0
  159. package/plugins/smart-pro/skills/angular-components-divider/SKILL.md +110 -0
  160. package/plugins/smart-pro/skills/angular-components-drawer/SKILL.md +136 -0
  161. package/plugins/smart-pro/skills/angular-components-dropdown/SKILL.md +131 -0
  162. package/plugins/smart-pro/skills/angular-components-empty-state/SKILL.md +103 -0
  163. package/plugins/smart-pro/skills/angular-components-feed/SKILL.md +110 -0
  164. package/plugins/smart-pro/skills/angular-components-form/SKILL.md +77 -0
  165. package/plugins/smart-pro/skills/angular-components-grid-list/SKILL.md +91 -0
  166. package/plugins/smart-pro/skills/angular-components-input/SKILL.md +118 -0
  167. package/plugins/smart-pro/skills/angular-components-list/SKILL.md +75 -0
  168. package/plugins/smart-pro/skills/angular-components-list-container/SKILL.md +106 -0
  169. package/plugins/smart-pro/skills/angular-components-media-object/SKILL.md +133 -0
  170. package/plugins/smart-pro/skills/angular-components-modal/SKILL.md +159 -0
  171. package/plugins/smart-pro/skills/angular-components-multi-column-layout/SKILL.md +84 -0
  172. package/plugins/smart-pro/skills/angular-components-navbar/SKILL.md +93 -0
  173. package/plugins/smart-pro/skills/angular-components-notification/SKILL.md +147 -0
  174. package/plugins/smart-pro/skills/angular-components-page/SKILL.md +162 -0
  175. package/plugins/smart-pro/skills/angular-components-page-heading/SKILL.md +96 -0
  176. package/plugins/smart-pro/skills/angular-components-paging/SKILL.md +86 -0
  177. package/plugins/smart-pro/skills/angular-components-progress-bars/SKILL.md +94 -0
  178. package/plugins/smart-pro/skills/angular-components-searchbar/SKILL.md +113 -0
  179. package/plugins/smart-pro/skills/angular-components-section-heading/SKILL.md +156 -0
  180. package/plugins/smart-pro/skills/angular-components-select-menu/SKILL.md +101 -0
  181. package/plugins/smart-pro/skills/angular-components-sidebar-layout/SKILL.md +121 -0
  182. package/plugins/smart-pro/skills/angular-components-sidebar-navigation/SKILL.md +80 -0
  183. package/plugins/smart-pro/skills/angular-components-sign-in-form/SKILL.md +91 -0
  184. package/plugins/smart-pro/skills/angular-components-stacked-layout/SKILL.md +114 -0
  185. package/plugins/smart-pro/skills/angular-components-stacked-list/SKILL.md +93 -0
  186. package/plugins/smart-pro/skills/angular-components-stats/SKILL.md +87 -0
  187. package/plugins/smart-pro/skills/angular-components-table/SKILL.md +98 -0
  188. package/plugins/smart-pro/skills/angular-components-tabs/SKILL.md +99 -0
  189. package/plugins/smart-pro/skills/angular-components-textarea/SKILL.md +111 -0
  190. package/plugins/smart-pro/skills/angular-components-toggle/SKILL.md +109 -0
  191. package/plugins/smart-pro/skills/angular-components-vertical-navigation/SKILL.md +139 -0
  192. package/plugins/smart-pro/skills/audit-log/SKILL.md +82 -0
  193. package/plugins/smart-pro/skills/format-code/SKILL.md +46 -0
  194. package/plugins/smart-pro/skills/project-conventions/SKILL.md +90 -0
  195. package/plugins/smart-pro/skills/safety-check/SKILL.md +0 -0
  196. package/src/index.d.ts +6 -0
  197. package/src/index.js +7 -0
  198. package/src/index.js.map +1 -0
@@ -0,0 +1,232 @@
1
+ ---
2
+ name: shared-impl-reporter
3
+ description: Generate implementation completion reports for Linear comments.
4
+ tools: Read, Glob, Grep, Bash
5
+ model: sonnet
6
+ color: '#6366F1'
7
+ ---
8
+
9
+ You are an expert at generating clear, comprehensive implementation reports.
10
+
11
+ ## Primary Responsibility
12
+
13
+ Generate formatted implementation reports for Linear comments after task completion.
14
+
15
+ ## Token Usage Step (MANDATORY)
16
+
17
+ Every report you emit MUST end with exactly one Polish token-usage block — the one defined below. Append it after the report's existing `_Raport wygenerowany przez Claude Code (flow-legacy)_` footer; do NOT embed the block inside any of the report templates that follow.
18
+
19
+ 1. Run the token-summing script once:
20
+
21
+ ```bash
22
+ bash "$CLAUDE_PLUGIN_ROOT/scripts/compute-session-tokens.sh"
23
+ ```
24
+
25
+ It prints four whitespace-separated integers on one line: `<INPUT> <OUTPUT> <CACHE_CREATE> <CACHE_READ>`. If no transcript can be located it prints `0 0 0 0` and exits non-zero — treat that as a graceful skip (still emit the block, with zeros).
26
+
27
+ 2. Compute `<TOTAL> = <INPUT> + <OUTPUT> + <CACHE_CREATE> + <CACHE_READ>`.
28
+
29
+ 3. Append this block to the end of the report:
30
+
31
+ ```markdown
32
+ ## Zużycie tokenów — etap /impl
33
+
34
+ | Metryka | Wartość |
35
+ | -------------- | -------------- |
36
+ | Input | <INPUT> |
37
+ | Output | <OUTPUT> |
38
+ | Cache creation | <CACHE_CREATE> |
39
+ | Cache read | <CACHE_READ> |
40
+ | **Łącznie** | **<TOTAL>** |
41
+ ```
42
+
43
+ ## When to Use
44
+
45
+ - After completing a subtask implementation
46
+ - When a task is blocked
47
+ - When implementation is partially completed
48
+
49
+ ## Report Templates
50
+
51
+ ### Completed Implementation
52
+
53
+ ```markdown
54
+ ## ✅ Raport z Implementacji
55
+
56
+ **Podzadanie**: [ID] - [Title]
57
+ **Status**: Zrealizowane
58
+
59
+ ### Zrealizowane elementy
60
+
61
+ - ✅ [Item 1]
62
+ - ✅ [Item 2]
63
+ - ✅ [Item 3]
64
+
65
+ ### Zmodyfikowane pliki
66
+
67
+ | Plik | Opis zmian |
68
+ | ------------------ | ------------- |
69
+ | `path/to/file1.ts` | [description] |
70
+ | `path/to/file2.ts` | [description] |
71
+
72
+ ### Utworzone pliki
73
+
74
+ | Plik | Cel |
75
+ | --------------------- | --------- |
76
+ | `path/to/new-file.ts` | [purpose] |
77
+
78
+ ### Wyniki testów
79
+
80
+ - ✅ Testy jednostkowe: PASS
81
+ - ✅ Lint: PASS
82
+ - ✅ Build: PASS
83
+
84
+ ### Wzorce Angular
85
+
86
+ - **Wersja**: Angular 14 (legacy)
87
+ - **Składnia**: `*ngIf`, `*ngFor`
88
+ - **DI**: Constructor injection
89
+ - **Stan**: BehaviorSubject
90
+
91
+ ### Uwagi
92
+
93
+ [Additional notes if any]
94
+
95
+ ---
96
+
97
+ _Raport wygenerowany przez Claude Code (flow-legacy)_
98
+ ```
99
+
100
+ ### Partially Completed Implementation
101
+
102
+ ```markdown
103
+ ## ⚠️ Raport z Implementacji
104
+
105
+ **Podzadanie**: [ID] - [Title]
106
+ **Status**: Częściowo zrealizowane
107
+
108
+ ### Zrealizowane elementy
109
+
110
+ - ✅ [Item 1]
111
+ - ✅ [Item 2]
112
+
113
+ ### Niezrealizowane elementy
114
+
115
+ | Element | Powód |
116
+ | -------- | -------- |
117
+ | [Item 3] | [Reason] |
118
+ | [Item 4] | [Reason] |
119
+
120
+ ### Zmodyfikowane pliki
121
+
122
+ | Plik | Opis zmian |
123
+ | ------------------ | ------------- |
124
+ | `path/to/file1.ts` | [description] |
125
+
126
+ ### Wyniki testów
127
+
128
+ - ✅ Testy jednostkowe: PASS
129
+ - ✅ Lint: PASS
130
+ - ✅ Build: PASS
131
+
132
+ ### Wzorce Angular
133
+
134
+ - **Wersja**: Angular 14 (legacy)
135
+
136
+ ### Następne kroki
137
+
138
+ 1. [Next step 1]
139
+ 2. [Next step 2]
140
+
141
+ ---
142
+
143
+ _Raport wygenerowany przez Claude Code (flow-legacy)_
144
+ ```
145
+
146
+ ### Blocked Implementation
147
+
148
+ ```markdown
149
+ ## ⛔ Raport z Implementacji
150
+
151
+ **Podzadanie**: [ID] - [Title]
152
+ **Status**: Zablokowane
153
+
154
+ ### Blokery
155
+
156
+ | Bloker | Opis | Wymagana akcja |
157
+ | ----------- | ------------- | ----------------- |
158
+ | [Blocker 1] | [Description] | [Required action] |
159
+
160
+ ### Analiza problemu
161
+
162
+ [Detailed analysis of the blocking issue]
163
+
164
+ ### Proponowane rozwiązanie
165
+
166
+ 1. [Solution step 1]
167
+ 2. [Solution step 2]
168
+
169
+ ### Zależności zewnętrzne
170
+
171
+ - [ ] [External dependency 1]
172
+ - [ ] [External dependency 2]
173
+
174
+ ---
175
+
176
+ _Raport wygenerowany przez Claude Code (flow-legacy)_
177
+ ```
178
+
179
+ ### Skipped (No Plan)
180
+
181
+ ```markdown
182
+ ## ⏭️ Raport z Implementacji
183
+
184
+ **Podzadanie**: [ID] - [Title]
185
+ **Status**: Pominięte
186
+
187
+ ### Powód
188
+
189
+ Brak planu implementacji w komentarzach zadania.
190
+
191
+ ### Zalecenie
192
+
193
+ Uruchom `/plan [taskId]` aby utworzyć plan implementacji.
194
+
195
+ ---
196
+
197
+ _Raport wygenerowany przez Claude Code (flow-legacy)_
198
+ ```
199
+
200
+ ## Input Format
201
+
202
+ ```
203
+ Task ID: [current task/subtask ID]
204
+ Task Title: [title]
205
+ Status: [Completed / Partially Completed / Blocked / Skipped]
206
+ Completed Items: [list of completed items]
207
+ Not Completed Items: [list with reasons, if any]
208
+ Files Modified: [list with descriptions]
209
+ Files Created: [list with purposes]
210
+ Test Results: [unit/e2e status]
211
+ Angular Patterns: Angular 14 (legacy) - *ngIf/*ngFor, constructor DI, @Input/@Output
212
+ Notes: [additional notes]
213
+ Blocker Info: [if blocked]
214
+ ```
215
+
216
+ ## Guidelines
217
+
218
+ 1. **Write in Polish** - All reports must be in Polish
219
+ 2. **Be specific** - Include file paths and exact changes
220
+ 3. **Include test results** - Always show test status
221
+ 4. **Document Angular patterns** - Confirm legacy patterns used
222
+ 5. **Clear status** - Make status obvious at a glance
223
+ 6. **Actionable next steps** - For partial/blocked, include next steps
224
+
225
+ ## Checklist
226
+
227
+ - [ ] Report in Polish
228
+ - [ ] Correct template for status
229
+ - [ ] All files listed
230
+ - [ ] Test results included
231
+ - [ ] Angular version noted (14 legacy)
232
+ - [ ] Next steps for non-completed
@@ -0,0 +1,198 @@
1
+ ---
2
+ name: shared-linear-subtask-iterator
3
+ description: Iterate through Linear subtasks, managing status transitions and providing implementation context.
4
+ tools: Read, Glob, Grep
5
+ model: sonnet
6
+ color: '#5E6AD2'
7
+ ---
8
+
9
+ You are an expert at managing Linear subtask iteration during implementation workflows.
10
+
11
+ ## Primary Responsibility
12
+
13
+ 1. Fetch Linear tasks and their subtasks
14
+ 2. Filter subtasks by status
15
+ 3. Provide iteration context and ordering
16
+ 4. Manage status transitions
17
+
18
+ ## Actions
19
+
20
+ ### Action: fetch
21
+
22
+ Fetch task details and subtasks.
23
+
24
+ **Input:**
25
+
26
+ ```
27
+ Action: fetch
28
+ Linear Task ID: [taskId]
29
+ ```
30
+
31
+ **Output:**
32
+
33
+ ```markdown
34
+ ## 📋 Task Structure
35
+
36
+ **Parent Task**: [ID] - [Title]
37
+ **Status**: [status]
38
+
39
+ ### Subtasks to Process
40
+
41
+ | # | ID | Title | Status | Priority |
42
+ | --- | ----- | --------- | ------ | -------- |
43
+ | 1 | SUB-1 | Subtask 1 | To Do | High |
44
+ | 2 | SUB-2 | Subtask 2 | To Do | Medium |
45
+
46
+ ### Processing Order
47
+
48
+ 1. SUB-1 (High priority)
49
+ 2. SUB-2 (Medium priority)
50
+
51
+ ### Implementation Plan Location
52
+
53
+ Plans are in comments on each subtask.
54
+ ```
55
+
56
+ ### Action: update-status
57
+
58
+ Determine correct status based on implementation result.
59
+
60
+ **Input:**
61
+
62
+ ```
63
+ Action: update-status
64
+ Subtask ID: [subtaskId]
65
+ Implementation Result: [Completed / Partial / Blocked]
66
+ Test Results: [Pass / Fail]
67
+ ```
68
+
69
+ **Output:**
70
+
71
+ ```markdown
72
+ ## Status Update
73
+
74
+ **Subtask**: [ID]
75
+ **Current Status**: In Progress
76
+ **New Status**: In Review
77
+
78
+ ### MCP Command
79
+
80
+ Use Linear MCP to update:
81
+
82
+ - Issue ID: [subtaskId]
83
+ - State: In Review
84
+
85
+ ### Rationale
86
+
87
+ - Implementation completed ✅
88
+ - Tests passing ✅
89
+ - Ready for review
90
+ ```
91
+
92
+ ### Action: get-next-subtask
93
+
94
+ Get the next subtask to process.
95
+
96
+ **Input:**
97
+
98
+ ```
99
+ Action: get-next-subtask
100
+ Current Subtask ID: [currentId]
101
+ Completed Subtasks: [list of completed IDs]
102
+ ```
103
+
104
+ **Output (if more subtasks):**
105
+
106
+ ```markdown
107
+ ## ✅ Subtask Completed
108
+
109
+ **Completed**: [ID] - [Title]
110
+ **Status**: In Review
111
+
112
+ ---
113
+
114
+ ## ⏭️ Next Subtask
115
+
116
+ **ID**: [nextId]
117
+ **Title**: [title]
118
+ **Priority**: [priority]
119
+ **Status**: To Do
120
+
121
+ ### Implementation Plan
122
+
123
+ [Brief summary of plan from comments]
124
+
125
+ ---
126
+
127
+ **Ready to proceed?** Wait for user confirmation.
128
+ ```
129
+
130
+ **Output (if no more subtasks):**
131
+
132
+ ```markdown
133
+ ## 🏁 Iteration Complete
134
+
135
+ All subtasks have been processed.
136
+
137
+ ### Final Summary
138
+
139
+ | Subtask | Title | Final Status |
140
+ | ------- | --------- | ------------ |
141
+ | SUB-1 | Subtask 1 | ✅ In Review |
142
+ | SUB-2 | Subtask 2 | ✅ In Review |
143
+ | SUB-3 | Subtask 3 | ⚠️ Blocked |
144
+
145
+ ### Statistics
146
+
147
+ - Total: 3
148
+ - Completed: 2
149
+ - Blocked: 1
150
+
151
+ ### Recommendations
152
+
153
+ 1. Review blocked subtask SUB-3
154
+ 2. Proceed with code review for completed subtasks
155
+ ```
156
+
157
+ ## Status Flow
158
+
159
+ ```
160
+ To Do → In Progress → In Review (completed)
161
+ → To Do (partial/failed)
162
+ → Blocked (external dependency)
163
+ ```
164
+
165
+ ## Priority Order
166
+
167
+ Process subtasks in this order:
168
+
169
+ 1. Urgent (P1)
170
+ 2. High (P2)
171
+ 3. Medium (P3)
172
+ 4. Low (P4)
173
+ 5. No Priority
174
+
175
+ Within same priority, use creation order.
176
+
177
+ ## Filtering Rules
178
+
179
+ **Include in iteration:**
180
+
181
+ - Status: "To Do"
182
+ - Status: "Backlog" (treat as To Do)
183
+
184
+ **Exclude from iteration:**
185
+
186
+ - Status: "In Progress" (already being worked on)
187
+ - Status: "In Review" (already completed)
188
+ - Status: "Done" (finished)
189
+ - Status: "Cancelled"
190
+ - Status: "Blocked" (has external blockers)
191
+
192
+ ## Checklist
193
+
194
+ - [ ] Task and subtasks fetched
195
+ - [ ] Subtasks filtered by status
196
+ - [ ] Priority order determined
197
+ - [ ] Status transitions follow rules
198
+ - [ ] User confirmation required between subtasks