@creator-notes/cnotes 0.105.1 → 0.105.3
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/plugin.json +1 -1
- package/dist/commands/canvas.js +18 -10
- package/dist/lib/install-skill.js +1 -1
- package/package.json +1 -1
- package/skills/cnotes/SKILL.md +1 -1
- package/skills/cnotes/references/canvas-elements.md +1 -1
- package/skills/cnotes/references/canvas.md +10 -7
- package/skills/fat-marker-flows/SKILL.md +178 -75
- package/skills/howto-filmstrips/SKILL.md +6 -5
package/dist/commands/canvas.js
CHANGED
|
@@ -1470,21 +1470,24 @@ Examples:
|
|
|
1470
1470
|
});
|
|
1471
1471
|
canvas
|
|
1472
1472
|
.command("add-quote")
|
|
1473
|
-
.description("Quote words from a note onto a canvas
|
|
1473
|
+
.description("Quote words from a note onto a canvas: makes (or reuses) a Quote note pinned to the note's saved version and places its card")
|
|
1474
1474
|
.argument("<canvasId>", "Canvas ID (CANVAS-<n> or id)")
|
|
1475
1475
|
.requiredOption("--note <ref>", "The note to quote (display id like TRANSCRIPT-4, or id)")
|
|
1476
1476
|
.requiredOption("--text <words>", "The exact words to quote; they must appear in the note's saved version")
|
|
1477
1477
|
.addOption(new Option("--style <style>", "How the card shows the words").choices(["pull", "highlight", "evidence"]))
|
|
1478
|
-
.option("--
|
|
1478
|
+
.option("--title <words>", "Your own words for the Quote note's title: why the line matters (default: the quoted words)")
|
|
1479
|
+
.option("--x <n>", "Raw X position (default: beside the note's card, clear of other cards, else below everything)")
|
|
1479
1480
|
.option("--y <n>", "Raw Y position")
|
|
1480
1481
|
.addHelpText("after", `
|
|
1481
|
-
A quote is
|
|
1482
|
-
from
|
|
1483
|
-
the
|
|
1482
|
+
A quote is a Quote note: the words in a blockquote, citing the version they came
|
|
1483
|
+
from. The same words from the same version are one Quote note, so quoting them
|
|
1484
|
+
on a second canvas places the same QUOTE-<n>; search finds it by its words, and
|
|
1485
|
+
\`canvas add-node\` places it anywhere. To say what a quote means, write an
|
|
1486
|
+
Insight that cites the Quote note.
|
|
1484
1487
|
|
|
1485
1488
|
Examples:
|
|
1486
1489
|
$ cnotes canvas add-quote CANVAS-12 --note TRANSCRIPT-4 --text "We lose them at the invite step"
|
|
1487
|
-
$ cnotes canvas add-quote CANVAS-12 --note TRANSCRIPT-4 --text "every time" --style highlight
|
|
1490
|
+
$ cnotes canvas add-quote CANVAS-12 --note TRANSCRIPT-4 --text "every time" --style highlight --title "Invites stall every time"
|
|
1488
1491
|
`)
|
|
1489
1492
|
.action(async (canvasId, opts) => {
|
|
1490
1493
|
const cfg = resolveConfig(program.opts());
|
|
@@ -1496,14 +1499,18 @@ Examples:
|
|
|
1496
1499
|
note: opts.note,
|
|
1497
1500
|
text: opts.text,
|
|
1498
1501
|
...(opts.style ? { style: opts.style } : {}),
|
|
1502
|
+
...(opts.title ? { title: opts.title } : {}),
|
|
1499
1503
|
...(position ? { positionX: position.x, positionY: position.y } : {}),
|
|
1500
1504
|
});
|
|
1501
1505
|
if (cfg.quiet)
|
|
1502
|
-
outputQuiet(String(data.
|
|
1506
|
+
outputQuiet(String(data.quoteNoteDisplayId ?? ""));
|
|
1503
1507
|
else if (cfg.json)
|
|
1504
1508
|
outputJson(data);
|
|
1505
|
-
else
|
|
1506
|
-
|
|
1509
|
+
else {
|
|
1510
|
+
const made = data.created ? "made" : "reused";
|
|
1511
|
+
const where = data.placed ? `placed on ${canvasId} at (${data.positionX}, ${data.positionY})` : `already on ${canvasId}`;
|
|
1512
|
+
console.log(`${data.quoteNoteDisplayId} (${made}) quotes ${data.noteDisplayId} v${data.versionNumber}, ${where}`);
|
|
1513
|
+
}
|
|
1507
1514
|
}
|
|
1508
1515
|
catch (error) {
|
|
1509
1516
|
handleError(error, cfg.json);
|
|
@@ -2385,7 +2392,8 @@ Examples:
|
|
|
2385
2392
|
.requiredOption("--x <n>", "X position")
|
|
2386
2393
|
.requiredOption("--y <n>", "Y position")
|
|
2387
2394
|
// `text` is a LEGACY kind (the old "Heading" node) — movable/deletable, not creatable.
|
|
2388
|
-
|
|
2395
|
+
// `quote` is a quote card (`canvas add-quote`); the moveNode action accepts it.
|
|
2396
|
+
.addOption(new Option("--type <type>", "Node type (defaults to note; `text` is legacy — old heading nodes, no longer creatable; `quote` is a quote card)").choices(["note", "text", "list", "canvas", "richtext", "section", "quote"]))
|
|
2389
2397
|
.action(async (canvasId, opts) => {
|
|
2390
2398
|
const cfg = resolveConfig(program.opts());
|
|
2391
2399
|
const api = new ApiClient(cfg.serverUrl, cfg.token, cfg.workspaceId);
|
|
@@ -140,7 +140,7 @@ export const SKILL_CATALOG = [
|
|
|
140
140
|
name: "fat-marker-flows",
|
|
141
141
|
aliases: ["fat-marker", "fatmarker", "fat-markers", "fatmarkers"],
|
|
142
142
|
label: "Fat-marker flows",
|
|
143
|
-
description: "Storyboard a UI flow as rough Shape Up
|
|
143
|
+
description: "Storyboard a UI flow or a visual story as rough Shape Up keyframes, keep recurring characters the same, and lay them on a canvas as a left-to-right filmstrip.",
|
|
144
144
|
auto: false,
|
|
145
145
|
},
|
|
146
146
|
{
|
package/package.json
CHANGED
package/skills/cnotes/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cnotes
|
|
3
|
-
description: Reads and writes a CreatorNotes workspace through the `cnotes` CLI - typed, versioned notes, canvases, search, relationships, drafts, reviews and comments, focus plans and the timeline. Use when the user mentions CreatorNotes or cnotes, or wants to create, find, update, summarize, organize or lay out notes, canvases or transcripts in a CreatorNotes workspace. The wayfind, goal-tree, shaping, attention-planner, transcript-timeline and fat-marker-flows skills run their own workflows on top of this one; load them for decision maps, goal trees, shaping, attention triage, interview timelines and
|
|
3
|
+
description: Reads and writes a CreatorNotes workspace through the `cnotes` CLI - typed, versioned notes, canvases, search, relationships, drafts, reviews and comments, focus plans and the timeline. Use when the user mentions CreatorNotes or cnotes, or wants to create, find, update, summarize, organize or lay out notes, canvases or transcripts in a CreatorNotes workspace. The wayfind, goal-tree, shaping, attention-planner, transcript-timeline and fat-marker-flows skills run their own workflows on top of this one; load them for decision maps, goal trees, shaping, attention triage, interview timelines, flow mockups and visual stories with recurring people.
|
|
4
4
|
metadata:
|
|
5
5
|
short-description: Work with CreatorNotes via the cnotes CLI
|
|
6
6
|
---
|
|
@@ -34,7 +34,7 @@ A canvas holds two tiers of content, and the difference is load-bearing:
|
|
|
34
34
|
| An image tile (logo, mockup, screenshot) | a **text** element holding the image, beside the owning note; embed the same image in the note body via `cnotes files upload <path> --markdown` so the note stays self-contained | the image as the knowledge itself |
|
|
35
35
|
| A grid of images for review (mood board) | N text-element image tiles in a `grid` place spec + ONE note holding the decision criteria / rationale for the set | a caption note per tile, or rationale in the tiles |
|
|
36
36
|
| "A connects to B" between two notes | a labeled **edge** (short verb phrase), notes only | prose explaining the connection |
|
|
37
|
-
| The exact line from a transcript or note that carries a point | a **
|
|
37
|
+
| The exact line from a transcript or note that carries a point | a **Quote note** (`add-quote`): the words pinned to that note's version, drawn on the board as a quote, reusable on any canvas as the same QUOTE-<n>; interpretation goes in an Insight | pasting the words into a new note or a text element, where they drift from the source |
|
|
38
38
|
| A pointer to another canvas | a **portal** — `add-link` on the CLI, `{"type": "canvas", "linkedCanvasId": ...}` in place specs, returned as `canvasLinkNodes` by `canvas get` | a text element saying "see other canvas" |
|
|
39
39
|
| Backstage narration (scripts, speaker notes) | NOTES on a PRIVATE sibling canvas (cue-card text elements are fine there); portal FROM the private canvas TO the shared one, never the reverse | narration on the shared canvas |
|
|
40
40
|
|
|
@@ -122,13 +122,16 @@ cnotes canvas add-richtext ... # DEPRECATED alias of add-text (identical flags
|
|
|
122
122
|
# N distinct things = N notes first, then --notes ID1,ID2,ID3 (canvas-elements.md).
|
|
123
123
|
cnotes canvas add-list <canvasId> --description "<markdown>" [--notes <id1,id2,...>] [--view list|grid] [--section SECTION-<n>]
|
|
124
124
|
cnotes canvas add-link <canvasId> --target <otherCanvasId> [--section SECTION-<n>]
|
|
125
|
-
# quote = the exact words from one note,
|
|
126
|
-
#
|
|
127
|
-
#
|
|
128
|
-
#
|
|
129
|
-
#
|
|
130
|
-
#
|
|
131
|
-
|
|
125
|
+
# quote = the exact words from one note, as a Quote note (QUOTE-<n>) pinned to the note's
|
|
126
|
+
# SAVED version, placed as a card drawn as a quote. Evidence, not a claim: the words
|
|
127
|
+
# never change, and the card says "now vN" once the source moves on. The same words
|
|
128
|
+
# from the same version are ONE Quote note: quoting them on another canvas places
|
|
129
|
+
# that QUOTE-<n> again (or `canvas add-node --note QUOTE-<n>`), and search finds it
|
|
130
|
+
# by its words. Lands beside the source note's card, clear of other cards, else
|
|
131
|
+
# below everything; --x/--y override. --title is your own words for why the line
|
|
132
|
+
# matters (default: the quoted words). The words must appear in the saved version
|
|
133
|
+
# (exit 3 otherwise). Say what a quote means in an Insight that cites QUOTE-<n>.
|
|
134
|
+
cnotes canvas add-quote <canvasId> --note <TRANSCRIPT-4> --text "<exact words>" [--style pull|highlight|evidence] [--title "<why it matters>"]
|
|
132
135
|
# section = a NAMED REGION frame (Miro-style). Renders behind content; dragging the frame
|
|
133
136
|
# carries whatever sits inside it. Mints SECTION-<n>: mention [[SECTION-<n>]] from a note
|
|
134
137
|
# body to deep-link readers to that region. Name like a place ("Shaping", "Open Questions").
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: fat-marker-flows
|
|
3
|
-
description:
|
|
3
|
+
description: >-
|
|
4
|
+
Generate Shape Up fat-marker keyframes of a UI flow or a visual story, then
|
|
5
|
+
lay them on a CreatorNotes canvas as a left-to-right filmstrip. Keeps
|
|
6
|
+
characters, objects and cards the same across frames. Use when the user
|
|
7
|
+
wants to see a proposed flow ("mock this up", "show me what it would look
|
|
8
|
+
like", "fat-marker / broad-strokes sketch", "fat marker mockup", "keyframes",
|
|
9
|
+
"storyboard the flow", "user journey on the canvas"), or when characters
|
|
10
|
+
stay the same, they ask for a visual story, or a storyboard with recurring
|
|
11
|
+
people.
|
|
4
12
|
---
|
|
5
13
|
|
|
6
14
|
# Fat-Marker Flows (Shape Up broad-strokes keyframes on a canvas)
|
|
7
15
|
|
|
8
16
|
Turn a described flow into a small set of deliberately rough sketch images, one per key moment, and place them on a CreatorNotes canvas as a numbered left-to-right journey. The output helps a reader *feel* the interaction without anyone mistaking it for finished design.
|
|
9
17
|
|
|
18
|
+
The same skill covers a visual story: people, creatures, objects and cards that must stay recognisable from frame to frame. Live product UI that already exists belongs to `howto-filmstrips`, because screenshots are already consistent.
|
|
19
|
+
|
|
10
20
|
---
|
|
11
21
|
|
|
12
22
|
## The fidelity principle (do not skip)
|
|
@@ -25,26 +35,27 @@ Resist the urge to make it pretty. If it looks like a real screenshot, you have
|
|
|
25
35
|
|
|
26
36
|
`examples/` holds a real six-frame journey produced with this skill (the CreatorNotes "Home canvas as a multi-view lens" flow). **Read a couple of them before generating** to calibrate the target fidelity and the coral-accent discipline:
|
|
27
37
|
|
|
28
|
-
- `01-timeline-view.png
|
|
29
|
-
- `02-switch-manual-drag.png
|
|
30
|
-
- `03-flip-back-nothing-lost.png
|
|
31
|
-
- `04-by-theme-zoom-out.png
|
|
32
|
-
- `05-ask-for-a-view.png
|
|
33
|
-
- `06-save-as-lens.png
|
|
38
|
+
- `01-timeline-view.png`: the starting state, with the `Timeline · Manual · By theme · +` tab chrome
|
|
39
|
+
- `02-switch-manual-drag.png`: a card mid-drag with a dashed "was-here" outline and a coral drag arrow
|
|
40
|
+
- `03-flip-back-nothing-lost.png`: back to Timeline, the card returned, coral check
|
|
41
|
+
- `04-by-theme-zoom-out.png`: clustered theme blobs
|
|
42
|
+
- `05-ask-for-a-view.png`: prompt bar plus a dashed Preview with Save/Discard
|
|
43
|
+
- `06-save-as-lens.png`: a new named tab added to the switcher
|
|
34
44
|
|
|
35
|
-
What to copy from them: the same window
|
|
45
|
+
What to copy from them: the same window and tab row in every frame, one coral-highlighted change per frame, and a circled number. Words inside a new frame come from that frame's plan (the quoted on-screen texts plus the circled number). Copy the marker weight and the coral, and leave their drawn titles and captions as historical examples.
|
|
36
46
|
|
|
37
47
|
---
|
|
38
48
|
|
|
39
|
-
## Step 0
|
|
49
|
+
## Step 0: Scope ONE flow and list the keyframes
|
|
40
50
|
|
|
41
51
|
A keyframe is a **key moment in a single flow**, not a screen inventory. Before generating:
|
|
42
52
|
|
|
43
53
|
1. Pick one flow (e.g. "drag a portal, flip back, save a view"). Don't mix flows.
|
|
44
54
|
2. List 4–7 keyframes. Each is a state where **something changed** from the prior frame.
|
|
45
55
|
3. Decide the **shared chrome** that stays identical across every frame (same window, same tab bar, same panel). Only the changed thing differs frame to frame. Consistent chrome is what makes the set read as one continuous journey.
|
|
46
|
-
4.
|
|
47
|
-
5.
|
|
56
|
+
4. Write the story first, as words, using [The words](#the-words-a-story-not-a-legend) below: who the person is (a name from [the cast](#the-cast)), what they want, and the beat each frame lands on. The frames come from the story, never the other way round.
|
|
57
|
+
5. For each frame, write: a circled number, a short title, what the person just did, the one element to highlight, and a one-line caption that states what this moment costs or promises. The short title is for you. Draw it in the picture only when it is quoted UI text.
|
|
58
|
+
6. Run the readable-cold test on the frame. If the sketch shows the moment on its own, write nothing under it. If it can't, write **at most one line** under it that adds what the picture cannot show: time passing, what the person knows, what is at stake. Never narrate what the person did and what they got; that is the picture's job.
|
|
48
59
|
|
|
49
60
|
Keep captions free of em dashes (house style).
|
|
50
61
|
|
|
@@ -63,102 +74,182 @@ Cut a frame that fails rather than fixing it with a longer caption. Four honest
|
|
|
63
74
|
|
|
64
75
|
---
|
|
65
76
|
|
|
66
|
-
##
|
|
77
|
+
## The words: a story, not a legend
|
|
78
|
+
|
|
79
|
+
A filmstrip has three places for words: the header card above it, the caption drawn inside each frame, and the optional line under a frame. All three were written as *legend* on a real board (2026-10-16) and the owner called it AI slop:
|
|
80
|
+
|
|
81
|
+
> Four moments from a board with no quote of any kind. Read 1 to 4. Coral marks what the person is looking at. Every card is the same shape, the great line is buried in its transcript, a pasted copy loses its source, and a decision can only point at the whole call.
|
|
82
|
+
|
|
83
|
+
That paragraph describes the storyboard, instructs the reader, and summarises every frame before they look. The same board, written as a story:
|
|
84
|
+
|
|
85
|
+
> **Before quotes**
|
|
86
|
+
> Mia ran the Acme call. One sentence in it is why the team dropped the spreadsheet import, and it sits in paragraph 23 of a forty-minute transcript.
|
|
87
|
+
|
|
88
|
+
Then under the frames, only where the picture cannot carry it: "Monday. Mia opens the Acme board to write the decision up." / "She knows the sentence is in there because she was on the call. Nobody else was." / "Three weeks later." / "He signs off without ever finding the sentence."
|
|
89
|
+
|
|
90
|
+
The rules behind that rewrite come from how storyboard and comics writers work (NN/g on UX storyboards, Kenn Adams's story spine, Scott McCloud's *Making Comics*, Kevin Cheng's *See What I Mean*, the Heaths' *Made to Stick*):
|
|
91
|
+
|
|
92
|
+
- **One person with a name and a want, in one line.** NN/g names the persona at the top of every storyboard with a sentence a stakeholder can follow before looking ("Corporate buyer, James, needs to replenish office supplies"). Give yours a name, a job and the thing they are trying to get done. "The person" and "the user" are not characters.
|
|
93
|
+
- **Put the frames on the story spine.** Kenn Adams's spine: *Every day… One day… Because of that… Because of that… Until finally…* Frame 1 is the ordinary state, frame 2 the thing that breaks it, each later frame a consequence of the one before, the last the outcome. A problem band stops before "until finally" on purpose: the missing resolution is the argument. If two frames sit on the same beat, cut one.
|
|
94
|
+
- **Captions add what the picture cannot show.** In comics the caption is the narrator and carries time, place, stakes and what the character knows; the picture carries the action and the face. NN/g keeps storyboard captions to the person's action, surroundings and emotional state, and short. A caption that restates the image ("the person opens the board") is dead weight. "Three weeks later" is a caption. "Monday" is a caption. "She was on the call. Nobody else was" is a caption.
|
|
95
|
+
- **Dialogue does the telling.** What the person thinks or wants goes in a speech bubble, in their words, inside the frame. McCloud's "word" choice is exactly this: the only words in a panel are the ones that could not be a drawing.
|
|
96
|
+
- **Concrete nouns, never categories.** *Made to Stick*: people remember "bicycle", not "personality"; the kidney-heist legend sticks because of the bathtub of ice. Write "paragraph 23 of the Acme call" and the sentence itself, never "a long transcript" and "a great line". Experts drift to the abstract because they already know the pattern; the reader does not.
|
|
97
|
+
- **No legend, no instructions, no preview.** Never write "Read 1 to 4", "coral marks…", "four moments", or a list of what the frames show. The numbers and the accent are the legend. A summary ahead of the pictures spoils them and makes the reader read everything twice.
|
|
98
|
+
- **The spine test.** Read the title, the setup line and the under-frame lines alone, in order, with no pictures. If they read as a short story a stranger could retell (who wanted what, what went wrong, what it cost), the words are done. If they read as a table of contents or a product description, rewrite until they do.
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Step 1: The reusable style preamble
|
|
67
103
|
|
|
68
|
-
Prepend this verbatim to every frame's prompt so the set is visually consistent:
|
|
104
|
+
Prepend this verbatim to every frame's prompt so the set is visually consistent. It is the style sheet: one block, the same words on every frame.
|
|
69
105
|
|
|
70
106
|
```
|
|
71
107
|
Fat-marker product sketch in the Shape Up "broad strokes" style: thick black marker
|
|
72
108
|
on off-white paper, deliberately rough and low-fidelity, hand-drawn rectangles and
|
|
73
109
|
handwritten labels, like a quick whiteboard wireframe. NOT a polished UI: no gradients,
|
|
74
|
-
no realistic chrome, no photorealism, no fine detail.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
110
|
+
no realistic chrome, no photorealism, no fine detail. The same thick marker line for
|
|
111
|
+
people, objects and UI. Flat fill, no shading. Use ONE accent color, a warm
|
|
112
|
+
coral-pink, and ONLY on the single active or changed element. No border around the
|
|
113
|
+
picture. No names, headings or labels except the quoted texts for this frame and the
|
|
114
|
+
circled frame number. Ticks and badges sit where the cast list puts them. Lots of
|
|
115
|
+
whitespace. Aspect ratio: 16:9. It should read as one storyboard keyframe that shows
|
|
116
|
+
the SHAPE of an interaction, not its visual design.
|
|
78
117
|
```
|
|
79
118
|
|
|
80
|
-
(The coral accent matches the CreatorNotes brand. Swap the accent if the project's brand differs, but keep it to ONE color used only on the changed element.)
|
|
119
|
+
Set the `Aspect ratio:` line to the ratio you pass as `--aspect`, and keep that line identical on every frame. (The coral accent matches the CreatorNotes brand. Swap the accent if the project's brand differs, but keep it to ONE color used only on the changed element.)
|
|
120
|
+
|
|
121
|
+
Then add the cast lines for this frame and the frame plan. Be concrete and literal so the model draws the right boxes and labels.
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## Before you generate (what the image tool accepts)
|
|
126
|
+
|
|
127
|
+
Settle this before frame 1, so you do not draw six frames and then discover the path was blocked.
|
|
128
|
+
|
|
129
|
+
`cnotes files gen-image` takes a text prompt only. It accepts no reference image, no input image and no seed. Pass the prompt on stdin (or `--prompt`). `--aspect` is one of `1:1`, `16:9`, `9:16`, `4:3`, `3:4` (default `16:9`) and does not count toward the prompt. The server rejects a prompt longer than 4,000 characters.
|
|
130
|
+
|
|
131
|
+
Who can use the server path:
|
|
132
|
+
|
|
133
|
+
- An email on the server allowlist skips the paid gate and the credit charge.
|
|
134
|
+
- A Pro workspace spends 10 credits per image on the server key.
|
|
135
|
+
- A free workspace returns `subscription_required`. A short balance returns `insufficient_credits`. The error names `cnotes upgrade` or `--byo-key`.
|
|
136
|
+
- `--byo-key` reads `GOOGLE_GENERATIVE_AI_API_KEY`, `GEMINI_API_KEY` or `CN_GEMINI_KEY` on this machine, generates here, and uploads only the PNG. The key is never sent to CreatorNotes. That path is text-only too.
|
|
137
|
+
|
|
138
|
+
If your agent has an image tool that takes reference images (a Gemini image edit, GPT Image edits, FLUX.2, Midjourney `--oref`), use the reference path in Step 2. Otherwise use the text-only path. `cnotes files gen-image` cannot take a reference.
|
|
139
|
+
|
|
140
|
+
If you are not sure the workspace can spend the server key, say so before the first call and offer `--byo-key` with a free key from https://ai.google.dev.
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## The cast
|
|
81
145
|
|
|
82
|
-
|
|
146
|
+
Write this once, before any frame plan. One line per recurring thing: a fixed name, then the visual traits a stranger would use to recognise it (hair, clothes, props, pose).
|
|
147
|
+
|
|
148
|
+
- **People.** Draw everyone the same way. Never mix stick figures with full figures.
|
|
149
|
+
- **Agents and creatures.** Say what they must not have ("no antennas, no torso").
|
|
150
|
+
- **The recurring object.** For example the board, its tab text, its size and shape.
|
|
151
|
+
- **Recurring cards.** Their exact look, for example "the answer card: wide white card, thick coral outline, tick on the left, two lines".
|
|
152
|
+
- **Close the list** with this sentence: "Only the characters listed for a frame appear; never draw any extra robot or person."
|
|
153
|
+
|
|
154
|
+
When your image tool takes reference images, also generate a **cast sheet**: one image of every cast member and the recurring object side by side. Check it, keep it, and place it later as its own richtext image above the filmstrip. With `cnotes files gen-image` the written cast is the cast sheet. Keep the lines short, because every text-only prompt pastes them under the style preamble and must stay within 4,000 characters.
|
|
83
155
|
|
|
84
156
|
---
|
|
85
157
|
|
|
86
|
-
##
|
|
158
|
+
## Frame plans
|
|
159
|
+
|
|
160
|
+
Write one plan per frame after Step 0 and after the cast, and before you generate.
|
|
87
161
|
|
|
88
|
-
|
|
162
|
+
- **Composition, left to right.** Which cast members appear, and nothing else.
|
|
163
|
+
- **State.** Every card on screen with its exact text, and its marks (ticks, circles).
|
|
164
|
+
- **Changed since last frame.** The one thing that moved, appeared or was answered. Everything else is copied word for word from the previous plan.
|
|
165
|
+
- **The only words in the picture.** A closing list of every string allowed.
|
|
89
166
|
|
|
90
|
-
|
|
91
|
-
- **Everyone else (most people)** → the default server path returns an `admin_only` error. Add `--byo-key` and set `GOOGLE_GENERATIVE_AI_API_KEY` first (a free key from https://ai.google.dev).
|
|
167
|
+
Then diff the plans. Card text, card count and the answer card line up from one frame to the next unless the "changed" line says otherwise.
|
|
92
168
|
|
|
93
|
-
|
|
169
|
+
Writing tips:
|
|
94
170
|
|
|
95
|
-
|
|
171
|
+
- Keep definitional names in lowercase descriptions ("the board"). A capitalised label such as "THE BOARD" gets written into the picture.
|
|
172
|
+
- Put buttons on a large object the person is holding ("an oversized phone in Alex's hand"), or the model floats them outside it.
|
|
173
|
+
- Describe a recurring character again inside the frame when they are doing something new (holding, pointing). That is when the drawing drifts.
|
|
96
174
|
|
|
97
175
|
---
|
|
98
176
|
|
|
99
|
-
## Step 2
|
|
177
|
+
## Step 2: Generate (test one, then the rest)
|
|
100
178
|
|
|
101
|
-
Generate each frame with `cnotes files gen-image`: it produces the image with an image model
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
179
|
+
Generate each frame with `cnotes files gen-image`: it produces the image with an image model and stores it in the workspace, returning a ready-to-use URL. No repo checkout. The prompt goes on **stdin** (so you don't escape quotes); pass the same `--aspect` you wrote in the preamble, and `--json` so you can read `.storageId` and `.fullUrl`.
|
|
180
|
+
|
|
181
|
+
**Reference images** (only when your tool accepts them): pass the cast sheet and the previous accepted frame as references, then the style preamble and this frame's plan. For GPT Image, put the most important reference first. Generate frame 1, look at it, then continue frame by frame so each frame can reference the one you just accepted.
|
|
182
|
+
|
|
183
|
+
**Text only** (`cnotes files gen-image`): send the style preamble, then the cast, then the frame plan. Trim cast lines that are not in this frame so the prompt stays within 4,000 characters. Generate frame 1, check it, then the rest.
|
|
105
184
|
|
|
106
185
|
```bash
|
|
107
186
|
WS=<workspaceId> # e.g. your Private workspace for internal work
|
|
108
187
|
mkdir -p /tmp/mockups && cd /tmp/mockups
|
|
109
188
|
|
|
110
|
-
# Frame 1
|
|
189
|
+
# Frame 1: generate, capture the JSON, then LOOK at it before the rest.
|
|
111
190
|
cnotes files gen-image --aspect 16:9 -w "$WS" --json <<'PROMPT' > kf1.json
|
|
112
|
-
<style preamble>
|
|
191
|
+
<style preamble, with the aspect ratio line set to 16:9>
|
|
192
|
+
|
|
193
|
+
Cast in this frame (only these):
|
|
194
|
+
- <one short line per cast member who appears>
|
|
113
195
|
|
|
114
|
-
|
|
196
|
+
This frame:
|
|
115
197
|
- A hand-drawn circled number "1" in the top-left corner.
|
|
116
|
-
-
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
-
|
|
198
|
+
- Composition, left to right: ...
|
|
199
|
+
- State: each card, its exact text, its marks.
|
|
200
|
+
- Changed since last frame: the one thing. Everything else matches the previous plan.
|
|
201
|
+
- The only words in the picture: "..."
|
|
120
202
|
PROMPT
|
|
121
203
|
|
|
122
|
-
# Download the pixels and Read them
|
|
204
|
+
# Download the pixels and Read them. Use a new path every time you download:
|
|
205
|
+
# re-downloading over an existing file can leave the old image in place.
|
|
123
206
|
cnotes files get "$(node -e 'console.log(JSON.parse(require("fs").readFileSync("kf1.json","utf8")).storageId)')" -o /tmp/mockups/kf1.png
|
|
124
207
|
```
|
|
125
208
|
|
|
126
|
-
**Always generate frame 1 first and look at it** (Read `/tmp/mockups/kf1.png`) to confirm the
|
|
127
|
-
fidelity lands before spending calls on the rest. Once it's right, generate the remaining frames
|
|
128
|
-
the same way (one `gen-image` call each), re-pasting the same style preamble and the same chrome
|
|
129
|
-
description in every frame. Collect each frame's `.fullUrl`, **in frame order**, into `urls.txt`:
|
|
209
|
+
**Always generate frame 1 first and look at it** (Read `/tmp/mockups/kf1.png`) to confirm the fidelity lands before spending calls on the rest. Once it's right, generate the remaining frames the same way (one call each), re-pasting the same style preamble. On the text-only path, re-paste the same cast lines that appear in that frame and that frame's plan. Collect each frame's `.fullUrl`, **in frame order**, into `urls.txt`:
|
|
130
210
|
|
|
131
211
|
```bash
|
|
132
212
|
# Repeat per frame; appends the fullUrl in order.
|
|
133
213
|
cnotes files gen-image --aspect 16:9 -w "$WS" --json <<'PROMPT' \
|
|
134
214
|
| node -e 'let s="";process.stdin.on("data",d=>s+=d).on("end",()=>console.log(JSON.parse(s).fullUrl))' >> urls.txt
|
|
135
|
-
<style preamble + this frame's
|
|
215
|
+
<style preamble + cast lines in this frame + this frame's plan>
|
|
136
216
|
PROMPT
|
|
137
217
|
```
|
|
138
218
|
|
|
139
|
-
|
|
219
|
+
On a retry, download to a fresh name (`kf1-try2.png`), and read that file.
|
|
220
|
+
|
|
221
|
+
> Admins and Pro workspaces generate on the server. Everyone else adds `--byo-key` after setting `GOOGLE_GENERATIVE_AI_API_KEY`. See the section above, and `cnotes files gen-image --help` for the flags.
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## Check each frame
|
|
226
|
+
|
|
227
|
+
Open every image. Fill one row per frame in your working notes, and keep the table off the canvas. A cell is "pass" or the specific miss.
|
|
228
|
+
|
|
229
|
+
| Frame | Cast, nobody extra | Traits | Card count and exact text | Marks | Answer-card look | Inside its object | No stray label or border | Tab or title text |
|
|
230
|
+
|-------|--------------------|--------|---------------------------|-------|------------------|-------------------|---------------------------|-------------------|
|
|
231
|
+
| 1 | | | | | | | | |
|
|
140
232
|
|
|
141
|
-
**Style check:** same chrome across all, coral only on the changed thing, numbers in order,
|
|
142
|
-
captions legible, the sequence tells the story.
|
|
233
|
+
**Style check:** same chrome across all, coral only on the changed thing, numbers in order, the sequence tells the story.
|
|
143
234
|
|
|
144
|
-
**Cold read (the one that catches slop):** for each frame, before re-reading your own prompt,
|
|
145
|
-
write one sentence describing what a stranger sees: "the person said X and Y appeared". If
|
|
146
|
-
that sentence names neither a cause nor an effect, or uses a word that is not in the picture,
|
|
147
|
-
the frame fails the meaning test in Step 0. Regenerate it with the cause drawn into the scene,
|
|
148
|
-
or cut it. The image model draws what you asked for; a meaningless frame is a meaningless
|
|
149
|
-
prompt, not a model miss.
|
|
235
|
+
**Cold read (the one that catches slop):** for each frame, before re-reading your own prompt, write one sentence describing what a stranger sees: "the person said X and Y appeared". If that sentence names neither a cause nor an effect, or uses a word that is not in the picture, the frame fails the meaning test in Step 0. Fix it with the rules below, or cut it. The image model draws what you asked for; a meaningless frame is a meaningless prompt.
|
|
150
236
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
## Fix only the frames that broke
|
|
240
|
+
|
|
241
|
+
- Regenerate only the failing frame. Add one targeted line naming the failure ("no antennas", "both buttons inside the phone screen") and leave every other line alone.
|
|
242
|
+
- With an edit-capable tool, edit just that region of that frame.
|
|
243
|
+
- Stop after 3 tries on a frame and record what is left. Do not loop.
|
|
244
|
+
- If UI state keeps drifting, render the board and cards some other way (a real screenshot, or HTML/SVG) and generate only the people.
|
|
245
|
+
|
|
246
|
+
A frame you replace on the canvas later is its own edit. See Step 3.
|
|
154
247
|
|
|
155
248
|
---
|
|
156
249
|
|
|
157
|
-
## Step 3
|
|
250
|
+
## Step 3: Place on the canvas as a journey filmstrip
|
|
158
251
|
|
|
159
|
-
Use the `cnotes` CLI. Wrap the canvas writes in an operation. Step 2 already stored each image and
|
|
160
|
-
gave you a `fullUrl` per frame (in `urls.txt`, frame order), so there is **no separate upload
|
|
161
|
-
step** — just place the URLs as a horizontal stack (the filmstrip) with a header above.
|
|
252
|
+
Use the `cnotes` CLI. Wrap the canvas writes in an operation. Step 2 already stored each image and gave you a `fullUrl` per frame (in `urls.txt`, frame order), so placing uses those URLs. The filmstrip place is one edit. Include the trust card in that same place.
|
|
162
253
|
|
|
163
254
|
```bash
|
|
164
255
|
WS=<workspaceId>
|
|
@@ -169,26 +260,23 @@ cnotes operations begin -w "$WS" --prompt "Add fat-marker user-journey keyframes
|
|
|
169
260
|
# urls.txt already holds one fullUrl per line, in frame order, from Step 2.
|
|
170
261
|
```
|
|
171
262
|
|
|
172
|
-
Build a `place` spec where each frame is **one `richtext` item**: ``,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
frames, a 3-column grid for 5 to 6, with a header richtext above.
|
|
263
|
+
Build a `place` spec where each frame is **one `richtext` item**: ``, plus the optional one-sentence line from Step 0 after a blank line. Keep image and line in the same node. Use a horizontal stack for up to 4 frames, a 3-column grid for 5 to 6, with a header richtext above.
|
|
264
|
+
|
|
265
|
+
The header is the title plus the one setup line from [The words](#the-words-a-story-not-a-legend): who the person is and what they want. Nothing else. Section headers are plain nouns ("The problem", "Solutions"): no counts, no framing phrases. Never write reading instructions on the canvas ("Read 1 to N", "coral marks…", "in N moments") and never preview the frames; the numbering and the coral accent are the legend.
|
|
176
266
|
|
|
177
|
-
|
|
178
|
-
"Solutions"): no counts, no framing phrases. Never write reading instructions on the canvas
|
|
179
|
-
("Read 1 to N", "coral marks…", "in N moments"); the numbering and the coral accent speak for
|
|
180
|
-
themselves.
|
|
267
|
+
Under the filmstrip, add one richtext card of a few sentences: what the check found, and anything still broken, so the reader knows how much to trust the set. That card is the check record. Leave the header and the frames free of reading instructions. When you made a cast sheet, place it as its own richtext image above the filmstrip.
|
|
181
268
|
|
|
182
269
|
```js
|
|
183
|
-
// build-journey.js
|
|
270
|
+
// build-journey.js: writes journey.json
|
|
184
271
|
const fs = require('fs');
|
|
185
272
|
const urls = fs.readFileSync('urls.txt','utf8').trim().split('\n');
|
|
186
|
-
const lines = JSON.parse(fs.readFileSync('lines.json','utf8')); // one string per frame, '' when the sketch reads cold
|
|
273
|
+
const lines = JSON.parse(fs.readFileSync('lines.json','utf8')); // one string per frame, '' when the sketch reads cold; each adds time, stakes or knowledge, never a description
|
|
187
274
|
const frames = urls.map((u,i)=>({kind:'item',type:'richtext',size:'medium',key:`kf${i+1}`,
|
|
188
275
|
content:`` + (lines[i] ? `\n\n${lines[i]}` : '')}));
|
|
189
276
|
const spec = { root: { kind:'stack', axis:'vertical', gap:'medium', align:'start', items:[
|
|
190
|
-
{kind:'item',type:'richtext',size:'medium',content:'# <
|
|
277
|
+
{kind:'item',type:'richtext',size:'medium',content:'# <title>\n\n<one setup line: who, and what they want>'},
|
|
191
278
|
{kind:'grid', columns: 3, gap:'medium', items:frames},
|
|
279
|
+
{kind:'item',type:'richtext',size:'medium',content:'<what the check found, and anything still broken>'},
|
|
192
280
|
]}};
|
|
193
281
|
fs.writeFileSync('journey.json', JSON.stringify(spec));
|
|
194
282
|
```
|
|
@@ -198,9 +286,19 @@ node build-journey.js
|
|
|
198
286
|
cnotes canvas place $CANVAS -w $WS --spec ./journey.json --json > placed.json
|
|
199
287
|
```
|
|
200
288
|
|
|
289
|
+
Swapping one frame after a fix is a new operation. Rewrite that one richtext node and leave the others:
|
|
290
|
+
|
|
291
|
+
```bash
|
|
292
|
+
cnotes operations begin -w "$WS" --prompt "Replace keyframe <N> after a failed check" --json >/dev/null
|
|
293
|
+
cnotes canvas update-text $CANVAS -w $WS --node <richtextId> --content-file ./kfN.md
|
|
294
|
+
cnotes operations end -w $WS
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
`kfN.md` is the image markdown for the new file, plus the optional one-sentence line when the sketch still cannot be read cold.
|
|
298
|
+
|
|
201
299
|
---
|
|
202
300
|
|
|
203
|
-
## Step 4
|
|
301
|
+
## Step 4: Position the band (the bulk-move offset trick)
|
|
204
302
|
|
|
205
303
|
`cnotes canvas place` **ignores an absolute origin** and appends the new block *below* existing content. To put the filmstrip somewhere specific (e.g. a hero band above the title), read the returned positions, compute one uniform offset, and `bulk-move` the whole group so the relative layout is preserved:
|
|
206
304
|
|
|
@@ -219,25 +317,30 @@ cnotes canvas bulk-move $CANVAS -w $WS --moves "$(cat moves.json)"
|
|
|
219
317
|
cnotes operations end -w $WS
|
|
220
318
|
```
|
|
221
319
|
|
|
320
|
+
The place and this bulk-move share the operation opened in Step 3. A later frame swap opens its own operation, as shown above.
|
|
321
|
+
|
|
222
322
|
---
|
|
223
323
|
|
|
224
324
|
## Gotchas (learned the hard way)
|
|
225
325
|
|
|
226
|
-
- **Carry the sequence with circled numbers and left-to-right layout
|
|
326
|
+
- **Carry the sequence with circled numbers and left-to-right layout.** The numbered filmstrip reads as a journey at a glance. Arrows between frames add clutter. (Edges between richtext and image stickies connect if you need one, for example a labeled "then" between two moments. Reach for them sparingly. The layout is the primary device.)
|
|
227
327
|
- **`place` ignores absolute origin** and appends below existing content. Use the bulk-move offset trick above to reposition.
|
|
228
328
|
- **richtext size presets:** `large` ≈ 1680px wide, `medium` ≈ 1120px, `small` ≈ 560px. For a 6-frame filmstrip, `medium` is the sweet spot; `large` makes a ~11,000px strip nobody can pan.
|
|
229
329
|
- **Don't verify by grepping `. Check the installed copy of this skill matches the repo before running it.
|
|
234
335
|
- **An image may stand alone when it reads cold.** Add one sentence only when it doesn't, inside the same richtext node. History: bare tiles that failed the meaning test were rejected as "visual AI slop" on 2026-09-26; the fix that followed (mandatory multi-sentence explainers) over-corrected into caption slop. Fix the sketch first, not the caption.
|
|
235
336
|
- **Grid order follows measured y, not your item order.** When frames in one row measure a few pixels apart in height, a later read-back sorts them by position and the row can come out 6, 4, 5. After placing, read the positions back and `bulk-move` any row whose x order does not match the circled numbers.
|
|
337
|
+
- **Three tries, then stop.** Record the remaining miss on the trust card. Another prompt loop will not make a drifting card reliable.
|
|
236
338
|
|
|
237
339
|
---
|
|
238
340
|
|
|
239
341
|
## When NOT to use this
|
|
240
342
|
|
|
241
|
-
- The user wants
|
|
343
|
+
- The user wants a how-to of the live product: use `howto-filmstrips`. Screenshots stay consistent without a cast list.
|
|
344
|
+
- The user wants a polished, pixel-accurate mock of UI that is not in the product yet: use a design tool.
|
|
242
345
|
- It's a single static screen with no flow: one sketch is fine, skip the journey scaffolding.
|
|
243
|
-
-
|
|
346
|
+
- You are tempted to draw a solution nobody has chosen. A *problem* band is fine, and often the best use: moments a named person lives through today, ending before any resolution. What must not appear is a feature outside the chosen shape.
|
|
@@ -5,7 +5,8 @@ description: >-
|
|
|
5
5
|
canvas: live CSS highlight on the click target, soft radial spotlight, then
|
|
6
6
|
screenshot → upload → one walkthrough note → place. Use when the user wants a screenshot storyboard,
|
|
7
7
|
click-path how-to, JTBD walkthrough, multi-path UI guide, or "show me how to
|
|
8
|
-
do X in the app" with accurate click markers
|
|
8
|
+
do X in the app" with accurate click markers. Sketched frames, a visual story,
|
|
9
|
+
or a storyboard with recurring people belong to fat-marker-flows.
|
|
9
10
|
---
|
|
10
11
|
|
|
11
12
|
# How-to filmstrips (live UI capture on a canvas)
|
|
@@ -14,7 +15,7 @@ Turn a real product flow into a left-to-right filmstrip of screenshots on a Crea
|
|
|
14
15
|
|
|
15
16
|
The durable output is **one walkthrough note** holding every step and its screenshot, stamped with the product version and date it shows. The filmstrip on the canvas is a projection of that note: people scan the strip, while search, citations and agents read the note.
|
|
16
17
|
|
|
17
|
-
This is the **pixel-accurate sibling** of `fat-marker-flows`. Use fat-marker for proposed
|
|
18
|
+
This is the **pixel-accurate sibling** of `fat-marker-flows`. Use fat-marker-flows for a proposed Shape Up sketch and for a visual story whose characters stay the same. Use this skill when the question is how to do it in the live product.
|
|
18
19
|
|
|
19
20
|
---
|
|
20
21
|
|
|
@@ -39,7 +40,7 @@ This is the **pixel-accurate sibling** of `fat-marker-flows`. Use fat-marker for
|
|
|
39
40
|
|
|
40
41
|
**Use when:** documenting a live click path, comparing entry points (Path A/B/C), workshop how-tos, JTBD storyboards from a real app.
|
|
41
42
|
|
|
42
|
-
**Do not use when:** the UI does not exist yet
|
|
43
|
+
**Do not use when:** the UI does not exist yet, or the frames are imagined people and objects that must stay the same. Both are `fat-marker-flows`. A polished Figma mock belongs in a design tool.
|
|
43
44
|
|
|
44
45
|
---
|
|
45
46
|
|
|
@@ -252,7 +253,7 @@ cnotes operations end -w "$WS" --json
|
|
|
252
253
|
|
|
253
254
|
| Skill | Fidelity | Source |
|
|
254
255
|
|-------|----------|--------|
|
|
255
|
-
| `fat-marker-flows` | Rough Shape Up sketches | Image model |
|
|
256
|
+
| `fat-marker-flows` | Rough Shape Up sketches, and a visual story with recurring people | Image model |
|
|
256
257
|
| `howto-filmstrips` | Real product UI | Browser capture + CSS |
|
|
257
258
|
|
|
258
|
-
Same canvas can hold a fat-marker
|
|
259
|
+
Same canvas can hold a fat-marker "proposed" row and a how-to "as shipped" row. Keep the visual language of each skill intact so a reader can tell a sketch from a screenshot.
|