@groupby/ai-dev 0.5.10 → 0.5.11

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 (61) hide show
  1. package/package.json +1 -1
  2. package/teams/fhr-neowise/commands/address-pr.md +120 -0
  3. package/teams/fhr-neowise/commands/ready-pr.md +70 -0
  4. package/teams/fhr-neowise/commands/review-pr.md +111 -0
  5. package/teams/fhr-neowise/commands/tdd-implementation.md +86 -0
  6. package/teams/fhr-neowise/commands/write-plan.md +23 -0
  7. package/teams/fhr-neowise/commands/write-pr.md +21 -0
  8. package/teams/fhr-neowise/commands/write-spec.md +25 -0
  9. package/teams/fhr-neowise/skills/agent-routing/SKILL.md +72 -0
  10. package/teams/fhr-neowise/skills/code-review/SKILL.md +83 -0
  11. package/teams/fhr-neowise/skills/code-review/review-template.md +90 -0
  12. package/teams/fhr-neowise/skills/mermaid-diagram/SKILL.md +94 -0
  13. package/teams/fhr-neowise/skills/mermaid-diagram/references/BEST_PRACTICES.md +96 -0
  14. package/teams/fhr-neowise/skills/mermaid-diagram/references/architecture.md +434 -0
  15. package/teams/fhr-neowise/skills/mermaid-diagram/references/block.md +753 -0
  16. package/teams/fhr-neowise/skills/mermaid-diagram/references/c4.md +619 -0
  17. package/teams/fhr-neowise/skills/mermaid-diagram/references/classDiagram.md +1186 -0
  18. package/teams/fhr-neowise/skills/mermaid-diagram/references/config-configuration.md +72 -0
  19. package/teams/fhr-neowise/skills/mermaid-diagram/references/config-directives.md +342 -0
  20. package/teams/fhr-neowise/skills/mermaid-diagram/references/config-layouts.md +40 -0
  21. package/teams/fhr-neowise/skills/mermaid-diagram/references/config-math.md +96 -0
  22. package/teams/fhr-neowise/skills/mermaid-diagram/references/config-theming.md +246 -0
  23. package/teams/fhr-neowise/skills/mermaid-diagram/references/config-tidy-tree.md +89 -0
  24. package/teams/fhr-neowise/skills/mermaid-diagram/references/cynefin.md +279 -0
  25. package/teams/fhr-neowise/skills/mermaid-diagram/references/entityRelationshipDiagram.md +670 -0
  26. package/teams/fhr-neowise/skills/mermaid-diagram/references/eventmodeling.md +475 -0
  27. package/teams/fhr-neowise/skills/mermaid-diagram/references/examples.md +301 -0
  28. package/teams/fhr-neowise/skills/mermaid-diagram/references/flowchart.md +2116 -0
  29. package/teams/fhr-neowise/skills/mermaid-diagram/references/gantt.md +725 -0
  30. package/teams/fhr-neowise/skills/mermaid-diagram/references/gitgraph.md +2138 -0
  31. package/teams/fhr-neowise/skills/mermaid-diagram/references/ishikawa.md +66 -0
  32. package/teams/fhr-neowise/skills/mermaid-diagram/references/kanban.md +161 -0
  33. package/teams/fhr-neowise/skills/mermaid-diagram/references/mindmap.md +335 -0
  34. package/teams/fhr-neowise/skills/mermaid-diagram/references/packet.md +153 -0
  35. package/teams/fhr-neowise/skills/mermaid-diagram/references/pie.md +93 -0
  36. package/teams/fhr-neowise/skills/mermaid-diagram/references/quadrantChart.md +267 -0
  37. package/teams/fhr-neowise/skills/mermaid-diagram/references/radar.md +269 -0
  38. package/teams/fhr-neowise/skills/mermaid-diagram/references/railroad.md +337 -0
  39. package/teams/fhr-neowise/skills/mermaid-diagram/references/requirementDiagram.md +495 -0
  40. package/teams/fhr-neowise/skills/mermaid-diagram/references/sankey.md +415 -0
  41. package/teams/fhr-neowise/skills/mermaid-diagram/references/sequenceDiagram.md +1195 -0
  42. package/teams/fhr-neowise/skills/mermaid-diagram/references/stateDiagram.md +670 -0
  43. package/teams/fhr-neowise/skills/mermaid-diagram/references/timeline.md +571 -0
  44. package/teams/fhr-neowise/skills/mermaid-diagram/references/treeView.md +321 -0
  45. package/teams/fhr-neowise/skills/mermaid-diagram/references/treemap.md +353 -0
  46. package/teams/fhr-neowise/skills/mermaid-diagram/references/userJourney.md +42 -0
  47. package/teams/fhr-neowise/skills/mermaid-diagram/references/venn.md +134 -0
  48. package/teams/fhr-neowise/skills/mermaid-diagram/references/wardley.md +732 -0
  49. package/teams/fhr-neowise/skills/mermaid-diagram/references/xyChart.md +312 -0
  50. package/teams/fhr-neowise/skills/mermaid-diagram/references/zenuml.md +474 -0
  51. package/teams/fhr-neowise/skills/mermaid-diagram/scripts/sync_docs.py +138 -0
  52. package/teams/fhr-neowise/skills/pull-request-authoring/COMPLEX.template.md +52 -0
  53. package/teams/fhr-neowise/skills/pull-request-authoring/NON-CODE.template.md +15 -0
  54. package/teams/fhr-neowise/skills/pull-request-authoring/SIMPLE.template.md +20 -0
  55. package/teams/fhr-neowise/skills/pull-request-authoring/SKILL.md +102 -0
  56. package/teams/fhr-neowise/skills/spec-investigation/SKILL.md +139 -0
  57. package/teams/fhr-neowise/skills/spec-investigation/TEMPLATE.spec.md +74 -0
  58. package/teams/fhr-neowise/skills/tdd-workflow/SKILL.md +137 -0
  59. package/teams/fhr-neowise/skills/write-plan/SKILL.md +285 -0
  60. package/teams/fhr-neowise/skills/write-plan/assets/TEMPLATE.checklist.json +79 -0
  61. package/teams/fhr-neowise/skills/write-plan/assets/TEMPLATE.plan.md +158 -0
