@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,495 @@
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/requirementDiagram.md](../../packages/mermaid/src/docs/syntax/requirementDiagram.md).
6
+
7
+ # Requirement Diagram
8
+
9
+ > A Requirement diagram provides a visualization for requirements and their connections, to each other and other documented elements. The modeling specs follow those defined by SysML v1.6.
10
+
11
+ Rendering requirements is straightforward.
12
+
13
+ ```mermaid-example
14
+ requirementDiagram
15
+
16
+ requirement test_req {
17
+ id: 1
18
+ text: the test text.
19
+ risk: high
20
+ verifymethod: test
21
+ }
22
+
23
+ element test_entity {
24
+ type: simulation
25
+ }
26
+
27
+ test_entity - satisfies -> test_req
28
+ ```
29
+
30
+ ```mermaid
31
+ requirementDiagram
32
+
33
+ requirement test_req {
34
+ id: 1
35
+ text: the test text.
36
+ risk: high
37
+ verifymethod: test
38
+ }
39
+
40
+ element test_entity {
41
+ type: simulation
42
+ }
43
+
44
+ test_entity - satisfies -> test_req
45
+ ```
46
+
47
+ ## Syntax
48
+
49
+ There are three types of components to a requirement diagram: requirement, element, and relationship.
50
+
51
+ The grammar for defining each is defined below. Words denoted in angle brackets, such as `<word>`, are enumerated keywords that have options elaborated in a table. `user_defined_...` is use in any place where user input is expected.
52
+
53
+ An important note on user text: all input can be surrounded in quotes or not. For example, both `id: "here is an example"` and `id: here is an example` are both valid. However, users must be careful with unquoted input. The parser will fail if another keyword is detected.
54
+
55
+ ### Requirement
56
+
57
+ A requirement definition contains a requirement type, name, id, text, risk, and verification method. The syntax follows:
58
+
59
+ ```
60
+ <type> user_defined_name {
61
+ id: user_defined_id
62
+ text: user_defined text
63
+ risk: <risk>
64
+ verifymethod: <method>
65
+ }
66
+ ```
67
+
68
+ Type, risk, and method are enumerations defined in SysML.
69
+
70
+ | Keyword | Options |
71
+ | ------------------ | ----------------------------------------------------------------------------------------------------------------------- |
72
+ | Type | requirement, functionalRequirement, interfaceRequirement, performanceRequirement, physicalRequirement, designConstraint |
73
+ | Risk | Low, Medium, High |
74
+ | VerificationMethod | Analysis, Inspection, Test, Demonstration |
75
+
76
+ ### Element
77
+
78
+ An element definition contains an element name, type, and document reference. These three are all user defined. The element feature is intended to be lightweight but allow requirements to be connected to portions of other documents.
79
+
80
+ ```
81
+ element user_defined_name {
82
+ type: user_defined_type
83
+ docref: user_defined_ref
84
+ }
85
+ ```
86
+
87
+ ### Markdown Formatting
88
+
89
+ In places where user defined text is possible (like names, requirement text, element docref, etc.), you can:
90
+
91
+ - Surround the text in quotes: `"example text"`
92
+ - Use markdown formatting inside quotes: `"**bold text** and *italics*"`
93
+
94
+ Example:
95
+
96
+ ```mermaid-example
97
+ requirementDiagram
98
+
99
+ requirement "__test_req__" {
100
+ id: 1
101
+ text: "*italicized text* **bold text**"
102
+ risk: high
103
+ verifymethod: test
104
+ }
105
+ ```
106
+
107
+ ```mermaid
108
+ requirementDiagram
109
+
110
+ requirement "__test_req__" {
111
+ id: 1
112
+ text: "*italicized text* **bold text**"
113
+ risk: high
114
+ verifymethod: test
115
+ }
116
+ ```
117
+
118
+ ### Relationship
119
+
120
+ Relationships are comprised of a source node, destination node, and relationship type.
121
+
122
+ Each follows the definition format of
123
+
124
+ ```
125
+ {name of source} - <type> -> {name of destination}
126
+ ```
127
+
128
+ or
129
+
130
+ ```
131
+ {name of destination} <- <type> - {name of source}
132
+ ```
133
+
134
+ "name of source" and "name of destination" should be names of requirement or element nodes defined elsewhere.
135
+
136
+ A relationship type can be one of contains, copies, derives, satisfies, verifies, refines, or traces.
137
+
138
+ Each relationship is labeled in the diagram.
139
+
140
+ ## Larger Example
141
+
142
+ This example uses all features of the diagram.
143
+
144
+ ```mermaid-example
145
+ requirementDiagram
146
+
147
+ requirement test_req {
148
+ id: 1
149
+ text: the test text.
150
+ risk: high
151
+ verifymethod: test
152
+ }
153
+
154
+ functionalRequirement test_req2 {
155
+ id: 1.1
156
+ text: the second test text.
157
+ risk: low
158
+ verifymethod: inspection
159
+ }
160
+
161
+ performanceRequirement test_req3 {
162
+ id: 1.2
163
+ text: the third test text.
164
+ risk: medium
165
+ verifymethod: demonstration
166
+ }
167
+
168
+ interfaceRequirement test_req4 {
169
+ id: 1.2.1
170
+ text: the fourth test text.
171
+ risk: medium
172
+ verifymethod: analysis
173
+ }
174
+
175
+ physicalRequirement test_req5 {
176
+ id: 1.2.2
177
+ text: the fifth test text.
178
+ risk: medium
179
+ verifymethod: analysis
180
+ }
181
+
182
+ designConstraint test_req6 {
183
+ id: 1.2.3
184
+ text: the sixth test text.
185
+ risk: medium
186
+ verifymethod: analysis
187
+ }
188
+
189
+ element test_entity {
190
+ type: simulation
191
+ }
192
+
193
+ element test_entity2 {
194
+ type: word doc
195
+ docRef: reqs/test_entity
196
+ }
197
+
198
+ element test_entity3 {
199
+ type: "test suite"
200
+ docRef: github.com/all_the_tests
201
+ }
202
+
203
+
204
+ test_entity - satisfies -> test_req2
205
+ test_req - traces -> test_req2
206
+ test_req - contains -> test_req3
207
+ test_req3 - contains -> test_req4
208
+ test_req4 - derives -> test_req5
209
+ test_req5 - refines -> test_req6
210
+ test_entity3 - verifies -> test_req5
211
+ test_req <- copies - test_entity2
212
+ ```
213
+
214
+ ```mermaid
215
+ requirementDiagram
216
+
217
+ requirement test_req {
218
+ id: 1
219
+ text: the test text.
220
+ risk: high
221
+ verifymethod: test
222
+ }
223
+
224
+ functionalRequirement test_req2 {
225
+ id: 1.1
226
+ text: the second test text.
227
+ risk: low
228
+ verifymethod: inspection
229
+ }
230
+
231
+ performanceRequirement test_req3 {
232
+ id: 1.2
233
+ text: the third test text.
234
+ risk: medium
235
+ verifymethod: demonstration
236
+ }
237
+
238
+ interfaceRequirement test_req4 {
239
+ id: 1.2.1
240
+ text: the fourth test text.
241
+ risk: medium
242
+ verifymethod: analysis
243
+ }
244
+
245
+ physicalRequirement test_req5 {
246
+ id: 1.2.2
247
+ text: the fifth test text.
248
+ risk: medium
249
+ verifymethod: analysis
250
+ }
251
+
252
+ designConstraint test_req6 {
253
+ id: 1.2.3
254
+ text: the sixth test text.
255
+ risk: medium
256
+ verifymethod: analysis
257
+ }
258
+
259
+ element test_entity {
260
+ type: simulation
261
+ }
262
+
263
+ element test_entity2 {
264
+ type: word doc
265
+ docRef: reqs/test_entity
266
+ }
267
+
268
+ element test_entity3 {
269
+ type: "test suite"
270
+ docRef: github.com/all_the_tests
271
+ }
272
+
273
+
274
+ test_entity - satisfies -> test_req2
275
+ test_req - traces -> test_req2
276
+ test_req - contains -> test_req3
277
+ test_req3 - contains -> test_req4
278
+ test_req4 - derives -> test_req5
279
+ test_req5 - refines -> test_req6
280
+ test_entity3 - verifies -> test_req5
281
+ test_req <- copies - test_entity2
282
+ ```
283
+
284
+ ## Direction
285
+
286
+ The diagram can be rendered in different directions using the `direction` statement. Valid values are:
287
+
288
+ - `TB` - Top to Bottom (default)
289
+ - `BT` - Bottom to Top
290
+ - `LR` - Left to Right
291
+ - `RL` - Right to Left
292
+
293
+ Example:
294
+
295
+ ```mermaid-example
296
+ requirementDiagram
297
+
298
+ direction LR
299
+
300
+ requirement test_req {
301
+ id: 1
302
+ text: the test text.
303
+ risk: high
304
+ verifymethod: test
305
+ }
306
+
307
+ element test_entity {
308
+ type: simulation
309
+ }
310
+
311
+ test_entity - satisfies -> test_req
312
+ ```
313
+
314
+ ```mermaid
315
+ requirementDiagram
316
+
317
+ direction LR
318
+
319
+ requirement test_req {
320
+ id: 1
321
+ text: the test text.
322
+ risk: high
323
+ verifymethod: test
324
+ }
325
+
326
+ element test_entity {
327
+ type: simulation
328
+ }
329
+
330
+ test_entity - satisfies -> test_req
331
+ ```
332
+
333
+ ## Styling
334
+
335
+ Requirements and elements can be styled using direct styling or classes. As a rule of thumb, when applying styles or classes, it accepts a list of requirement or element names and a list of class names allowing multiple assignments at a time (The only exception is the shorthand syntax `:::` which can assign multiple classes but only to one requirement or element at a time).
336
+
337
+ ### Direct Styling
338
+
339
+ Use the `style` keyword to apply CSS styles directly:
340
+
341
+ ```mermaid-example
342
+ requirementDiagram
343
+
344
+ requirement test_req {
345
+ id: 1
346
+ text: styling example
347
+ risk: low
348
+ verifymethod: test
349
+ }
350
+
351
+ element test_entity {
352
+ type: simulation
353
+ }
354
+
355
+ style test_req fill:#ffa,stroke:#000, color: green
356
+ style test_entity fill:#f9f,stroke:#333, color: blue
357
+ ```
358
+
359
+ ```mermaid
360
+ requirementDiagram
361
+
362
+ requirement test_req {
363
+ id: 1
364
+ text: styling example
365
+ risk: low
366
+ verifymethod: test
367
+ }
368
+
369
+ element test_entity {
370
+ type: simulation
371
+ }
372
+
373
+ style test_req fill:#ffa,stroke:#000, color: green
374
+ style test_entity fill:#f9f,stroke:#333, color: blue
375
+ ```
376
+
377
+ ### Class Definitions
378
+
379
+ Define reusable styles using `classDef`:
380
+
381
+ ```mermaid-example
382
+ requirementDiagram
383
+
384
+ requirement test_req {
385
+ id: 1
386
+ text: "class styling example"
387
+ risk: low
388
+ verifymethod: test
389
+ }
390
+
391
+ element test_entity {
392
+ type: simulation
393
+ }
394
+
395
+ classDef important fill:#f96,stroke:#333,stroke-width:4px
396
+ classDef test fill:#ffa,stroke:#000
397
+ ```
398
+
399
+ ```mermaid
400
+ requirementDiagram
401
+
402
+ requirement test_req {
403
+ id: 1
404
+ text: "class styling example"
405
+ risk: low
406
+ verifymethod: test
407
+ }
408
+
409
+ element test_entity {
410
+ type: simulation
411
+ }
412
+
413
+ classDef important fill:#f96,stroke:#333,stroke-width:4px
414
+ classDef test fill:#ffa,stroke:#000
415
+ ```
416
+
417
+ ### Default class
418
+
419
+ If a class is named default it will be applied to all nodes. Specific styles and classes should be defined afterwards to override the applied default styling.
420
+
421
+ ```
422
+ classDef default fill:#f9f,stroke:#333,stroke-width:4px;
423
+ ```
424
+
425
+ ### Applying Classes
426
+
427
+ Classes can be applied in two ways:
428
+
429
+ 1. Using the `class` keyword:
430
+
431
+ ```
432
+ class test_req,test_entity important
433
+ ```
434
+
435
+ 2. Using the shorthand syntax with `:::` either during the definition or afterwards:
436
+
437
+ ```
438
+ requirement test_req:::important {
439
+ id: 1
440
+ text: class styling example
441
+ risk: low
442
+ verifymethod: test
443
+ }
444
+ ```
445
+
446
+ ```
447
+ element test_elem {
448
+ }
449
+
450
+ test_elem:::myClass
451
+ ```
452
+
453
+ ### Combined Example
454
+
455
+ ```mermaid-example
456
+ requirementDiagram
457
+
458
+ requirement test_req:::important {
459
+ id: 1
460
+ text: "class styling example"
461
+ risk: low
462
+ verifymethod: test
463
+ }
464
+
465
+ element test_entity {
466
+ type: simulation
467
+ }
468
+
469
+ classDef important font-weight:bold
470
+
471
+ class test_entity important
472
+ style test_entity fill:#f9f,stroke:#333
473
+ ```
474
+
475
+ ```mermaid
476
+ requirementDiagram
477
+
478
+ requirement test_req:::important {
479
+ id: 1
480
+ text: "class styling example"
481
+ risk: low
482
+ verifymethod: test
483
+ }
484
+
485
+ element test_entity {
486
+ type: simulation
487
+ }
488
+
489
+ classDef important font-weight:bold
490
+
491
+ class test_entity important
492
+ style test_entity fill:#f9f,stroke:#333
493
+ ```
494
+
495
+ <!--- cspell:ignore reqs --->