@rse/ase 0.0.49 → 0.0.51

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.
@@ -1,101 +0,0 @@
1
- ---
2
- name: ase-meta-diagram
3
- description: >
4
- Render diagrams via the `diagram` tool of the `ase` MCP service.
5
- *Always use* when you have to *visualize*
6
- structure/layout/components/dependencies as Flowchart,
7
- control-flow/branching/concurrency as Flowchart,
8
- state-machine/states/transitions as a UML State Diagram,
9
- data-flow/actors/messages/protocols as a UML Sequence Diagram,
10
- data-structure/classes/methods as a UML Class Diagram,
11
- data-model/entities/relationships as an ER Diagram, or
12
- metrics/distributions/time-series as XY-Charts.
13
- user-invocable: false
14
- disable-model-invocation: false
15
- effort: low
16
- allowed-tools:
17
- - "mcp__plugin_ase_ase__diagram"
18
- ---
19
-
20
- Render Diagrams
21
- ===============
22
-
23
- Your role is to render *every* diagram in the current session, with
24
- *deterministic* and *clean* output. For this, your objective is to
25
- produce a beautifully rendered diagram that the user can read directly
26
- in the response text, derived from a *Mermaid* diagram specification,
27
- which is rendered with the `diagram` tool of the `ase` MCP service.
28
-
29
- Rules
30
- -----
31
-
32
- - WHEN NOT:
33
- You *MUST* *NEVER* hand-draw diagrams under any circumstances!
34
-
35
- Box-drawing characters (`┌`, `│`, `└`, `┐`, `┘`, `─`, `┼`, `├`,
36
- `┤`, `┬`, `┴`, `╭`, `╰`), ASCII surrogates (`+`, `-`, `|`), or any
37
- other attempt to draw a framed shape token-by-token are *forbidden*
38
- as your own diagram output.
39
-
40
- - WHEN:
41
- You *MUST* always use the `diagram` tool from the `ase` MCP service,
42
- whenever a diagram should be drawn!
43
-
44
- Every diagram in the output *MUST* originate from a `diagram`
45
- MCP tool call, with Mermaid diagram specification passed in the
46
- `diagram` field, made in the *same* session response turn. Also,
47
- pass a `colorMode` of `none` to always get monochrome renderings.
48
-
49
- - INPUT:
50
- For describing the diagrams, you *MUST* use the *Mermaid* diagram
51
- specification language!
52
-
53
- Use the following Mermaid diagram types per intent:
54
-
55
- - *structure / layout / components / dependencies* → `flowchart`
56
- - *control flow / branching / concurrency* → `flowchart`
57
- - *state machine / states / transitions* → `stateDiagram-v2`
58
- - *data flow / actors / messages / protocols* → `sequenceDiagram`
59
- - *data structure / classes / methods* → `classDiagram`
60
- - *data model / entities / relationships* → `erDiagram`
61
- - *metrics / distributions / time series* → `xychart-beta`
62
-
63
- Other Mermaid diagram types are *not* supported by the renderer
64
- and hence should *not* be specified!
65
-
66
- - OUTPUT:
67
- You *MUST* reproduce the `text` output of the `diagram` tool from
68
- the `ase` MCP service in the response text! Do not produce any other
69
- output, especially no explanations.
70
-
71
- In other words, after the `diagram` tool call completes, the
72
- skill *MUST* copy the tool's `text` result *verbatim* into a
73
- Markdown-fenced code block (triple backticks), directly placed
74
- in the response text immediately after the MCP tool call — the
75
- user reads the Markdown fenced block in the response, not the
76
- (truncated) tool call display. Emitting only the tool call without
77
- the reproduction of the `text` output is a defect: the diagram is
78
- then effectively invisible.
79
-
80
- - NOTICE 1:
81
- You *MUST* *NEVER* emit the plain Mermaid diagram specification, as
82
- it is just an intermediate format for driving the rendering process!
83
-
84
- - NOTICE 2:
85
- You *SHOULD* keep diagrams narrow!
86
-
87
- The renderer's horizontal extent scales with siblings per row, node
88
- label lengths, and inter-node padding. Limit *≤6 siblings per row*
89
- and group further items into nested `subgraph` hierarchies; keep
90
- *node labels* *≤20 chars* (abbreviate long names, drop adjectives).
91
-
92
- - NOTICE 3:
93
- You *SHOULD* stack diagrams vertically!
94
-
95
- For *comparison diagrams* (e.g., *current vs. proposed*, *before
96
- vs. after*), render each side as a *separate* Mermaid diagram
97
- specification via the `diagram` tool from the `ase` MCP service, and
98
- then stack the two rendered blocks *vertically* — each preceded by
99
- a bold label (`**BEFORE:**` / `**AFTER:**`, or similar). Do *not*
100
- attempt side-by-side layout.
101
-