@@ -0,0 +1,415 @@
1
+ > **Warning**
2
+ >
3
+ > ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
4
+ >
5
+ > ## Please edit the corresponding file in [/packages/mermaid/src/docs/syntax/sankey.md](../../packages/mermaid/src/docs/syntax/sankey.md).
6
+
7
+ # Sankey diagram (v10.3.0+)
8
+
9
+ > A sankey diagram is a visualization used to depict a flow from one set of values to another.
10
+
11
+ > **Warning**
12
+ > This is an experimental diagram. Its syntax are very close to plain CSV, but it is to be extended in the nearest future.
13
+
14
+ The things being connected are called nodes and the connections are called links.
15
+
16
+ ## Example
17
+
18
+ This example taken from [observable](https://observablehq.com/@d3/sankey/2?collection=@d3/d3-sankey). It may be rendered a little bit differently, though, in terms of size and colors.
19
+
20
+ ```mermaid-example
21
+ ---
22
+ config:
23
+ sankey:
24
+ showValues: false
25
+ ---
26
+ sankey
27
+
28
+ Agricultural 'waste',Bio-conversion,124.729
29
+ Bio-conversion,Liquid,0.597
30
+ Bio-conversion,Losses,26.862
31
+ Bio-conversion,Solid,280.322
32
+ Bio-conversion,Gas,81.144
33
+ Biofuel imports,Liquid,35
34
+ Biomass imports,Solid,35
35
+ Coal imports,Coal,11.606
36
+ Coal reserves,Coal,63.965
37
+ Coal,Solid,75.571
38
+ District heating,Industry,10.639
39
+ District heating,Heating and cooling - commercial,22.505
40
+ District heating,Heating and cooling - homes,46.184
41
+ Electricity grid,Over generation / exports,104.453
42
+ Electricity grid,Heating and cooling - homes,113.726
43
+ Electricity grid,H2 conversion,27.14
44
+ Electricity grid,Industry,342.165
45
+ Electricity grid,Road transport,37.797
46
+ Electricity grid,Agriculture,4.412
47
+ Electricity grid,Heating and cooling - commercial,40.858
48
+ Electricity grid,Losses,56.691
49
+ Electricity grid,Rail transport,7.863
50
+ Electricity grid,Lighting & appliances - commercial,90.008
51
+ Electricity grid,Lighting & appliances - homes,93.494
52
+ Gas imports,Ngas,40.719
53
+ Gas reserves,Ngas,82.233
54
+ Gas,Heating and cooling - commercial,0.129
55
+ Gas,Losses,1.401
56
+ Gas,Thermal generation,151.891
57
+ Gas,Agriculture,2.096
58
+ Gas,Industry,48.58
59
+ Geothermal,Electricity grid,7.013
60
+ H2 conversion,H2,20.897
61
+ H2 conversion,Losses,6.242
62
+ H2,Road transport,20.897
63
+ Hydro,Electricity grid,6.995
64
+ Liquid,Industry,121.066
65
+ Liquid,International shipping,128.69
66
+ Liquid,Road transport,135.835
67
+ Liquid,Domestic aviation,14.458
68
+ Liquid,International aviation,206.267
69
+ Liquid,Agriculture,3.64
70
+ Liquid,National navigation,33.218
71
+ Liquid,Rail transport,4.413
72
+ Marine algae,Bio-conversion,4.375
73
+ Ngas,Gas,122.952
74
+ Nuclear,Thermal generation,839.978
75
+ Oil imports,Oil,504.287
76
+ Oil reserves,Oil,107.703
77
+ Oil,Liquid,611.99
78
+ Other waste,Solid,56.587
79
+ Other waste,Bio-conversion,77.81
80
+ Pumped heat,Heating and cooling - homes,193.026
81
+ Pumped heat,Heating and cooling - commercial,70.672
82
+ Solar PV,Electricity grid,59.901
83
+ Solar Thermal,Heating and cooling - homes,19.263
84
+ Solar,Solar Thermal,19.263
85
+ Solar,Solar PV,59.901
86
+ Solid,Agriculture,0.882
87
+ Solid,Thermal generation,400.12
88
+ Solid,Industry,46.477
89
+ Thermal generation,Electricity grid,525.531
90
+ Thermal generation,Losses,787.129
91
+ Thermal generation,District heating,79.329
92
+ Tidal,Electricity grid,9.452
93
+ UK land based bioenergy,Bio-conversion,182.01
94
+ Wave,Electricity grid,19.013
95
+ Wind,Electricity grid,289.366
96
+ ```
97
+
98
+ ```mermaid
99
+ ---
100
+ config:
101
+ sankey:
102
+ showValues: false
103
+ ---
104
+ sankey
105
+
106
+ Agricultural 'waste',Bio-conversion,124.729
107
+ Bio-conversion,Liquid,0.597
108
+ Bio-conversion,Losses,26.862
109
+ Bio-conversion,Solid,280.322
110
+ Bio-conversion,Gas,81.144
111
+ Biofuel imports,Liquid,35
112
+ Biomass imports,Solid,35
113
+ Coal imports,Coal,11.606
114
+ Coal reserves,Coal,63.965
115
+ Coal,Solid,75.571
116
+ District heating,Industry,10.639
117
+ District heating,Heating and cooling - commercial,22.505
118
+ District heating,Heating and cooling - homes,46.184
119
+ Electricity grid,Over generation / exports,104.453
120
+ Electricity grid,Heating and cooling - homes,113.726
121
+ Electricity grid,H2 conversion,27.14
122
+ Electricity grid,Industry,342.165
123
+ Electricity grid,Road transport,37.797
124
+ Electricity grid,Agriculture,4.412
125
+ Electricity grid,Heating and cooling - commercial,40.858
126
+ Electricity grid,Losses,56.691
127
+ Electricity grid,Rail transport,7.863
128
+ Electricity grid,Lighting & appliances - commercial,90.008
129
+ Electricity grid,Lighting & appliances - homes,93.494
130
+ Gas imports,Ngas,40.719
131
+ Gas reserves,Ngas,82.233
132
+ Gas,Heating and cooling - commercial,0.129
133
+ Gas,Losses,1.401
134
+ Gas,Thermal generation,151.891
135
+ Gas,Agriculture,2.096
136
+ Gas,Industry,48.58
137
+ Geothermal,Electricity grid,7.013
138
+ H2 conversion,H2,20.897
139
+ H2 conversion,Losses,6.242
140
+ H2,Road transport,20.897
141
+ Hydro,Electricity grid,6.995
142
+ Liquid,Industry,121.066
143
+ Liquid,International shipping,128.69
144
+ Liquid,Road transport,135.835
145
+ Liquid,Domestic aviation,14.458
146
+ Liquid,International aviation,206.267
147
+ Liquid,Agriculture,3.64
148
+ Liquid,National navigation,33.218
149
+ Liquid,Rail transport,4.413
150
+ Marine algae,Bio-conversion,4.375
151
+ Ngas,Gas,122.952
152
+ Nuclear,Thermal generation,839.978
153
+ Oil imports,Oil,504.287
154
+ Oil reserves,Oil,107.703
155
+ Oil,Liquid,611.99
156
+ Other waste,Solid,56.587
157
+ Other waste,Bio-conversion,77.81
158
+ Pumped heat,Heating and cooling - homes,193.026
159
+ Pumped heat,Heating and cooling - commercial,70.672
160
+ Solar PV,Electricity grid,59.901
161
+ Solar Thermal,Heating and cooling - homes,19.263
162
+ Solar,Solar Thermal,19.263
163
+ Solar,Solar PV,59.901
164
+ Solid,Agriculture,0.882
165
+ Solid,Thermal generation,400.12
166
+ Solid,Industry,46.477
167
+ Thermal generation,Electricity grid,525.531
168
+ Thermal generation,Losses,787.129
169
+ Thermal generation,District heating,79.329
170
+ Tidal,Electricity grid,9.452
171
+ UK land based bioenergy,Bio-conversion,182.01
172
+ Wave,Electricity grid,19.013
173
+ Wind,Electricity grid,289.366
174
+ ```
175
+
176
+ ## Syntax
177
+
178
+ The idea behind syntax is that a user types `sankey` keyword first, then pastes raw CSV below and get the result.
179
+
180
+ It implements CSV standard as [described here](https://www.ietf.org/rfc/rfc4180.txt) with subtle **differences**:
181
+
182
+ - CSV must contain **3 columns only**
183
+ - It is **allowed** to have **empty lines** without comma separators for visual purposes
184
+
185
+ ### Basic
186
+
187
+ It is implied that 3 columns inside CSV should represent `source`, `target` and `value` accordingly:
188
+
189
+ ```mermaid-example
190
+ sankey
191
+
192
+ %% source,target,value
193
+ Electricity grid,Over generation / exports,104.453
194
+ Electricity grid,Heating and cooling - homes,113.726
195
+ Electricity grid,H2 conversion,27.14
196
+ ```
197
+
198
+ ```mermaid
199
+ sankey
200
+
201
+ %% source,target,value
202
+ Electricity grid,Over generation / exports,104.453
203
+ Electricity grid,Heating and cooling - homes,113.726
204
+ Electricity grid,H2 conversion,27.14
205
+ ```
206
+
207
+ ### Empty Lines
208
+
209
+ CSV does not support empty lines without comma delimiters by default. But you can add them if needed:
210
+
211
+ ```mermaid-example
212
+ sankey
213
+
214
+ Bio-conversion,Losses,26.862
215
+
216
+ Bio-conversion,Solid,280.322
217
+
218
+ Bio-conversion,Gas,81.144
219
+ ```
220
+
221
+ ```mermaid
222
+ sankey
223
+
224
+ Bio-conversion,Losses,26.862
225
+
226
+ Bio-conversion,Solid,280.322
227
+
228
+ Bio-conversion,Gas,81.144
229
+ ```
230
+
231
+ ### Commas
232
+
233
+ If you need to have a comma, wrap it in double quotes:
234
+
235
+ ```mermaid-example
236
+ sankey
237
+
238
+ Pumped heat,"Heating and cooling, homes",193.026
239
+ Pumped heat,"Heating and cooling, commercial",70.672
240
+ ```
241
+
242
+ ```mermaid
243
+ sankey
244
+
245
+ Pumped heat,"Heating and cooling, homes",193.026
246
+ Pumped heat,"Heating and cooling, commercial",70.672
247
+ ```
248
+
249
+ ### Double Quotes
250
+
251
+ If you need to have double quote, put a pair of them inside quoted string:
252
+
253
+ ```mermaid-example
254
+ sankey
255
+
256
+ Pumped heat,"Heating and cooling, ""homes""",193.026
257
+ Pumped heat,"Heating and cooling, ""commercial""",70.672
258
+ ```
259
+
260
+ ```mermaid
261
+ sankey
262
+
263
+ Pumped heat,"Heating and cooling, ""homes""",193.026
264
+ Pumped heat,"Heating and cooling, ""commercial""",70.672
265
+ ```
266
+
267
+ ## Configuration
268
+
269
+ You can customize link colors, node alignments and diagram dimensions.
270
+
271
+ ```html
272
+ <script>
273
+ const config = {
274
+ startOnLoad: true,
275
+ securityLevel: 'loose',
276
+ sankey: {
277
+ width: 800,
278
+ height: 400,
279
+ linkColor: 'source',
280
+ nodeAlignment: 'left',
281
+ },
282
+ };
283
+ mermaid.initialize(config);
284
+ </script>
285
+ ```
286
+
287
+ ### Links Coloring
288
+
289
+ You can adjust links' color by setting `linkColor` to one of those:
290
+
291
+ - `source` - link will be of a source node color
292
+ - `target` - link will be of a target node color
293
+ - `gradient` - link color will be smoothly transient between source and target node colors
294
+ - hex code of color, like `#a1a1a1`
295
+
296
+ ### Node Alignment
297
+
298
+ Graph layout can be changed by setting `nodeAlignment` to:
299
+
300
+ - `justify`
301
+ - `center`
302
+ - `left`
303
+ - `right`
304
+
305
+ ### Label Style (v11.15.0+)
306
+
307
+ You can change how node labels are rendered by setting `labelStyle`:
308
+
309
+ - `legacy` (default) - plain text labels, positioned based on node x-coordinate
310
+ - `outlined` - labels with a background stroke for improved readability, positioned based on node layer relative to the central node
311
+
312
+ ```mermaid-example
313
+ ---
314
+ config:
315
+ sankey:
316
+ showValues: false
317
+ labelStyle: outlined
318
+ ---
319
+ sankey
320
+
321
+ Electricity grid,Heating and cooling - homes,113.726
322
+ Electricity grid,Industry,342.165
323
+ Electricity grid,Losses,56.691
324
+ ```
325
+
326
+ ```mermaid
327
+ ---
328
+ config:
329
+ sankey:
330
+ showValues: false
331
+ labelStyle: outlined
332
+ ---
333
+ sankey
334
+
335
+ Electricity grid,Heating and cooling - homes,113.726
336
+ Electricity grid,Industry,342.165
337
+ Electricity grid,Losses,56.691
338
+ ```
339
+
340
+ ### Node Width and Padding (v11.15.0+)
341
+
342
+ You can customize the node dimensions:
343
+
344
+ - `nodeWidth` - width of the node rectangles in pixels (default: `10`)
345
+ - `nodePadding` - vertical padding between nodes in pixels (default: `12`)
346
+
347
+ ```mermaid-example
348
+ ---
349
+ config:
350
+ sankey:
351
+ showValues: false
352
+ nodeWidth: 15
353
+ nodePadding: 20
354
+ ---
355
+ sankey
356
+
357
+ Electricity grid,Heating and cooling - homes,113.726
358
+ Electricity grid,Industry,342.165
359
+ Electricity grid,Losses,56.691
360
+ ```
361
+
362
+ ```mermaid
363
+ ---
364
+ config:
365
+ sankey:
366
+ showValues: false
367
+ nodeWidth: 15
368
+ nodePadding: 20
369
+ ---
370
+ sankey
371
+
372
+ Electricity grid,Heating and cooling - homes,113.726
373
+ Electricity grid,Industry,342.165
374
+ Electricity grid,Losses,56.691
375
+ ```
376
+
377
+ ### Custom Node Colors (v11.15.0+)
378
+
379
+ You can assign specific colors to nodes using the `nodeColors` map. Nodes not listed will use the default color scheme. Values must be valid CSS colors (hex, `rgb()`, `hsl()`, or named colors).
380
+
381
+ ```mermaid-example
382
+ ---
383
+ config:
384
+ sankey:
385
+ showValues: false
386
+ nodeColors:
387
+ Electricity grid: "#4e79a7"
388
+ Industry: "#e15759"
389
+ Losses: "#bab0ab"
390
+ ---
391
+ sankey
392
+
393
+ Electricity grid,Heating and cooling - homes,113.726
394
+ Electricity grid,Industry,342.165
395
+ Electricity grid,Losses,56.691
396
+ ```
397
+
398
+ ```mermaid
399
+ ---
400
+ config:
401
+ sankey:
402
+ showValues: false
403
+ nodeColors:
404
+ Electricity grid: "#4e79a7"
405
+ Industry: "#e15759"
406
+ Losses: "#bab0ab"
407
+ ---
408
+ sankey
409
+
410
+ Electricity grid,Heating and cooling - homes,113.726
411
+ Electricity grid,Industry,342.165
412
+ Electricity grid,Losses,56.691
413
+ ```
414
+
415
+ <!--- cspell:ignore Ngas bioenergy biofuel --->