@drunkcoding/agents-and-skills 0.0.1
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.
- package/.claude-plugin/marketplace.json +26 -0
- package/LICENSE +21 -0
- package/README.md +50 -0
- package/package.json +33 -0
- package/plugins/tech-graph/.claude-plugin/plugin.json +17 -0
- package/plugins/tech-graph/README.md +66 -0
- package/plugins/tech-graph/agents/tech-graph.md +89 -0
- package/plugins/tech-graph/commands/tech-graph.md +13 -0
- package/plugins/tech-graph/scripts/check-deps.sh +55 -0
- package/plugins/tech-graph/skills/tech-graph/LICENSE +21 -0
- package/plugins/tech-graph/skills/tech-graph/README.md +555 -0
- package/plugins/tech-graph/skills/tech-graph/README.zh.md +514 -0
- package/plugins/tech-graph/skills/tech-graph/SKILL.md +559 -0
- package/plugins/tech-graph/skills/tech-graph/agents/openai.yaml +4 -0
- package/plugins/tech-graph/skills/tech-graph/assets/samples/sample-style1-flat.png +0 -0
- package/plugins/tech-graph/skills/tech-graph/assets/samples/sample-style2-dark.png +0 -0
- package/plugins/tech-graph/skills/tech-graph/assets/samples/sample-style3-blueprint.png +0 -0
- package/plugins/tech-graph/skills/tech-graph/assets/samples/sample-style4-notion.png +0 -0
- package/plugins/tech-graph/skills/tech-graph/assets/samples/sample-style5-glass.png +0 -0
- package/plugins/tech-graph/skills/tech-graph/assets/samples/sample-style6-claude.png +0 -0
- package/plugins/tech-graph/skills/tech-graph/assets/samples/sample-style7-openai.png +0 -0
- package/plugins/tech-graph/skills/tech-graph/fixtures/agent-memory-types-style4.json +181 -0
- package/plugins/tech-graph/skills/tech-graph/fixtures/api-flow-style7.json +40 -0
- package/plugins/tech-graph/skills/tech-graph/fixtures/mem0-style1.json +297 -0
- package/plugins/tech-graph/skills/tech-graph/fixtures/microservices-style3.json +64 -0
- package/plugins/tech-graph/skills/tech-graph/fixtures/multi-agent-style5.json +45 -0
- package/plugins/tech-graph/skills/tech-graph/fixtures/system-architecture-style6.json +48 -0
- package/plugins/tech-graph/skills/tech-graph/fixtures/tool-call-style2.json +182 -0
- package/plugins/tech-graph/skills/tech-graph/package.json +42 -0
- package/plugins/tech-graph/skills/tech-graph/references/icons.md +406 -0
- package/plugins/tech-graph/skills/tech-graph/references/style-1-flat-icon.md +108 -0
- package/plugins/tech-graph/skills/tech-graph/references/style-2-dark-terminal.md +107 -0
- package/plugins/tech-graph/skills/tech-graph/references/style-3-blueprint.md +113 -0
- package/plugins/tech-graph/skills/tech-graph/references/style-4-notion-clean.md +95 -0
- package/plugins/tech-graph/skills/tech-graph/references/style-5-glassmorphism.md +125 -0
- package/plugins/tech-graph/skills/tech-graph/references/style-6-claude-official.md +209 -0
- package/plugins/tech-graph/skills/tech-graph/references/style-7-openai.md +215 -0
- package/plugins/tech-graph/skills/tech-graph/references/style-diagram-matrix.md +135 -0
- package/plugins/tech-graph/skills/tech-graph/references/svg-layout-best-practices.md +100 -0
- package/plugins/tech-graph/skills/tech-graph/scripts/README.md +269 -0
- package/plugins/tech-graph/skills/tech-graph/scripts/generate-diagram.sh +181 -0
- package/plugins/tech-graph/skills/tech-graph/scripts/generate-from-template.py +1587 -0
- package/plugins/tech-graph/skills/tech-graph/scripts/test-all-styles.sh +143 -0
- package/plugins/tech-graph/skills/tech-graph/scripts/validate-svg.sh +306 -0
- package/plugins/tech-graph/skills/tech-graph/templates/agent-architecture.svg +28 -0
- package/plugins/tech-graph/skills/tech-graph/templates/architecture.svg +23 -0
- package/plugins/tech-graph/skills/tech-graph/templates/comparison-matrix.svg +14 -0
- package/plugins/tech-graph/skills/tech-graph/templates/data-flow.svg +28 -0
- package/plugins/tech-graph/skills/tech-graph/templates/er-diagram.svg +21 -0
- package/plugins/tech-graph/skills/tech-graph/templates/flowchart.svg +21 -0
- package/plugins/tech-graph/skills/tech-graph/templates/sequence.svg +20 -0
- package/plugins/tech-graph/skills/tech-graph/templates/state-machine.svg +20 -0
- package/plugins/tech-graph/skills/tech-graph/templates/timeline.svg +19 -0
- package/plugins/tech-graph/skills/tech-graph/templates/use-case.svg +21 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template_type": "architecture",
|
|
3
|
+
"style": 6,
|
|
4
|
+
"width": 1120,
|
|
5
|
+
"height": 700,
|
|
6
|
+
"style_overrides": {
|
|
7
|
+
"title_align": "center"
|
|
8
|
+
},
|
|
9
|
+
"title": "System Architecture",
|
|
10
|
+
"subtitle": "Claude official style with warm structure, restrained hierarchy, and deployment clarity",
|
|
11
|
+
"containers": [
|
|
12
|
+
{ "x": 44, "y": 118, "width": 1032, "height": 110, "label": "", "side_label": "Interface Layer", "side_label_x": 28, "side_label_anchor": "start", "subtitle": "", "stroke": "#ded8cf", "fill": "none" },
|
|
13
|
+
{ "x": 44, "y": 262, "width": 1032, "height": 154, "label": "", "side_label": "Core Layer", "side_label_x": 28, "side_label_anchor": "start", "subtitle": "", "stroke": "#ded8cf", "fill": "none" },
|
|
14
|
+
{ "x": 44, "y": 450, "width": 1032, "height": 178, "label": "", "side_label": "Foundation Layer", "side_label_x": 28, "side_label_anchor": "start", "subtitle": "", "stroke": "#ded8cf", "fill": "none" }
|
|
15
|
+
],
|
|
16
|
+
"nodes": [
|
|
17
|
+
{ "id": "entry", "kind": "rect", "x": 82, "y": 146, "width": 170, "height": 54, "label": "Client Surface", "type_label": "ENTRY", "fill": "#e9f1fb", "stroke": "#8c6f5a", "flat": true },
|
|
18
|
+
{ "id": "gateway", "kind": "double_rect", "x": 340, "y": 142, "width": 196, "height": 62, "label": "Gateway", "type_label": "ROUTER", "fill": "#f7ecda", "stroke": "#d97757" },
|
|
19
|
+
{ "id": "planner", "kind": "rect", "x": 144, "y": 306, "width": 188, "height": 60, "label": "Task Planner", "type_label": "ORCHESTRATION", "fill": "#f7ecda", "stroke": "#d0b893", "flat": true },
|
|
20
|
+
{ "id": "runtime", "kind": "double_rect", "x": 430, "y": 298, "width": 244, "height": 76, "label": "Model Runtime", "type_label": "INFERENCE", "fill": "#c8e4db", "stroke": "#8c6f5a" },
|
|
21
|
+
{ "id": "guard", "kind": "rect", "x": 782, "y": 306, "width": 200, "height": 60, "label": "Policy Guardrails", "type_label": "SAFETY", "fill": "#efe8de", "stroke": "#d0c3b3", "flat": true },
|
|
22
|
+
{ "id": "memory", "kind": "cylinder", "x": 96, "y": 494, "width": 154, "height": 92, "label": "Memory Store", "sublabel": "context + recall", "fill": "#e5e8df", "stroke": "#7b8b5c" },
|
|
23
|
+
{ "id": "tools", "kind": "rect", "x": 382, "y": 510, "width": 184, "height": 60, "label": "Tool Runtime", "type_label": "ACTION", "fill": "#f7ecda", "stroke": "#d0b893", "flat": true },
|
|
24
|
+
{ "id": "obs", "kind": "rect", "x": 688, "y": 510, "width": 184, "height": 60, "label": "Observability", "type_label": "OPS", "fill": "#efe8de", "stroke": "#d0c3b3", "flat": true },
|
|
25
|
+
{ "id": "registry", "kind": "rect", "x": 906, "y": 510, "width": 138, "height": 60, "label": "Registry", "type_label": "ROLL OUT", "fill": "#efe8de", "stroke": "#d0c3b3", "flat": true }
|
|
26
|
+
],
|
|
27
|
+
"arrows": [
|
|
28
|
+
{ "source": "entry", "target": "gateway", "source_port": "right", "target_port": "left", "flow": "read" },
|
|
29
|
+
{ "source": "gateway", "target": "planner", "source_port": "bottom", "target_port": "top", "flow": "control", "label": "decompose", "route_points": [[370,224], [370,336], [332,336]] },
|
|
30
|
+
{ "source": "gateway", "target": "runtime", "source_port": "bottom", "target_port": "top", "flow": "read", "route_points": [[438,224], [552,224], [552,298]] },
|
|
31
|
+
{ "source": "runtime", "target": "guard", "source_port": "right", "target_port": "left", "flow": "data" },
|
|
32
|
+
{ "source": "runtime", "target": "memory", "source_port": "bottom", "target_port": "top", "flow": "write", "dashed": true, "route_points": [[606,432], [218,432], [218,494]] },
|
|
33
|
+
{ "source": "runtime", "target": "tools", "source_port": "bottom", "target_port": "top", "flow": "read" },
|
|
34
|
+
{ "source": "runtime", "target": "obs", "source_port": "bottom", "target_port": "top", "flow": "feedback", "dashed": true, "route_points": [[730,432], [780,432], [780,510]] },
|
|
35
|
+
{ "source": "obs", "target": "registry", "source_port": "right", "target_port": "left", "flow": "control" }
|
|
36
|
+
],
|
|
37
|
+
"legend": [
|
|
38
|
+
{ "flow": "read", "label": "Primary request path" },
|
|
39
|
+
{ "flow": "control", "label": "Planning / rollout control" },
|
|
40
|
+
{ "flow": "write", "label": "Memory writeback" },
|
|
41
|
+
{ "flow": "feedback", "label": "Operational telemetry" }
|
|
42
|
+
],
|
|
43
|
+
"legend_position": "bottom-right",
|
|
44
|
+
"legend_box": true,
|
|
45
|
+
"legend_box_fill": "#fffaf3",
|
|
46
|
+
"legend_y": 596,
|
|
47
|
+
"footer": ""
|
|
48
|
+
}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template_type": "agent",
|
|
3
|
+
"style": 2,
|
|
4
|
+
"width": 1200,
|
|
5
|
+
"height": 700,
|
|
6
|
+
"window_controls": true,
|
|
7
|
+
"meta_center": "AGENT TOOL CALL EXECUTION FLOW · v1.0",
|
|
8
|
+
"meta_right": "style-2-dark-terminal",
|
|
9
|
+
"meta_fill": "#64748b",
|
|
10
|
+
"title": "Tool Call Flow",
|
|
11
|
+
"subtitle": "Dark terminal style with semantic action, retrieval, and execution paths",
|
|
12
|
+
"containers": [
|
|
13
|
+
{
|
|
14
|
+
"x": 36,
|
|
15
|
+
"y": 96,
|
|
16
|
+
"width": 1128,
|
|
17
|
+
"height": 142,
|
|
18
|
+
"label": "REQUEST PATH",
|
|
19
|
+
"subtitle": "",
|
|
20
|
+
"stroke": "#334155",
|
|
21
|
+
"fill": "rgba(15,23,42,0.18)"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"x": 36,
|
|
25
|
+
"y": 280,
|
|
26
|
+
"width": 1128,
|
|
27
|
+
"height": 202,
|
|
28
|
+
"label": "TOOLING FABRIC",
|
|
29
|
+
"subtitle": "",
|
|
30
|
+
"stroke": "#334155",
|
|
31
|
+
"fill": "rgba(15,23,42,0.18)"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"x": 36,
|
|
35
|
+
"y": 522,
|
|
36
|
+
"width": 1128,
|
|
37
|
+
"height": 126,
|
|
38
|
+
"label": "KNOWLEDGE + RESPONSE",
|
|
39
|
+
"subtitle": "",
|
|
40
|
+
"stroke": "#334155",
|
|
41
|
+
"fill": "rgba(15,23,42,0.18)"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"nodes": [
|
|
45
|
+
{
|
|
46
|
+
"id": "query",
|
|
47
|
+
"kind": "speech",
|
|
48
|
+
"x": 64,
|
|
49
|
+
"y": 126,
|
|
50
|
+
"width": 132,
|
|
51
|
+
"height": 62,
|
|
52
|
+
"label": "User query",
|
|
53
|
+
"fill": "#0f172a",
|
|
54
|
+
"stroke": "#38bdf8",
|
|
55
|
+
"flat": true
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "planner",
|
|
59
|
+
"kind": "double_rect",
|
|
60
|
+
"x": 292,
|
|
61
|
+
"y": 122,
|
|
62
|
+
"width": 188,
|
|
63
|
+
"height": 66,
|
|
64
|
+
"label": "Retrieve chunks",
|
|
65
|
+
"fill": "#111827",
|
|
66
|
+
"stroke": "#a855f7",
|
|
67
|
+
"glow": "purple"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "answer",
|
|
71
|
+
"kind": "rect",
|
|
72
|
+
"x": 570,
|
|
73
|
+
"y": 122,
|
|
74
|
+
"width": 208,
|
|
75
|
+
"height": 66,
|
|
76
|
+
"label": "Generate answer",
|
|
77
|
+
"fill": "#111827",
|
|
78
|
+
"stroke": "#f97316"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "kb",
|
|
82
|
+
"kind": "cylinder",
|
|
83
|
+
"x": 948,
|
|
84
|
+
"y": 104,
|
|
85
|
+
"width": 158,
|
|
86
|
+
"height": 122,
|
|
87
|
+
"label": "Knowledge base",
|
|
88
|
+
"sublabel": "embeddings",
|
|
89
|
+
"fill": "#0f172a",
|
|
90
|
+
"stroke": "#38bdf8",
|
|
91
|
+
"glow": "blue"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "agent",
|
|
95
|
+
"kind": "bot",
|
|
96
|
+
"x": 380,
|
|
97
|
+
"y": 316,
|
|
98
|
+
"width": 138,
|
|
99
|
+
"height": 118,
|
|
100
|
+
"label": "Agent",
|
|
101
|
+
"sublabel": "planner + tool policy",
|
|
102
|
+
"accent_fill": "#34d399"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "terminal",
|
|
106
|
+
"kind": "terminal",
|
|
107
|
+
"x": 676,
|
|
108
|
+
"y": 334,
|
|
109
|
+
"width": 178,
|
|
110
|
+
"height": 108,
|
|
111
|
+
"label": "Terminal",
|
|
112
|
+
"fill": "#111111",
|
|
113
|
+
"stroke": "#475569",
|
|
114
|
+
"header_fill": "#222222"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"id": "docs",
|
|
118
|
+
"kind": "folder",
|
|
119
|
+
"x": 962,
|
|
120
|
+
"y": 350,
|
|
121
|
+
"width": 168,
|
|
122
|
+
"height": 96,
|
|
123
|
+
"label": "Source documents",
|
|
124
|
+
"fill": "#3f2a00",
|
|
125
|
+
"stroke": "#f59e0b",
|
|
126
|
+
"line_stroke": "#fcd34d"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "reply",
|
|
130
|
+
"kind": "speech",
|
|
131
|
+
"x": 250,
|
|
132
|
+
"y": 560,
|
|
133
|
+
"width": 172,
|
|
134
|
+
"height": 64,
|
|
135
|
+
"label": "Grounded answer",
|
|
136
|
+
"fill": "#0f172a",
|
|
137
|
+
"stroke": "#34d399",
|
|
138
|
+
"flat": true,
|
|
139
|
+
"glow": "green"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"arrows": [
|
|
143
|
+
{ "source": "query", "target": "planner", "source_port": "right", "target_port": "left", "flow": "read" },
|
|
144
|
+
{ "source": "planner", "target": "answer", "source_port": "right", "target_port": "left", "flow": "data" },
|
|
145
|
+
{ "source": "planner", "target": "kb", "source_port": "right", "target_port": "left", "flow": "control", "route_points": [[520, 96], [918, 96], [918, 165]] },
|
|
146
|
+
{ "source": "kb", "target": "answer", "source_port": "left", "target_port": "right", "flow": "control" },
|
|
147
|
+
{ "source": "query", "target": "agent", "source_port": "bottom", "target_port": "top", "flow": "read" },
|
|
148
|
+
{ "source": "agent", "target": "terminal", "source_port": "right", "target_port": "left", "flow": "read" },
|
|
149
|
+
{ "source": "terminal", "target": "docs", "source_port": "right", "target_port": "left", "flow": "read", "label": "pdfgrep / rga", "label_dx": -8 },
|
|
150
|
+
{
|
|
151
|
+
"source": "docs",
|
|
152
|
+
"target": "kb",
|
|
153
|
+
"source_port": "top",
|
|
154
|
+
"target_port": "bottom",
|
|
155
|
+
"flow": "feedback",
|
|
156
|
+
"label": "embed",
|
|
157
|
+
"corridor_x": [1090],
|
|
158
|
+
"label_dx": 18,
|
|
159
|
+
"label_dy": -12
|
|
160
|
+
},
|
|
161
|
+
{ "source": "agent", "target": "reply", "source_port": "bottom", "target_port": "top", "flow": "read", "route_points": [[320, 544], [320, 560]] },
|
|
162
|
+
{
|
|
163
|
+
"source": "terminal",
|
|
164
|
+
"target": "agent",
|
|
165
|
+
"source_port": "bottom",
|
|
166
|
+
"target_port": "bottom",
|
|
167
|
+
"flow": "control",
|
|
168
|
+
"route_points": [[760, 464], [760, 488], [456, 488], [456, 434]]
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"legend": [
|
|
172
|
+
{ "flow": "read", "label": "Agent / tool path" },
|
|
173
|
+
{ "flow": "control", "label": "Planner / retrieval path" },
|
|
174
|
+
{ "flow": "data", "label": "Answer synthesis" },
|
|
175
|
+
{ "flow": "feedback", "label": "Embedding update" }
|
|
176
|
+
],
|
|
177
|
+
"legend_position": "bottom-right",
|
|
178
|
+
"legend_box": true,
|
|
179
|
+
"legend_box_fill": "rgba(15,23,42,0.72)",
|
|
180
|
+
"legend_y": 604,
|
|
181
|
+
"footer": "Agent loop iterates until grounded context is ready"
|
|
182
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@yizhiyanhua-ai/fireworks-tech-graph",
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "Generate production-quality SVG technical diagrams (architecture, flowchart, UML, ER, sequence, etc.) with 7 built-in styles. Export as SVG+PNG via cairosvg (recommended), with rsvg-convert and puppeteer as alternatives.",
|
|
5
|
+
"main": "SKILL.md",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"claude-code",
|
|
8
|
+
"skill",
|
|
9
|
+
"diagram",
|
|
10
|
+
"svg",
|
|
11
|
+
"architecture",
|
|
12
|
+
"flowchart",
|
|
13
|
+
"uml",
|
|
14
|
+
"sequence-diagram",
|
|
15
|
+
"er-diagram",
|
|
16
|
+
"visualization"
|
|
17
|
+
],
|
|
18
|
+
"author": "yizhiyanhua-ai",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/yizhiyanhua-ai/fireworks-tech-graph.git"
|
|
23
|
+
},
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/yizhiyanhua-ai/fireworks-tech-graph/issues"
|
|
26
|
+
},
|
|
27
|
+
"homepage": "https://github.com/yizhiyanhua-ai/fireworks-tech-graph#readme",
|
|
28
|
+
"files": [
|
|
29
|
+
"SKILL.md",
|
|
30
|
+
"README.md",
|
|
31
|
+
"README.zh.md",
|
|
32
|
+
"LICENSE",
|
|
33
|
+
"references/",
|
|
34
|
+
"scripts/",
|
|
35
|
+
"fixtures/",
|
|
36
|
+
"templates/",
|
|
37
|
+
"assets/"
|
|
38
|
+
],
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=14.0.0"
|
|
41
|
+
}
|
|
42
|
+
}
|