@anvpx/motion 0.0.0-stage → 0.1.0
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 +301 -0
- package/LICENSE +21 -0
- package/README.md +93 -2
- package/assets.json +37 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.js +46 -0
- package/icons/LICENSE-lucide +43 -0
- package/icons/icons.json +2711 -0
- package/icons/licences.json +1521 -0
- package/luts/LICENSE-CC0.txt +20 -0
- package/luts/cool.cube +520 -0
- package/luts/noir.cube +520 -0
- package/luts/warm.cube +520 -0
- package/music/LICENSE-CC0.txt +32 -0
- package/music/bed-full.wav +0 -0
- package/music/bed.wav +0 -0
- package/package.json +69 -3
- package/packs/INDEX.md +22 -0
- package/packs/painted/checklist.md +30 -0
- package/packs/painted/examples/dry-ink/storyboard.json +88 -0
- package/packs/painted/examples/oil/storyboard.json +89 -0
- package/packs/painted/examples/shape-carry/storyboard.json +112 -0
- package/packs/painted/examples/stacked-beat/storyboard.json +106 -0
- package/packs/painted/examples/staged-read/storyboard.json +105 -0
- package/packs/painted/examples/watercolour/storyboard.json +79 -0
- package/packs/painted/look.md +71 -0
- package/packs/painted/pack.json +46 -0
- package/packs/painted/review.md +12 -0
- package/packs/painted/voice.md +30 -0
- package/plugins/motion-kit/.claude-plugin/plugin.json +5 -0
- package/plugins/motion-kit/README.md +31 -0
- package/plugins/motion-kit/commands/mk-draft.md +13 -0
- package/plugins/motion-kit/commands/mk-new.md +15 -0
- package/plugins/motion-kit/commands/mk-render.md +14 -0
- package/plugins/motion-kit/skills/motion-kit/SKILL.md +77 -0
- package/plugins/motion-kit/skills/motion-kit/references/authoring-scene.md +37 -0
- package/plugins/motion-kit/skills/motion-kit/references/authoring-style.md +17 -0
- package/plugins/motion-kit/skills/motion-kit/references/common-mistakes.md +73 -0
- package/plugins/motion-kit/skills/motion-kit/references/content-pack.md +81 -0
- package/plugins/motion-kit/skills/motion-kit/references/faux-ui.md +39 -0
- package/plugins/motion-kit/skills/motion-kit/references/free-storyboard.md +15 -0
- package/plugins/motion-kit/skills/motion-kit/references/intake.md +18 -0
- package/plugins/motion-kit/skills/motion-kit/references/knowledge-routing.md +32 -0
- package/plugins/motion-kit/skills/motion-kit/references/outline.md +24 -0
- package/plugins/motion-kit/skills/motion-kit/references/patching.md +50 -0
- package/plugins/motion-kit/skills/motion-kit/references/patterns.md +55 -0
- package/plugins/motion-kit/skills/motion-kit/references/quality-bar.md +61 -0
- package/plugins/motion-kit/skills/motion-kit/references/review.md +8 -0
- package/plugins/motion-kit/skills/motion-kit/references/scene-recipes.md +300 -0
- package/plugins/motion-kit/skills/motion-kit/references/setup.md +16 -0
- package/plugins/motion-kit/skills/motion-kit/references/slop.md +38 -0
- package/plugins/motion-kit/skills/motion-kit/references/storyboard-json.md +121 -0
- package/plugins/motion-kit/skills/motion-kit/references/troubleshooting.md +55 -0
- package/plugins/motion-kit/skills/motion-kit/references/voice.md +40 -0
- package/plugins/motion-kit/skills/motion-kit/references/worked-example.md +170 -0
- package/shared/themes/README.md +5 -0
- package/shared/themes/bold-dark.json +362 -0
- package/shared/themes/bold-light.json +362 -0
- package/shared/themes/calm-dark.json +362 -0
- package/shared/themes/calm-light.json +362 -0
- package/shared/themes/data-dark.json +360 -0
- package/shared/themes/data-light.json +360 -0
- package/shared/themes/editorial-dark.json +353 -0
- package/shared/themes/editorial-light.json +353 -0
- package/shared/themes/fjord-dark.json +124 -0
- package/shared/themes/fjord-light.json +124 -0
- package/shared/themes/playful-dark.json +362 -0
- package/shared/themes/playful-light.json +362 -0
- package/shared/themes/pop-dark.json +352 -0
- package/shared/themes/pop-light.json +352 -0
- package/shared/themes/tech-dark.json +360 -0
- package/shared/themes/tech-light.json +360 -0
- package/shared/themes/warm-dark.json +368 -0
- package/shared/themes/warm-light.json +368 -0
- package/skills/motion-kit/SKILL.md +77 -0
- package/skills/motion-kit/references/authoring-scene.md +37 -0
- package/skills/motion-kit/references/authoring-style.md +17 -0
- package/skills/motion-kit/references/common-mistakes.md +73 -0
- package/skills/motion-kit/references/content-pack.md +81 -0
- package/skills/motion-kit/references/faux-ui.md +39 -0
- package/skills/motion-kit/references/free-storyboard.md +15 -0
- package/skills/motion-kit/references/intake.md +18 -0
- package/skills/motion-kit/references/knowledge-routing.md +32 -0
- package/skills/motion-kit/references/outline.md +24 -0
- package/skills/motion-kit/references/patching.md +50 -0
- package/skills/motion-kit/references/patterns.md +55 -0
- package/skills/motion-kit/references/quality-bar.md +61 -0
- package/skills/motion-kit/references/review.md +8 -0
- package/skills/motion-kit/references/scene-recipes.md +300 -0
- package/skills/motion-kit/references/setup.md +16 -0
- package/skills/motion-kit/references/slop.md +38 -0
- package/skills/motion-kit/references/storyboard-json.md +121 -0
- package/skills/motion-kit/references/troubleshooting.md +55 -0
- package/skills/motion-kit/references/voice.md +40 -0
- package/skills/motion-kit/references/worked-example.md +170 -0
- package/stopwords.json +65 -0
- package/templates/compare/blueprints/versus.json +79 -0
- package/templates/compare/copy.md +18 -0
- package/templates/compare/pacing.json +15 -0
- package/templates/compare/previews/versus.png +0 -0
- package/templates/compare/styles/editorial.json +6 -0
- package/templates/compare/styles/punchy.json +6 -0
- package/templates/compare/styles/tidy.json +6 -0
- package/templates/compare/template.json +52 -0
- package/templates/datastory/blueprints/data-story.json +95 -0
- package/templates/datastory/blueprints/infographic.json +106 -0
- package/templates/datastory/blueprints/trend.json +93 -0
- package/templates/datastory/copy.md +16 -0
- package/templates/datastory/pacing.json +17 -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 +6 -0
- package/templates/datastory/styles/editorial.json +6 -0
- package/templates/datastory/styles/pop.json +7 -0
- package/templates/datastory/template.json +57 -0
- package/templates/event/blueprints/promo.json +71 -0
- package/templates/event/blueprints/save-the-date.json +61 -0
- package/templates/event/copy.md +16 -0
- package/templates/event/pacing.json +15 -0
- package/templates/event/previews/promo.png +0 -0
- package/templates/event/previews/save-the-date.png +0 -0
- package/templates/event/styles/bright.json +6 -0
- package/templates/event/styles/pop.json +6 -0
- package/templates/event/template.json +37 -0
- package/templates/explain/blueprints/architecture.json +76 -0
- package/templates/explain/blueprints/concept.json +89 -0
- package/templates/explain/blueprints/howto.json +56 -0
- package/templates/explain/blueprints/overview.json +126 -0
- package/templates/explain/copy.md +19 -0
- package/templates/explain/pacing.json +19 -0
- 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/calm.json +6 -0
- package/templates/explain/styles/crisp.json +6 -0
- package/templates/explain/template.json +64 -0
- package/templates/guide/blueprints/lesson.json +173 -0
- package/templates/guide/blueprints/onboarding.json +80 -0
- package/templates/guide/blueprints/tutorial.json +102 -0
- package/templates/guide/copy.md +17 -0
- package/templates/guide/pacing.json +59 -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/calm.json +15 -0
- package/templates/guide/styles/friendly.json +15 -0
- package/templates/guide/styles/techdark.json +15 -0
- package/templates/guide/template.json +95 -0
- package/templates/pitch/blueprints/feature.json +134 -0
- package/templates/pitch/blueprints/launch.json +173 -0
- package/templates/pitch/blueprints/pricing.json +141 -0
- package/templates/pitch/copy.md +18 -0
- package/templates/pitch/pacing.json +59 -0
- 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/polished.json +6 -0
- package/templates/pitch/styles/punchy.json +6 -0
- package/templates/pitch/styles/teaser.json +12 -0
- package/templates/pitch/template.json +45 -0
- package/templates/recap/blueprints/news-recap.json +62 -0
- package/templates/recap/blueprints/timeline-story.json +94 -0
- package/templates/recap/copy.md +16 -0
- package/templates/recap/pacing.json +16 -0
- package/templates/recap/previews/news-recap.png +0 -0
- package/templates/recap/previews/timeline-story.png +0 -0
- package/templates/recap/styles/editorial.json +6 -0
- package/templates/recap/styles/editorialdark.json +6 -0
- package/templates/recap/template.json +50 -0
- package/templates/report/blueprints/kpi-review.json +116 -0
- package/templates/report/blueprints/status.json +78 -0
- package/templates/report/copy.md +17 -0
- package/templates/report/pacing.json +16 -0
- package/templates/report/previews/kpi-review.png +0 -0
- package/templates/report/previews/status.png +0 -0
- package/templates/report/styles/exec.json +6 -0
- package/templates/report/styles/memo.json +6 -0
- package/templates/report/styles/walkthrough.json +6 -0
- package/templates/report/template.json +56 -0
- package/templates/social/blueprints/announce.json +109 -0
- package/templates/social/blueprints/listicle.json +117 -0
- package/templates/social/blueprints/tip.json +114 -0
- package/templates/social/copy.md +18 -0
- package/templates/social/pacing.json +49 -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/captioned.json +18 -0
- package/templates/social/styles/hook-first.json +15 -0
- package/templates/social/styles/techcut.json +15 -0
- package/templates/social/template.json +94 -0
- package/templates/update/blueprints/announcement.json +57 -0
- package/templates/update/blueprints/changelog.json +157 -0
- package/templates/update/blueprints/release-notes.json +151 -0
- package/templates/update/blueprints/weekly-update.json +88 -0
- package/templates/update/copy.md +17 -0
- package/templates/update/pacing.json +64 -0
- 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/punchy.json +15 -0
- package/templates/update/styles/techdark.json +6 -0
- package/templates/update/styles/tidy.json +6 -0
- package/templates/update/template.json +67 -0
- package/templates/vista/blueprints/spotlight.json +68 -0
- package/templates/vista/blueprints/tour.json +84 -0
- package/templates/vista/copy.md +18 -0
- package/templates/vista/pacing.json +14 -0
- package/templates/vista/previews/spotlight.png +0 -0
- package/templates/vista/previews/tour.png +0 -0
- package/templates/vista/styles/bright.json +6 -0
- package/templates/vista/styles/cinematic.json +6 -0
- package/templates/vista/template.json +42 -0
- package/templates/walkthrough/blueprints/product-tour.json +107 -0
- package/templates/walkthrough/copy.md +16 -0
- package/templates/walkthrough/pacing.json +16 -0
- package/templates/walkthrough/previews/product-tour.png +0 -0
- package/templates/walkthrough/styles/calm.json +6 -0
- package/templates/walkthrough/styles/deep.json +6 -0
- package/templates/walkthrough/template.json +37 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "lesson",
|
|
3
|
+
"purpose": "Teach one idea: objectives, a bold definition or rule, an optional code example, and a checked recap.",
|
|
4
|
+
"discover": {
|
|
5
|
+
"useCases": [
|
|
6
|
+
"Teach a lesson in four beats: objectives, concept, example and recap.",
|
|
7
|
+
"Make one definition, rule or formula memorable with a short worked example.",
|
|
8
|
+
"Close a course unit with a checklist of what learners can now do."
|
|
9
|
+
],
|
|
10
|
+
"audience": ["learners", "students", "developers", "new-hires"],
|
|
11
|
+
"goodFor": "One concept with 2-4 objectives, a one-line definition and a recap.",
|
|
12
|
+
"notFor": "Ordered procedures (tutorial), product tours (onboarding), data stories (datastory).",
|
|
13
|
+
"tags": ["lesson", "education", "concept", "explain", "code", "tutorial"],
|
|
14
|
+
"tone": ["calm", "friendly"],
|
|
15
|
+
"aspects": ["16:9"],
|
|
16
|
+
"lengths": {
|
|
17
|
+
"min": 35,
|
|
18
|
+
"max": 90
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"slots": {
|
|
22
|
+
"topic": {
|
|
23
|
+
"type": "text",
|
|
24
|
+
"max": 60,
|
|
25
|
+
"required": true
|
|
26
|
+
},
|
|
27
|
+
"objectives": {
|
|
28
|
+
"type": "text[]",
|
|
29
|
+
"min": 2,
|
|
30
|
+
"max": 4,
|
|
31
|
+
"itemMax": 45,
|
|
32
|
+
"required": true
|
|
33
|
+
},
|
|
34
|
+
"concept": {
|
|
35
|
+
"type": "text",
|
|
36
|
+
"max": 110,
|
|
37
|
+
"required": true
|
|
38
|
+
},
|
|
39
|
+
"label": {
|
|
40
|
+
"type": "text",
|
|
41
|
+
"max": 30,
|
|
42
|
+
"default": "Key idea"
|
|
43
|
+
},
|
|
44
|
+
"code": {
|
|
45
|
+
"type": "text[]",
|
|
46
|
+
"min": 1,
|
|
47
|
+
"max": 14,
|
|
48
|
+
"itemMax": 60,
|
|
49
|
+
"optional": true
|
|
50
|
+
},
|
|
51
|
+
"lang": {
|
|
52
|
+
"type": "enum",
|
|
53
|
+
"values": ["js", "ts", "json", "py", "sh", "plain"],
|
|
54
|
+
"default": "js"
|
|
55
|
+
},
|
|
56
|
+
"file": {
|
|
57
|
+
"type": "text",
|
|
58
|
+
"max": 40,
|
|
59
|
+
"optional": true
|
|
60
|
+
},
|
|
61
|
+
"recap": {
|
|
62
|
+
"type": "text[]",
|
|
63
|
+
"min": 2,
|
|
64
|
+
"max": 4,
|
|
65
|
+
"itemMax": 45,
|
|
66
|
+
"required": true
|
|
67
|
+
},
|
|
68
|
+
"next": {
|
|
69
|
+
"type": "text",
|
|
70
|
+
"max": 60,
|
|
71
|
+
"default": "Next lesson: put it to work"
|
|
72
|
+
},
|
|
73
|
+
"length": {
|
|
74
|
+
"type": "enum",
|
|
75
|
+
"values": ["short", "standard", "long"],
|
|
76
|
+
"default": "standard"
|
|
77
|
+
},
|
|
78
|
+
"style": {
|
|
79
|
+
"type": "enum",
|
|
80
|
+
"values": ["calm", "techdark", "friendly"],
|
|
81
|
+
"default": "calm"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"example": {
|
|
85
|
+
"topic": "What is a function",
|
|
86
|
+
"objectives": ["Name the parts of a function", "Call one with inputs", "Use the result"],
|
|
87
|
+
"concept": "A [function] takes [inputs], does one job and returns an [output].",
|
|
88
|
+
"label": "Key idea",
|
|
89
|
+
"code": ["function add(a, b) {", " return a + b", "}", "add(2, 3) // 5"],
|
|
90
|
+
"lang": "js",
|
|
91
|
+
"file": "example.js",
|
|
92
|
+
"recap": ["A function has a name", "Inputs go in brackets", "It returns one result"],
|
|
93
|
+
"next": "Next lesson: put it to work"
|
|
94
|
+
},
|
|
95
|
+
"meta": {
|
|
96
|
+
"title": {
|
|
97
|
+
"$slot": "topic"
|
|
98
|
+
},
|
|
99
|
+
"lang": "en"
|
|
100
|
+
},
|
|
101
|
+
"scenes": [
|
|
102
|
+
{
|
|
103
|
+
"id": "intro",
|
|
104
|
+
"type": "title",
|
|
105
|
+
"props": {
|
|
106
|
+
"kicker": "Lesson",
|
|
107
|
+
"title": {
|
|
108
|
+
"$slot": "topic"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "goals",
|
|
114
|
+
"type": "bullets",
|
|
115
|
+
"props": {
|
|
116
|
+
"title": "You will learn to",
|
|
117
|
+
"items": {
|
|
118
|
+
"$slot": "objectives"
|
|
119
|
+
},
|
|
120
|
+
"marker": "dot"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"id": "idea",
|
|
125
|
+
"type": "callout",
|
|
126
|
+
"props": {
|
|
127
|
+
"text": {
|
|
128
|
+
"$slot": "concept"
|
|
129
|
+
},
|
|
130
|
+
"kind": "definition",
|
|
131
|
+
"label": {
|
|
132
|
+
"$slot": "label"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"when": "code",
|
|
138
|
+
"id": "example",
|
|
139
|
+
"type": "code",
|
|
140
|
+
"props": {
|
|
141
|
+
"lines": {
|
|
142
|
+
"$slot": "code"
|
|
143
|
+
},
|
|
144
|
+
"lang": {
|
|
145
|
+
"$slot": "lang"
|
|
146
|
+
},
|
|
147
|
+
"file": {
|
|
148
|
+
"$slot": "file"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"id": "recap",
|
|
154
|
+
"type": "bullets",
|
|
155
|
+
"props": {
|
|
156
|
+
"title": "Recap",
|
|
157
|
+
"items": {
|
|
158
|
+
"$slot": "recap"
|
|
159
|
+
},
|
|
160
|
+
"marker": "check"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "end",
|
|
165
|
+
"type": "outro",
|
|
166
|
+
"props": {
|
|
167
|
+
"title": {
|
|
168
|
+
"$slot": "next"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "onboarding",
|
|
3
|
+
"purpose": "Welcome a new user: what they get, 3-5 first steps in order, and a checklist to finish setup.",
|
|
4
|
+
"discover": {
|
|
5
|
+
"useCases": [
|
|
6
|
+
"Walk a new user through the first steps of a tool and a setup checklist.",
|
|
7
|
+
"Welcome new teammates with what they get, what to do first and what to finish.",
|
|
8
|
+
"Show three to six benefits as icon cards before a short ordered path."
|
|
9
|
+
],
|
|
10
|
+
"audience": ["new-hires", "customers", "learners"],
|
|
11
|
+
"goodFor": "A first-day tour: 3-6 perks, 3-5 first steps and a short checklist.",
|
|
12
|
+
"notFor": "Deep tutorials (tutorial), concept teaching (lesson), persuasion (pitch).",
|
|
13
|
+
"tags": ["onboarding", "tutorial", "steps", "product", "howto", "education"],
|
|
14
|
+
"tone": ["friendly", "calm"],
|
|
15
|
+
"aspects": ["16:9"],
|
|
16
|
+
"lengths": { "min": 35, "max": 80 }
|
|
17
|
+
},
|
|
18
|
+
"slots": {
|
|
19
|
+
"product": { "type": "text", "max": 40, "required": true },
|
|
20
|
+
"perks": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"fields": { "icon": "text", "label": "text", "detail": "text" },
|
|
23
|
+
"list": true,
|
|
24
|
+
"min": 3,
|
|
25
|
+
"max": 6,
|
|
26
|
+
"required": true
|
|
27
|
+
},
|
|
28
|
+
"steps": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"fields": { "label": "text", "detail": "text" },
|
|
31
|
+
"list": true,
|
|
32
|
+
"min": 3,
|
|
33
|
+
"max": 5,
|
|
34
|
+
"required": true
|
|
35
|
+
},
|
|
36
|
+
"checklist": { "type": "text[]", "min": 2, "max": 5, "itemMax": 45, "required": true },
|
|
37
|
+
"closing": { "type": "text", "max": 60, "default": "Welcome aboard" },
|
|
38
|
+
"length": { "type": "enum", "values": ["short", "standard", "long"], "default": "standard" },
|
|
39
|
+
"style": { "type": "enum", "values": ["calm", "techdark", "friendly"], "default": "friendly" }
|
|
40
|
+
},
|
|
41
|
+
"example": {
|
|
42
|
+
"product": "Welcome to Briar Notes",
|
|
43
|
+
"perks": [
|
|
44
|
+
{ "icon": "users", "label": "Shared spaces", "detail": "Work together" },
|
|
45
|
+
{ "icon": "bell", "label": "Smart alerts", "detail": "Never miss news" },
|
|
46
|
+
{ "icon": "sparkles", "label": "Quick start", "detail": "Ready in minutes" }
|
|
47
|
+
],
|
|
48
|
+
"steps": [
|
|
49
|
+
{ "label": "Sign in", "detail": "Use your work email" },
|
|
50
|
+
{ "label": "Join", "detail": "Pick your team" },
|
|
51
|
+
{ "label": "Explore", "detail": "Open the dashboard" }
|
|
52
|
+
],
|
|
53
|
+
"checklist": ["Add a profile photo", "Invite a teammate", "Turn on alerts"],
|
|
54
|
+
"closing": "Welcome aboard"
|
|
55
|
+
},
|
|
56
|
+
"meta": { "title": { "$slot": "product" }, "lang": "en" },
|
|
57
|
+
"scenes": [
|
|
58
|
+
{
|
|
59
|
+
"id": "intro",
|
|
60
|
+
"type": "title",
|
|
61
|
+
"props": { "kicker": "Getting started", "title": { "$slot": "product" } }
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "perks",
|
|
65
|
+
"type": "icon-grid",
|
|
66
|
+
"props": { "title": "What you get", "items": { "$slot": "perks" } }
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "first-steps",
|
|
70
|
+
"type": "steps",
|
|
71
|
+
"props": { "title": "Your first steps", "layout": "path", "steps": { "$slot": "steps" } }
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "setup",
|
|
75
|
+
"type": "bullets",
|
|
76
|
+
"props": { "title": "Finish setup", "items": { "$slot": "checklist" }, "marker": "check" }
|
|
77
|
+
},
|
|
78
|
+
{ "id": "end", "type": "outro", "props": { "title": { "$slot": "closing" } } }
|
|
79
|
+
]
|
|
80
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "tutorial",
|
|
3
|
+
"purpose": "Teach a procedure: title, 3-6 numbered steps, an optional code or screen example, and a checked recap.",
|
|
4
|
+
"discover": {
|
|
5
|
+
"useCases": [
|
|
6
|
+
"Teach a procedure with numbered steps and a code or command example.",
|
|
7
|
+
"Show a screen or screenshot with the step that matters, then recap it.",
|
|
8
|
+
"Give learners a short checklist of what they can now do."
|
|
9
|
+
],
|
|
10
|
+
"audience": ["learners", "developers", "new-hires", "customers"],
|
|
11
|
+
"goodFor": "A procedure with 3-6 ordered steps and one example to show.",
|
|
12
|
+
"notFor": "Concept lessons (lesson), first-day product tours (onboarding), persuasion (pitch).",
|
|
13
|
+
"tags": ["tutorial", "howto", "steps", "code", "education", "dev"],
|
|
14
|
+
"tone": ["calm", "friendly"],
|
|
15
|
+
"aspects": ["16:9"],
|
|
16
|
+
"lengths": { "min": 30, "max": 90 }
|
|
17
|
+
},
|
|
18
|
+
"slots": {
|
|
19
|
+
"title": { "type": "text", "max": 60, "required": true },
|
|
20
|
+
"steps": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"fields": { "label": "text", "detail": "text" },
|
|
23
|
+
"list": true,
|
|
24
|
+
"min": 3,
|
|
25
|
+
"max": 6,
|
|
26
|
+
"required": true
|
|
27
|
+
},
|
|
28
|
+
"code": { "type": "text[]", "min": 1, "max": 14, "itemMax": 60, "optional": true },
|
|
29
|
+
"lang": {
|
|
30
|
+
"type": "enum",
|
|
31
|
+
"values": ["js", "ts", "json", "py", "sh", "plain"],
|
|
32
|
+
"default": "sh"
|
|
33
|
+
},
|
|
34
|
+
"file": { "type": "text", "max": 40, "optional": true },
|
|
35
|
+
"screenshot": { "type": "text", "max": 120, "optional": true },
|
|
36
|
+
"caption": { "type": "text", "max": 100, "optional": true },
|
|
37
|
+
"recap": { "type": "text[]", "min": 2, "max": 4, "itemMax": 45, "optional": true },
|
|
38
|
+
"next": { "type": "text", "max": 60, "default": "Next: try it on your own" },
|
|
39
|
+
"length": { "type": "enum", "values": ["short", "standard", "long"], "default": "standard" },
|
|
40
|
+
"style": { "type": "enum", "values": ["calm", "techdark", "friendly"], "default": "calm" }
|
|
41
|
+
},
|
|
42
|
+
"example": {
|
|
43
|
+
"title": "Start a new project",
|
|
44
|
+
"steps": [
|
|
45
|
+
{ "label": "Install", "detail": "Get the tool" },
|
|
46
|
+
{ "label": "Create", "detail": "Make a project" },
|
|
47
|
+
{ "label": "Run", "detail": "Start the server" },
|
|
48
|
+
{ "label": "Open", "detail": "Visit the page" }
|
|
49
|
+
],
|
|
50
|
+
"code": [
|
|
51
|
+
"$ briar install",
|
|
52
|
+
"$ briar create my-app",
|
|
53
|
+
"$ cd my-app",
|
|
54
|
+
"$ briar run",
|
|
55
|
+
"Ready on port 3000"
|
|
56
|
+
],
|
|
57
|
+
"lang": "sh",
|
|
58
|
+
"file": "terminal",
|
|
59
|
+
"recap": ["Install the tool", "Create a project", "Run it locally"],
|
|
60
|
+
"next": "Next: try it on your own"
|
|
61
|
+
},
|
|
62
|
+
"meta": { "title": { "$slot": "title" }, "lang": "en" },
|
|
63
|
+
"scenes": [
|
|
64
|
+
{
|
|
65
|
+
"id": "intro",
|
|
66
|
+
"type": "title",
|
|
67
|
+
"props": { "kicker": "Tutorial", "title": { "$slot": "title" } }
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "steps",
|
|
71
|
+
"type": "steps",
|
|
72
|
+
"props": { "title": "Follow along", "layout": "path", "steps": { "$slot": "steps" } }
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"when": "code",
|
|
76
|
+
"id": "example",
|
|
77
|
+
"type": "code",
|
|
78
|
+
"props": {
|
|
79
|
+
"lines": { "$slot": "code" },
|
|
80
|
+
"lang": { "$slot": "lang" },
|
|
81
|
+
"file": { "$slot": "file" }
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"when": "screenshot",
|
|
86
|
+
"id": "screen",
|
|
87
|
+
"type": "media-frame",
|
|
88
|
+
"props": {
|
|
89
|
+
"image": { "$slot": "screenshot" },
|
|
90
|
+
"device": "browser",
|
|
91
|
+
"caption": { "$slot": "caption" }
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"when": "recap",
|
|
96
|
+
"id": "recap",
|
|
97
|
+
"type": "bullets",
|
|
98
|
+
"props": { "title": "You can now", "items": { "$slot": "recap" }, "marker": "check" }
|
|
99
|
+
},
|
|
100
|
+
{ "id": "end", "type": "outro", "props": { "title": { "$slot": "next" } } }
|
|
101
|
+
]
|
|
102
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Guide copy guide
|
|
2
|
+
|
|
3
|
+
Tone: patient, encouraging, concrete. Teach one thing at a time.
|
|
4
|
+
|
|
5
|
+
Do
|
|
6
|
+
- Title: the outcome ("Deploy your first app"), at most 8 words.
|
|
7
|
+
- Steps: label is a verb ("Install", "Run"), 1-2 words; detail one short clause, no full stop.
|
|
8
|
+
- Code: real, minimal lines of 60 characters or fewer; show the command, then the result.
|
|
9
|
+
- Objectives start with a verb; recap repeats them as done ("You can now...").
|
|
10
|
+
- Close with the next thing to learn or try.
|
|
11
|
+
|
|
12
|
+
Don't
|
|
13
|
+
- No more than 6 steps, 14 code lines or 25 words per scene.
|
|
14
|
+
- No jargon without a gloss; spell out acronyms once.
|
|
15
|
+
- No exclamation marks, emoji, or "simply", "just", "easy".
|
|
16
|
+
|
|
17
|
+
Vocabulary: "step" not "stage", "run" not "execute", "you" not "the user".
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"wordsPerSecond": 2.5,
|
|
3
|
+
"sceneSeconds": {
|
|
4
|
+
"title": {
|
|
5
|
+
"short": 3,
|
|
6
|
+
"standard": 4,
|
|
7
|
+
"long": 5
|
|
8
|
+
},
|
|
9
|
+
"icon-grid": {
|
|
10
|
+
"short": 6,
|
|
11
|
+
"standard": 9,
|
|
12
|
+
"long": 12
|
|
13
|
+
},
|
|
14
|
+
"media-frame": {
|
|
15
|
+
"short": 4,
|
|
16
|
+
"standard": 6,
|
|
17
|
+
"long": 8
|
|
18
|
+
},
|
|
19
|
+
"code": {
|
|
20
|
+
"short": 4,
|
|
21
|
+
"standard": 5,
|
|
22
|
+
"long": 8
|
|
23
|
+
},
|
|
24
|
+
"bullets": {
|
|
25
|
+
"short": 5,
|
|
26
|
+
"standard": 7,
|
|
27
|
+
"long": 10
|
|
28
|
+
},
|
|
29
|
+
"callout": {
|
|
30
|
+
"short": 4,
|
|
31
|
+
"standard": 6,
|
|
32
|
+
"long": 8
|
|
33
|
+
},
|
|
34
|
+
"outro": {
|
|
35
|
+
"short": 3,
|
|
36
|
+
"standard": 4,
|
|
37
|
+
"long": 5
|
|
38
|
+
},
|
|
39
|
+
"steps": {
|
|
40
|
+
"short": 6,
|
|
41
|
+
"standard": 9,
|
|
42
|
+
"long": 13
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"lengths": {
|
|
46
|
+
"short": {
|
|
47
|
+
"scenes": [3, 6],
|
|
48
|
+
"totalSec": [10, 50]
|
|
49
|
+
},
|
|
50
|
+
"standard": {
|
|
51
|
+
"scenes": [4, 7],
|
|
52
|
+
"totalSec": [18, 80]
|
|
53
|
+
},
|
|
54
|
+
"long": {
|
|
55
|
+
"scenes": [5, 8],
|
|
56
|
+
"totalSec": [30, 120]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"templateVersion": 1,
|
|
3
|
+
"id": "guide",
|
|
4
|
+
"version": "1.0.1",
|
|
5
|
+
"title": "Guide",
|
|
6
|
+
"summary": "Tutorials, lessons and onboarding. 16:9, steps and code, calm to friendly.",
|
|
7
|
+
"domains": ["tutorial", "tech", "education"],
|
|
8
|
+
"discover": {
|
|
9
|
+
"useCases": [
|
|
10
|
+
"Teach a procedure with numbered steps and a code or screen example.",
|
|
11
|
+
"Teach a lesson in four beats: objectives, concept, example, recap.",
|
|
12
|
+
"Walk a new user through the first steps of a tool and a checklist.",
|
|
13
|
+
"Give learners a short recap they can check off after watching."
|
|
14
|
+
],
|
|
15
|
+
"audience": ["learners", "new-hires", "customers", "developers"],
|
|
16
|
+
"goodFor": "A skill or tool taught in 3-6 ordered steps with a clear outcome.",
|
|
17
|
+
"notFor": "Persuasion (pitch), status reporting (update), data analysis (datastory).",
|
|
18
|
+
"tags": ["tutorial", "howto", "lesson", "onboarding", "steps", "education", "code", "explain"],
|
|
19
|
+
"tone": ["calm", "friendly"],
|
|
20
|
+
"aspects": ["16:9"]
|
|
21
|
+
},
|
|
22
|
+
"requires": {
|
|
23
|
+
"storyboard": 1,
|
|
24
|
+
"scenes": ["title", "steps", "code", "media-frame", "bullets", "callout", "icon-grid", "outro"]
|
|
25
|
+
},
|
|
26
|
+
"themes": [
|
|
27
|
+
{
|
|
28
|
+
"id": "calm-light",
|
|
29
|
+
"file": "@shared/calm-light.json",
|
|
30
|
+
"mode": "light",
|
|
31
|
+
"pair": "calm-dark"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "calm-dark",
|
|
35
|
+
"file": "@shared/calm-dark.json",
|
|
36
|
+
"mode": "dark",
|
|
37
|
+
"pair": "calm-light"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"id": "tech-light",
|
|
41
|
+
"file": "@shared/tech-light.json",
|
|
42
|
+
"mode": "light",
|
|
43
|
+
"pair": "tech-dark"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "tech-dark",
|
|
47
|
+
"file": "@shared/tech-dark.json",
|
|
48
|
+
"mode": "dark",
|
|
49
|
+
"pair": "tech-light"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "playful-light",
|
|
53
|
+
"file": "@shared/playful-light.json",
|
|
54
|
+
"mode": "light",
|
|
55
|
+
"pair": "playful-dark"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "playful-dark",
|
|
59
|
+
"file": "@shared/playful-dark.json",
|
|
60
|
+
"mode": "dark",
|
|
61
|
+
"pair": "playful-light"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"styles": [
|
|
65
|
+
{
|
|
66
|
+
"id": "calm",
|
|
67
|
+
"file": "styles/calm.json"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "techdark",
|
|
71
|
+
"file": "styles/techdark.json"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "friendly",
|
|
75
|
+
"file": "styles/friendly.json"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"blueprints": [
|
|
79
|
+
{
|
|
80
|
+
"id": "tutorial",
|
|
81
|
+
"file": "blueprints/tutorial.json"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "lesson",
|
|
85
|
+
"file": "blueprints/lesson.json"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "onboarding",
|
|
89
|
+
"file": "blueprints/onboarding.json"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"pacing": "pacing.json",
|
|
93
|
+
"copy": "copy.md",
|
|
94
|
+
"license": "Apache-2.0"
|
|
95
|
+
}
|