@anvpx/motion 0.1.94 → 0.1.95
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/CATALOG.md +19 -11
- package/README.md +30 -18
- package/mcpb/motion-kit-0.1.95.mcpb +0 -0
- package/package.json +9 -9
- package/plugins/motion-kit/.claude-plugin/plugin.json +1 -1
- package/plugins/motion-kit/README.md +3 -3
- package/plugins/motion-kit/commands/mk-draft.md +7 -3
- package/plugins/motion-kit/commands/mk-new.md +4 -4
- package/plugins/motion-kit/commands/mk-render.md +5 -3
- package/plugins/motion-kit/skills/motion-kit/SKILL.md +21 -26
- package/plugins/motion-kit/skills/motion-kit/references/amplify.md +54 -32
- package/plugins/motion-kit/skills/motion-kit/references/authoring-scene.md +60 -9
- package/plugins/motion-kit/skills/motion-kit/references/common-mistakes.md +18 -17
- package/plugins/motion-kit/skills/motion-kit/references/craft-color.md +17 -4
- package/plugins/motion-kit/skills/motion-kit/references/craft-composition.md +1 -1
- package/plugins/motion-kit/skills/motion-kit/references/craft-critique.md +9 -1
- package/plugins/motion-kit/skills/motion-kit/references/craft-motion.md +45 -2
- package/plugins/motion-kit/skills/motion-kit/references/craft-narrative.md +7 -0
- package/plugins/motion-kit/skills/motion-kit/references/craft-sound.md +98 -22
- package/plugins/motion-kit/skills/motion-kit/references/craft-type.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/critique-repair.md +42 -6
- package/plugins/motion-kit/skills/motion-kit/references/design-taste.md +20 -15
- package/plugins/motion-kit/skills/motion-kit/references/direction.md +83 -36
- package/plugins/motion-kit/skills/motion-kit/references/free-storyboard.md +4 -4
- package/plugins/motion-kit/skills/motion-kit/references/index.md +2 -1
- package/plugins/motion-kit/skills/motion-kit/references/intake.md +72 -14
- package/plugins/motion-kit/skills/motion-kit/references/knowledge-routing.md +10 -4
- package/plugins/motion-kit/skills/motion-kit/references/longform.md +2 -2
- package/plugins/motion-kit/skills/motion-kit/references/patterns.md +3 -3
- package/plugins/motion-kit/skills/motion-kit/references/quality-bar.md +76 -12
- package/plugins/motion-kit/skills/motion-kit/references/scene-recipes.md +54 -0
- package/plugins/motion-kit/skills/motion-kit/references/storyboard-json.md +1 -1
- package/plugins/motion-kit/skills/motion-kit/references/themes.md +20 -11
- package/plugins/motion-kit/skills/motion-kit/references/troubleshooting.md +1 -1
- package/plugins/motion-kit/skills/motion-kit/references/visual-forms.md +56 -22
- package/plugins/motion-kit/skills/motion-kit/references/voice.md +55 -31
- package/plugins/motion-kit/skills/motion-kit/references/worked-decisions.md +88 -1
- package/plugins/motion-kit/skills/motion-kit/references/world-design.md +66 -33
- package/shared/themes/successors/README.md +17 -0
- package/shared/themes/successors/bold-dark-v2.json +293 -0
- package/shared/themes/successors/bold-light-v2.json +386 -0
- package/shared/themes/successors/calm-dark-v2.json +293 -0
- package/shared/themes/successors/calm-light-v2.json +386 -0
- package/shared/themes/successors/data-dark-v2.json +264 -0
- package/shared/themes/successors/data-light-v2.json +357 -0
- package/shared/themes/successors/editorial-dark-v2.json +293 -0
- package/shared/themes/successors/editorial-light-v2.json +387 -0
- package/shared/themes/successors/fjord-dark-v2.json +293 -0
- package/shared/themes/successors/fjord-light-v2.json +386 -0
- package/shared/themes/successors/playful-dark-v2.json +293 -0
- package/shared/themes/successors/playful-light-v2.json +386 -0
- package/shared/themes/successors/pop-dark-v2.json +273 -0
- package/shared/themes/successors/pop-light-v2.json +366 -0
- package/shared/themes/successors/tech-dark-v2.json +288 -0
- package/shared/themes/successors/tech-light-v2.json +381 -0
- package/shared/themes/successors/warm-dark-v2.json +293 -0
- package/shared/themes/successors/warm-light-v2.json +386 -0
- package/skills/motion-kit/SKILL.md +21 -26
- package/skills/motion-kit/references/amplify.md +54 -32
- package/skills/motion-kit/references/authoring-scene.md +60 -9
- package/skills/motion-kit/references/common-mistakes.md +18 -17
- package/skills/motion-kit/references/craft-color.md +17 -4
- package/skills/motion-kit/references/craft-composition.md +1 -1
- package/skills/motion-kit/references/craft-critique.md +9 -1
- package/skills/motion-kit/references/craft-motion.md +45 -2
- package/skills/motion-kit/references/craft-narrative.md +7 -0
- package/skills/motion-kit/references/craft-sound.md +98 -22
- package/skills/motion-kit/references/craft-type.md +4 -0
- package/skills/motion-kit/references/critique-repair.md +42 -6
- package/skills/motion-kit/references/design-taste.md +20 -15
- package/skills/motion-kit/references/direction.md +83 -36
- package/skills/motion-kit/references/free-storyboard.md +4 -4
- package/skills/motion-kit/references/index.md +2 -1
- package/skills/motion-kit/references/intake.md +72 -14
- package/skills/motion-kit/references/knowledge-routing.md +10 -4
- package/skills/motion-kit/references/longform.md +2 -2
- package/skills/motion-kit/references/patterns.md +3 -3
- package/skills/motion-kit/references/quality-bar.md +76 -12
- package/skills/motion-kit/references/scene-recipes.md +54 -0
- package/skills/motion-kit/references/storyboard-json.md +1 -1
- package/skills/motion-kit/references/themes.md +20 -11
- package/skills/motion-kit/references/troubleshooting.md +1 -1
- package/skills/motion-kit/references/visual-forms.md +56 -22
- package/skills/motion-kit/references/voice.md +55 -31
- package/skills/motion-kit/references/worked-decisions.md +88 -1
- package/skills/motion-kit/references/world-design.md +66 -33
- package/templates/compare/blueprints/versus.json +40 -35
- package/templates/compare/copy.md +4 -2
- package/templates/compare/previews/versus.png +0 -0
- package/templates/compare/styles/punchy.json +1 -1
- package/templates/datastory/blueprints/data-story.json +32 -8
- package/templates/datastory/blueprints/infographic.json +12 -34
- package/templates/datastory/blueprints/trend.json +31 -7
- package/templates/datastory/copy.md +4 -2
- package/templates/datastory/pacing.json +3 -0
- package/templates/datastory/previews/data-story.png +0 -0
- package/templates/datastory/previews/infographic.png +0 -0
- package/templates/datastory/previews/trend.png +0 -0
- package/templates/datastory/styles/clear.json +1 -1
- package/templates/datastory/styles/pop.json +1 -2
- package/templates/datastory/template.json +2 -2
- package/templates/event/blueprints/promo.json +18 -10
- package/templates/event/blueprints/save-the-date.json +14 -8
- package/templates/event/copy.md +2 -1
- package/templates/event/pacing.json +1 -0
- package/templates/event/previews/promo.png +0 -0
- package/templates/event/previews/save-the-date.png +0 -0
- package/templates/event/template.json +3 -3
- package/templates/explain/blueprints/architecture.json +43 -3
- package/templates/explain/blueprints/concept.json +50 -32
- package/templates/explain/blueprints/howto.json +3 -1
- package/templates/explain/blueprints/overview.json +11 -1
- package/templates/explain/copy.md +3 -1
- package/templates/explain/pacing.json +2 -1
- package/templates/explain/previews/architecture.png +0 -0
- package/templates/explain/previews/concept.png +0 -0
- package/templates/explain/previews/howto.png +0 -0
- package/templates/explain/previews/overview.png +0 -0
- package/templates/explain/styles/crisp.json +1 -1
- package/templates/explain/template.json +1 -0
- package/templates/guide/blueprints/lesson.json +47 -15
- package/templates/guide/blueprints/onboarding.json +27 -2
- package/templates/guide/blueprints/tutorial.json +6 -1
- package/templates/guide/copy.md +3 -0
- package/templates/guide/pacing.json +5 -0
- package/templates/guide/previews/lesson.png +0 -0
- package/templates/guide/previews/onboarding.png +0 -0
- package/templates/guide/previews/tutorial.png +0 -0
- package/templates/guide/styles/friendly.json +1 -1
- package/templates/guide/styles/techdark.json +2 -2
- package/templates/guide/template.json +13 -2
- package/templates/pitch/blueprints/feature.json +1 -1
- package/templates/pitch/blueprints/launch.json +3 -6
- package/templates/pitch/blueprints/pricing.json +24 -1
- package/templates/pitch/copy.md +2 -1
- package/templates/pitch/previews/feature.png +0 -0
- package/templates/pitch/previews/launch.png +0 -0
- package/templates/pitch/previews/pricing.png +0 -0
- package/templates/pitch/styles/teaser.json +1 -1
- package/templates/recap/blueprints/news-recap.json +44 -10
- package/templates/recap/blueprints/timeline-story.json +15 -5
- package/templates/recap/copy.md +2 -1
- package/templates/recap/previews/news-recap.png +0 -0
- package/templates/recap/previews/timeline-story.png +0 -0
- package/templates/report/blueprints/kpi-review.json +13 -2
- package/templates/report/blueprints/status.json +18 -8
- package/templates/report/copy.md +1 -1
- package/templates/report/previews/kpi-review.png +0 -0
- package/templates/report/previews/status.png +0 -0
- package/templates/report/styles/exec.json +1 -1
- package/templates/report/styles/memo.json +1 -1
- package/templates/social/blueprints/announce.json +22 -7
- package/templates/social/blueprints/listicle.json +19 -7
- package/templates/social/blueprints/tip.json +3 -0
- package/templates/social/copy.md +1 -0
- package/templates/social/previews/announce.png +0 -0
- package/templates/social/previews/listicle.png +0 -0
- package/templates/social/previews/tip.png +0 -0
- package/templates/social/styles/hook-first.json +1 -1
- package/templates/social/styles/techcut.json +1 -1
- package/templates/social/template.json +1 -1
- package/templates/update/blueprints/announcement.json +64 -36
- package/templates/update/blueprints/changelog.json +4 -0
- package/templates/update/blueprints/release-notes.json +5 -1
- package/templates/update/blueprints/weekly-update.json +76 -56
- package/templates/update/copy.md +3 -1
- package/templates/update/previews/announcement.png +0 -0
- package/templates/update/previews/changelog.png +0 -0
- package/templates/update/previews/release-notes.png +0 -0
- package/templates/update/previews/weekly-update.png +0 -0
- package/templates/update/styles/techdark.json +1 -1
- package/templates/update/template.json +2 -0
- package/templates/vista/blueprints/spotlight.json +56 -19
- package/templates/vista/blueprints/tour.json +65 -32
- package/templates/vista/copy.md +2 -1
- package/templates/vista/pacing.json +2 -1
- package/templates/vista/previews/spotlight.png +0 -0
- package/templates/vista/previews/tour.png +0 -0
- package/templates/vista/styles/bright.json +1 -1
- package/templates/vista/styles/cinematic.json +1 -1
- package/templates/vista/template.json +5 -5
- package/templates/walkthrough/blueprints/product-tour.json +48 -67
- package/templates/walkthrough/copy.md +4 -1
- package/templates/walkthrough/pacing.json +1 -0
- package/templates/walkthrough/previews/product-tour.png +0 -0
- package/templates/walkthrough/template.json +2 -2
- package/mcpb/motion-kit-0.1.94.mcpb +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "concept",
|
|
3
|
-
"purpose": "Explain one concept in 30-60s: hook, one-line definition,
|
|
3
|
+
"purpose": "Explain one concept in 30-60s: hook, one-line definition, an anchored mechanism diagram, the consequence as a share, and a takeaway.",
|
|
4
4
|
"discover": {
|
|
5
5
|
"useCases": [
|
|
6
6
|
"Explain one idea to people who did not build it.",
|
|
7
|
-
"Introduce a term or technology with one
|
|
7
|
+
"Introduce a term or technology with one diagram and its consequence.",
|
|
8
8
|
"Give newcomers a short lesson with a single takeaway."
|
|
9
9
|
],
|
|
10
10
|
"audience": ["stakeholders", "new-hires", "customers", "students"],
|
|
11
|
-
"goodFor": "A single concept with a hook,
|
|
11
|
+
"goodFor": "A single concept with a hook, a mechanism of 2-6 parts and one measurable consequence.",
|
|
12
12
|
"notFor": "Step-by-step procedures (howto), numeric deep dives (datastory).",
|
|
13
13
|
"tags": ["explain", "concept", "lesson", "onboarding", "education"],
|
|
14
14
|
"tone": ["calm"],
|
|
@@ -17,16 +17,22 @@
|
|
|
17
17
|
},
|
|
18
18
|
"slots": {
|
|
19
19
|
"title": { "type": "text", "max": 60, "required": true },
|
|
20
|
-
"hook": { "type": "text", "max": 90 },
|
|
21
|
-
"definition": { "type": "text", "max":
|
|
22
|
-
"
|
|
23
|
-
"
|
|
20
|
+
"hook": { "type": "text", "max": 90, "optional": true },
|
|
21
|
+
"definition": { "type": "text", "max": 58, "optional": true },
|
|
22
|
+
"graphTitle": { "type": "text", "max": 64, "default": "The request path" },
|
|
23
|
+
"nodes": { "type": "text[]", "min": 2, "max": 6, "itemMax": 16, "required": true },
|
|
24
|
+
"edges": { "type": "text[]", "min": 1, "max": 8, "itemMax": 40, "optional": true },
|
|
25
|
+
"partsTitle": { "type": "text", "max": 46, "default": "Where answers come from" },
|
|
26
|
+
"parts": {
|
|
24
27
|
"type": "object",
|
|
25
|
-
"fields": { "
|
|
28
|
+
"fields": { "label": "text", "value": "number" },
|
|
29
|
+
"list": true,
|
|
30
|
+
"min": 2,
|
|
31
|
+
"max": 4,
|
|
26
32
|
"optional": true
|
|
27
33
|
},
|
|
28
|
-
"
|
|
29
|
-
"
|
|
34
|
+
"highlight": { "type": "number", "min": 0, "max": 3, "int": true, "default": 0 },
|
|
35
|
+
"source": { "type": "text", "max": 60, "default": "Illustrative sample data" },
|
|
30
36
|
"takeaway": { "type": "text", "max": 80, "optional": true },
|
|
31
37
|
"length": { "type": "enum", "values": ["short", "standard", "long"], "default": "standard" },
|
|
32
38
|
"style": { "type": "enum", "values": ["calm", "crisp"], "default": "calm" }
|
|
@@ -34,53 +40,65 @@
|
|
|
34
40
|
"example": {
|
|
35
41
|
"title": "How caching works",
|
|
36
42
|
"hook": "Fast answers by remembering recent work",
|
|
37
|
-
"definition": "A
|
|
38
|
-
"
|
|
39
|
-
"A miss fetches from the origin",
|
|
40
|
-
"The cache keeps a copy",
|
|
41
|
-
"A hit answers instantly"
|
|
42
|
-
],
|
|
43
|
-
"stat": { "value": 90, "unit": "%", "label": "requests served from cache" },
|
|
43
|
+
"definition": "A cache keeps recent answers so repeats skip the slow path",
|
|
44
|
+
"graphTitle": "Only a miss reaches the origin",
|
|
44
45
|
"nodes": ["Client", "Cache", "Origin"],
|
|
46
|
+
"edges": ["Client>Cache|hit or miss", "Cache>Origin|on miss"],
|
|
47
|
+
"partsTitle": "Where answers come from",
|
|
48
|
+
"parts": [
|
|
49
|
+
{ "label": "Served from cache", "value": 90 },
|
|
50
|
+
{ "label": "From origin", "value": 10 }
|
|
51
|
+
],
|
|
52
|
+
"highlight": 0,
|
|
53
|
+
"source": "Illustrative sample data",
|
|
45
54
|
"takeaway": "Remember work to skip work"
|
|
46
55
|
},
|
|
47
56
|
"meta": { "title": { "$slot": "title" }, "lang": "en" },
|
|
48
57
|
"scenes": [
|
|
49
58
|
{
|
|
59
|
+
"duration": 5,
|
|
50
60
|
"id": "intro",
|
|
51
61
|
"type": "title",
|
|
52
62
|
"props": {
|
|
53
63
|
"kicker": "Concept",
|
|
54
|
-
"
|
|
55
|
-
"
|
|
64
|
+
"subtitle": { "$slot": "hook" },
|
|
65
|
+
"title": { "$slot": "title" }
|
|
56
66
|
}
|
|
57
67
|
},
|
|
58
68
|
{
|
|
59
69
|
"when": "definition",
|
|
70
|
+
"duration": 6,
|
|
60
71
|
"id": "definition",
|
|
61
72
|
"type": "callout",
|
|
62
73
|
"props": { "kind": "definition", "label": "In short", "text": { "$slot": "definition" } }
|
|
63
74
|
},
|
|
64
75
|
{
|
|
65
|
-
"
|
|
66
|
-
"type": "bullets",
|
|
67
|
-
"props": { "title": "How it works", "items": { "$slot": "points" } }
|
|
68
|
-
},
|
|
69
|
-
{ "when": "stat", "id": "number", "type": "stat", "props": { "$spread": "stat" } },
|
|
70
|
-
{
|
|
71
|
-
"when": "nodes",
|
|
76
|
+
"duration": 9,
|
|
72
77
|
"id": "diagram",
|
|
73
78
|
"type": "flow",
|
|
74
79
|
"props": {
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
"direction": "lr",
|
|
81
|
+
"title": { "$slot": "graphTitle" },
|
|
82
|
+
"edges": { "$slot": "edges", "as": "flow-edges", "orElse": { "$slot": "nodes", "as": "flow-chain" } },
|
|
83
|
+
"nodes": { "$slot": "nodes", "as": "flow-nodes" }
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"when": "parts",
|
|
88
|
+
"duration": 8,
|
|
89
|
+
"id": "consequence",
|
|
90
|
+
"type": "chart",
|
|
91
|
+
"props": {
|
|
92
|
+
"data": { "$slot": "parts" },
|
|
93
|
+
"highlight": { "$slot": "highlight" },
|
|
94
|
+
"caption": { "$slot": "source" },
|
|
95
|
+
"kind": "donut",
|
|
96
|
+
"title": { "$slot": "partsTitle" },
|
|
97
|
+
"unit": "%"
|
|
81
98
|
}
|
|
82
99
|
},
|
|
83
100
|
{
|
|
101
|
+
"duration": 5,
|
|
84
102
|
"id": "end",
|
|
85
103
|
"type": "outro",
|
|
86
104
|
"props": { "title": { "$slot": "takeaway", "orElse": { "$slot": "title" } } }
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"slots": {
|
|
19
19
|
"title": { "type": "text", "max": 60, "required": true },
|
|
20
|
+
"pathTitle": { "type": "text", "max": 56, "default": "Every change walks these four steps" },
|
|
20
21
|
"steps": {
|
|
21
22
|
"type": "object",
|
|
22
23
|
"fields": { "label": "text", "detail": "text" },
|
|
@@ -37,6 +38,7 @@
|
|
|
37
38
|
{ "label": "Review", "detail": "One teammate reads it" },
|
|
38
39
|
{ "label": "Merge", "detail": "Squash and clean up" }
|
|
39
40
|
],
|
|
41
|
+
"pathTitle": "Every change walks these four steps",
|
|
40
42
|
"outcome": "A small change merged with confidence"
|
|
41
43
|
},
|
|
42
44
|
"meta": { "title": { "$slot": "title" }, "lang": "en" },
|
|
@@ -49,7 +51,7 @@
|
|
|
49
51
|
{
|
|
50
52
|
"id": "procedure",
|
|
51
53
|
"type": "steps",
|
|
52
|
-
"props": { "title": { "$slot": "
|
|
54
|
+
"props": { "title": { "$slot": "pathTitle" }, "layout": "path", "steps": { "$slot": "steps" } }
|
|
53
55
|
},
|
|
54
56
|
{ "id": "end", "type": "outro", "props": { "title": { "$slot": "outcome" } } }
|
|
55
57
|
]
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"max": 4,
|
|
43
43
|
"optional": true
|
|
44
44
|
},
|
|
45
|
+
"graphTitle": { "type": "text", "max": 64, "default": "One gateway in front of three services" },
|
|
45
46
|
"nodes": { "type": "text[]", "min": 3, "max": 6, "itemMax": 24, "optional": true },
|
|
46
47
|
"edges": { "type": "text[]", "max": 8, "itemMax": 60, "optional": true },
|
|
47
48
|
"ask": { "type": "text", "max": 90, "optional": true },
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
},
|
|
51
52
|
"example": {
|
|
52
53
|
"title": "Booking platform overview",
|
|
53
|
-
"goal": "
|
|
54
|
+
"goal": "Book a slot in [under a minute]. Staff see it [instantly].",
|
|
54
55
|
"pillars": [
|
|
55
56
|
{ "icon": "calendar", "label": "Scheduling", "detail": "Live availability" },
|
|
56
57
|
{ "icon": "users", "label": "Accounts", "detail": "One profile each" },
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
{ "value": "99.9%", "label": "uptime" },
|
|
68
69
|
{ "value": "52 s", "label": "median booking time" }
|
|
69
70
|
],
|
|
71
|
+
"graphTitle": "One gateway in front of three services",
|
|
70
72
|
"nodes": ["Web app", "API gateway", "Booking service", "Payments", "Database"],
|
|
71
73
|
"edges": [
|
|
72
74
|
"Web app>API gateway",
|
|
@@ -79,36 +81,43 @@
|
|
|
79
81
|
"meta": { "title": { "$slot": "title" }, "lang": "en" },
|
|
80
82
|
"scenes": [
|
|
81
83
|
{
|
|
84
|
+
"duration": 5,
|
|
82
85
|
"id": "intro",
|
|
83
86
|
"type": "title",
|
|
84
87
|
"props": { "kicker": "Overview", "title": { "$slot": "title" } }
|
|
85
88
|
},
|
|
86
89
|
{
|
|
90
|
+
"duration": 6,
|
|
87
91
|
"id": "goal",
|
|
88
92
|
"type": "callout",
|
|
89
93
|
"props": { "kind": "statement", "label": "Goal", "text": { "$slot": "goal" } }
|
|
90
94
|
},
|
|
91
95
|
{
|
|
96
|
+
"duration": 8,
|
|
92
97
|
"id": "pillars",
|
|
93
98
|
"type": "icon-grid",
|
|
94
99
|
"props": { "title": "What it is made of", "items": { "$slot": "pillars" } }
|
|
95
100
|
},
|
|
96
101
|
{
|
|
102
|
+
"duration": 9,
|
|
97
103
|
"id": "how",
|
|
98
104
|
"type": "steps",
|
|
99
105
|
"props": { "title": "How it works", "layout": "path", "steps": { "$slot": "steps" } }
|
|
100
106
|
},
|
|
101
107
|
{
|
|
102
108
|
"when": "numbers",
|
|
109
|
+
"duration": 7,
|
|
103
110
|
"id": "numbers",
|
|
104
111
|
"type": "kpi-grid",
|
|
105
112
|
"props": { "title": "In numbers", "items": { "$slot": "numbers" } }
|
|
106
113
|
},
|
|
107
114
|
{
|
|
108
115
|
"when": "nodes",
|
|
116
|
+
"duration": 9,
|
|
109
117
|
"id": "diagram",
|
|
110
118
|
"type": "flow",
|
|
111
119
|
"props": {
|
|
120
|
+
"title": { "$slot": "graphTitle" },
|
|
112
121
|
"nodes": { "$slot": "nodes", "as": "flow-nodes" },
|
|
113
122
|
"edges": {
|
|
114
123
|
"$slot": "edges",
|
|
@@ -118,6 +127,7 @@
|
|
|
118
127
|
}
|
|
119
128
|
},
|
|
120
129
|
{
|
|
130
|
+
"duration": 5,
|
|
121
131
|
"id": "end",
|
|
122
132
|
"type": "outro",
|
|
123
133
|
"props": { "title": { "$slot": "ask", "orElse": { "$slot": "title" } } }
|
|
@@ -5,9 +5,11 @@ Tone: calm, direct, plain English. Explain, do not sell.
|
|
|
5
5
|
Do
|
|
6
6
|
- One idea per scene. Lead with the subject, then the verb.
|
|
7
7
|
- Title: a topic or a question, at most 8 words.
|
|
8
|
+
- Definition: one sentence under 60 characters a line; say what the thing is, not what it does for you.
|
|
8
9
|
- Points and steps: parallel phrases of 3-8 words; no full stops.
|
|
9
|
-
- Numbers: round them and say what they mean; one unit per number.
|
|
10
|
+
- Numbers: round them and say what they mean; one unit per number. When the figures are examples, caption the chart "Illustrative sample data" instead of implying a source.
|
|
10
11
|
- Diagram labels: nouns, 1-3 words ("API gateway", "Order service").
|
|
12
|
+
- Diagram claim: one statement the chain proves, above the graph. If the graph shows a fan-out, do not write a sequence.
|
|
11
13
|
- Branching diagrams: add `edges` as `from>to|label` items ("Gateway>Database|query"); without `edges` the nodes chain in order.
|
|
12
14
|
- Close with the outcome or the next step, not a recap.
|
|
13
15
|
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
"title": { "short": 3, "standard": 4, "long": 5 },
|
|
5
5
|
"bullets": { "short": 6, "standard": 8, "long": 11 },
|
|
6
6
|
"stat": { "short": 4, "standard": 5, "long": 6 },
|
|
7
|
-
"flow": { "short": 4, "standard": 5, "long": 11 },
|
|
7
|
+
"flow": { "short": 4, "standard": 5, "long": 11 },
|
|
8
|
+
"chart": { "short": 5, "standard": 7, "long": 9 },
|
|
8
9
|
"callout": { "short": 4, "standard": 6, "long": 8 },
|
|
9
10
|
"steps": { "short": 6, "standard": 11, "long": 14 },
|
|
10
11
|
"icon-grid": { "short": 5, "standard": 7, "long": 10 },
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
"id": "crisp",
|
|
3
3
|
"theme": "tech-dark",
|
|
4
4
|
"frame": { "width": 1920, "height": 1080, "fps": 30 },
|
|
5
|
-
"direction": { "shot": "close", "move": "
|
|
5
|
+
"direction": { "shot": "close", "move": "push-in", "ease": "out", "transition": "cut" }
|
|
6
6
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "lesson",
|
|
3
|
-
"purpose": "Teach one idea: objectives, a
|
|
3
|
+
"purpose": "Teach one idea: objectives, a one-line definition, a labelled diagram, an optional code example, and a checked recap.",
|
|
4
4
|
"discover": {
|
|
5
5
|
"useCases": [
|
|
6
|
-
"Teach a lesson in
|
|
7
|
-
"Make one definition, rule or formula memorable with a short worked example.",
|
|
6
|
+
"Teach a lesson in five beats: objectives, definition, diagram, example and recap.",
|
|
7
|
+
"Make one definition, rule or formula memorable with a diagram and a short worked example.",
|
|
8
8
|
"Close a course unit with a checklist of what learners can now do."
|
|
9
9
|
],
|
|
10
10
|
"audience": ["learners", "students", "developers", "new-hires"],
|
|
11
|
-
"goodFor": "One concept with 2-4 objectives, a one-line definition and a recap.",
|
|
11
|
+
"goodFor": "One concept with 2-4 objectives, a one-line definition, a 3-5 node diagram and a recap.",
|
|
12
12
|
"notFor": "Ordered procedures (tutorial), product tours (onboarding), data stories (datastory).",
|
|
13
13
|
"tags": ["lesson", "education", "concept", "explain", "code", "tutorial"],
|
|
14
14
|
"tone": ["calm", "friendly"],
|
|
@@ -24,11 +24,12 @@
|
|
|
24
24
|
"max": 60,
|
|
25
25
|
"required": true
|
|
26
26
|
},
|
|
27
|
-
"
|
|
28
|
-
"type": "
|
|
27
|
+
"objectiveSteps": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"fields": { "label": "text" },
|
|
30
|
+
"list": true,
|
|
29
31
|
"min": 2,
|
|
30
32
|
"max": 4,
|
|
31
|
-
"itemMax": 45,
|
|
32
33
|
"required": true
|
|
33
34
|
},
|
|
34
35
|
"concept": {
|
|
@@ -36,6 +37,9 @@
|
|
|
36
37
|
"max": 110,
|
|
37
38
|
"required": true
|
|
38
39
|
},
|
|
40
|
+
"graphTitle": { "type": "text", "max": 60, "default": "One job from inputs to output" },
|
|
41
|
+
"nodes": { "type": "text[]", "min": 3, "max": 5, "itemMax": 16, "required": true },
|
|
42
|
+
"edges": { "type": "text[]", "min": 1, "max": 8, "itemMax": 40, "optional": true },
|
|
39
43
|
"label": {
|
|
40
44
|
"type": "text",
|
|
41
45
|
"max": 30,
|
|
@@ -83,9 +87,15 @@
|
|
|
83
87
|
},
|
|
84
88
|
"example": {
|
|
85
89
|
"topic": "What is a function",
|
|
86
|
-
"
|
|
87
|
-
|
|
90
|
+
"objectiveSteps": [
|
|
91
|
+
{ "label": "Name the parts of a function" },
|
|
92
|
+
{ "label": "Call one with inputs" },
|
|
93
|
+
{ "label": "Use the result" }
|
|
94
|
+
],
|
|
95
|
+
"concept": "A [function] takes [inputs], does one job, returns [output].",
|
|
88
96
|
"label": "Key idea",
|
|
97
|
+
"graphTitle": "One job from inputs to output",
|
|
98
|
+
"nodes": ["Inputs", "Function", "Output"],
|
|
89
99
|
"code": ["function add(a, b) {", " return a + b", "}", "add(2, 3) // 5"],
|
|
90
100
|
"lang": "js",
|
|
91
101
|
"file": "example.js",
|
|
@@ -100,6 +110,7 @@
|
|
|
100
110
|
},
|
|
101
111
|
"scenes": [
|
|
102
112
|
{
|
|
113
|
+
"duration": 5,
|
|
103
114
|
"id": "intro",
|
|
104
115
|
"type": "title",
|
|
105
116
|
"props": {
|
|
@@ -110,17 +121,19 @@
|
|
|
110
121
|
}
|
|
111
122
|
},
|
|
112
123
|
{
|
|
124
|
+
"duration": 8,
|
|
113
125
|
"id": "goals",
|
|
114
|
-
"type": "
|
|
126
|
+
"type": "steps",
|
|
115
127
|
"props": {
|
|
128
|
+
"layout": "path",
|
|
116
129
|
"title": "You will learn to",
|
|
117
|
-
"
|
|
118
|
-
"$slot": "
|
|
119
|
-
}
|
|
120
|
-
"marker": "dot"
|
|
130
|
+
"steps": {
|
|
131
|
+
"$slot": "objectiveSteps"
|
|
132
|
+
}
|
|
121
133
|
}
|
|
122
134
|
},
|
|
123
135
|
{
|
|
136
|
+
"duration": 7,
|
|
124
137
|
"id": "idea",
|
|
125
138
|
"type": "callout",
|
|
126
139
|
"props": {
|
|
@@ -128,13 +141,30 @@
|
|
|
128
141
|
"$slot": "concept"
|
|
129
142
|
},
|
|
130
143
|
"kind": "definition",
|
|
131
|
-
"label": {
|
|
144
|
+
"label": {
|
|
132
145
|
"$slot": "label"
|
|
133
146
|
}
|
|
134
147
|
}
|
|
135
148
|
},
|
|
149
|
+
{
|
|
150
|
+
"duration": 7,
|
|
151
|
+
"id": "diagram",
|
|
152
|
+
"type": "flow",
|
|
153
|
+
"props": {
|
|
154
|
+
"direction": "tb",
|
|
155
|
+
"edges": { "$slot": "edges", "as": "flow-edges", "orElse": { "$slot": "nodes", "as": "flow-chain" } },
|
|
156
|
+
"title": {
|
|
157
|
+
"$slot": "graphTitle"
|
|
158
|
+
},
|
|
159
|
+
"nodes": {
|
|
160
|
+
"$slot": "nodes",
|
|
161
|
+
"as": "flow-nodes"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
136
165
|
{
|
|
137
166
|
"when": "code",
|
|
167
|
+
"duration": 7,
|
|
138
168
|
"id": "example",
|
|
139
169
|
"type": "code",
|
|
140
170
|
"props": {
|
|
@@ -150,6 +180,7 @@
|
|
|
150
180
|
}
|
|
151
181
|
},
|
|
152
182
|
{
|
|
183
|
+
"duration": 6,
|
|
153
184
|
"id": "recap",
|
|
154
185
|
"type": "bullets",
|
|
155
186
|
"props": {
|
|
@@ -161,6 +192,7 @@
|
|
|
161
192
|
}
|
|
162
193
|
},
|
|
163
194
|
{
|
|
195
|
+
"duration": 4,
|
|
164
196
|
"id": "end",
|
|
165
197
|
"type": "outro",
|
|
166
198
|
"props": {
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"checklist": { "type": "text[]", "min": 2, "max": 5, "itemMax": 45, "required": true },
|
|
37
37
|
"closing": { "type": "text", "max": 60, "default": "Welcome aboard" },
|
|
38
|
+
"next": { "type": "text", "max": 60, "default": "Write your first note today" },
|
|
38
39
|
"length": { "type": "enum", "values": ["short", "standard", "long"], "default": "standard" },
|
|
39
40
|
"style": { "type": "enum", "values": ["calm", "techdark", "friendly"], "default": "friendly" }
|
|
40
41
|
},
|
|
@@ -51,30 +52,54 @@
|
|
|
51
52
|
{ "label": "Explore", "detail": "Open the dashboard" }
|
|
52
53
|
],
|
|
53
54
|
"checklist": ["Add a profile photo", "Invite a teammate", "Turn on alerts"],
|
|
54
|
-
"closing": "Welcome aboard"
|
|
55
|
+
"closing": "Welcome aboard",
|
|
56
|
+
"next": "Write your first note today"
|
|
55
57
|
},
|
|
56
58
|
"meta": { "title": { "$slot": "product" }, "lang": "en" },
|
|
57
59
|
"scenes": [
|
|
58
60
|
{
|
|
61
|
+
"duration": 5,
|
|
59
62
|
"id": "intro",
|
|
60
63
|
"type": "title",
|
|
61
64
|
"props": { "kicker": "Getting started", "title": { "$slot": "product" } }
|
|
62
65
|
},
|
|
63
66
|
{
|
|
67
|
+
"duration": 9,
|
|
64
68
|
"id": "perks",
|
|
65
69
|
"type": "icon-grid",
|
|
66
70
|
"props": { "title": "What you get", "items": { "$slot": "perks" } }
|
|
67
71
|
},
|
|
68
72
|
{
|
|
73
|
+
"duration": 10,
|
|
69
74
|
"id": "first-steps",
|
|
70
75
|
"type": "steps",
|
|
71
76
|
"props": { "title": "Your first steps", "layout": "path", "steps": { "$slot": "steps" } }
|
|
72
77
|
},
|
|
73
78
|
{
|
|
79
|
+
"id": "steps-progress",
|
|
80
|
+
"layer": "overlay",
|
|
81
|
+
"over": "first-steps",
|
|
82
|
+
"type": "progress",
|
|
83
|
+
"props": { "scope": "timeline" }
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"duration": 8,
|
|
74
87
|
"id": "setup",
|
|
75
88
|
"type": "bullets",
|
|
76
89
|
"props": { "title": "Finish setup", "items": { "$slot": "checklist" }, "marker": "check" }
|
|
77
90
|
},
|
|
78
|
-
{
|
|
91
|
+
{
|
|
92
|
+
"id": "setup-progress",
|
|
93
|
+
"layer": "overlay",
|
|
94
|
+
"over": "setup",
|
|
95
|
+
"type": "progress",
|
|
96
|
+
"props": { "scope": "timeline" }
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"duration": 5,
|
|
100
|
+
"id": "end",
|
|
101
|
+
"type": "outro",
|
|
102
|
+
"props": { "title": { "$slot": "closing" }, "lines": [{ "$slot": "next" }] }
|
|
103
|
+
}
|
|
79
104
|
]
|
|
80
105
|
}
|
|
@@ -62,22 +62,26 @@
|
|
|
62
62
|
"meta": { "title": { "$slot": "title" }, "lang": "en" },
|
|
63
63
|
"scenes": [
|
|
64
64
|
{
|
|
65
|
+
"duration": 5,
|
|
65
66
|
"id": "intro",
|
|
66
67
|
"type": "title",
|
|
67
68
|
"props": { "kicker": "Tutorial", "title": { "$slot": "title" } }
|
|
68
69
|
},
|
|
69
70
|
{
|
|
71
|
+
"duration": 10,
|
|
70
72
|
"id": "steps",
|
|
71
73
|
"type": "steps",
|
|
72
74
|
"props": { "title": "Follow along", "layout": "path", "steps": { "$slot": "steps" } }
|
|
73
75
|
},
|
|
74
76
|
{
|
|
75
77
|
"when": "code",
|
|
78
|
+
"duration": 7,
|
|
76
79
|
"id": "example",
|
|
77
80
|
"type": "code",
|
|
78
81
|
"props": {
|
|
79
82
|
"lines": { "$slot": "code" },
|
|
80
|
-
"lang": { "$slot": "lang" },
|
|
83
|
+
"lang": { "$slot": "lang" },
|
|
84
|
+
"reveal": "type",
|
|
81
85
|
"file": { "$slot": "file" }
|
|
82
86
|
}
|
|
83
87
|
},
|
|
@@ -93,6 +97,7 @@
|
|
|
93
97
|
},
|
|
94
98
|
{
|
|
95
99
|
"when": "recap",
|
|
100
|
+
"duration": 6,
|
|
96
101
|
"id": "recap",
|
|
97
102
|
"type": "bullets",
|
|
98
103
|
"props": { "title": "You can now", "items": { "$slot": "recap" }, "marker": "check" }
|
package/templates/guide/copy.md
CHANGED
|
@@ -6,6 +6,9 @@ Do
|
|
|
6
6
|
- Title: the outcome ("Deploy your first app"), at most 8 words.
|
|
7
7
|
- Steps: label is a verb ("Install", "Run"), 1-2 words; detail one short clause, no full stop.
|
|
8
8
|
- Code: real, minimal lines of 60 characters or fewer; show the command, then the result.
|
|
9
|
+
- Definition or rule: one line of 60 characters or fewer; the callout prints it as a single statement.
|
|
10
|
+
- Lesson: after the definition, draw the mechanism as a 3-5 node diagram using the definition's own terms; if order matters, say it in the node labels because the chain fallback draws unlabelled arrows.
|
|
11
|
+
- Onboarding: what they get, the first steps as one numbered path, the setup checklist, then the next action.
|
|
9
12
|
- Objectives start with a verb; recap repeats them as done ("You can now...").
|
|
10
13
|
- Close with the next thing to learn or try.
|
|
11
14
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"discover": {
|
|
9
9
|
"useCases": [
|
|
10
10
|
"Teach a procedure with numbered steps and a code or screen example.",
|
|
11
|
-
"Teach a lesson
|
|
11
|
+
"Teach a lesson: objectives, a one-line definition, a labelled diagram, an example and a recap.",
|
|
12
12
|
"Walk a new user through the first steps of a tool and a checklist.",
|
|
13
13
|
"Give learners a short recap they can check off after watching."
|
|
14
14
|
],
|
|
@@ -21,7 +21,18 @@
|
|
|
21
21
|
},
|
|
22
22
|
"requires": {
|
|
23
23
|
"storyboard": 1,
|
|
24
|
-
"scenes": [
|
|
24
|
+
"scenes": [
|
|
25
|
+
"title",
|
|
26
|
+
"steps",
|
|
27
|
+
"code",
|
|
28
|
+
"media-frame",
|
|
29
|
+
"bullets",
|
|
30
|
+
"callout",
|
|
31
|
+
"icon-grid",
|
|
32
|
+
"flow",
|
|
33
|
+
"progress",
|
|
34
|
+
"outro"
|
|
35
|
+
]
|
|
25
36
|
},
|
|
26
37
|
"themes": [
|
|
27
38
|
{
|