Skip to content

docs(skill): make guides that teach, and regenerate them from tests - #2

Merged
djdevpro merged 2 commits into
mainfrom
docs/skill-tutos-pedagogiques
Nov 20, 2026
Merged

djdevpro merged 2 commits into
mainfrom
docs/skill-tutos-pedagogiques

Conversation

@djdevpro

Copy link
Copy Markdown
Owner

Why

A first guide made with the skill, a tour of a settings screen, went too fast for its viewers:

  • it showed the sign-in page;
  • it named tabs without opening them;
  • its numbered markers sat on the very words they pointed at;
  • it gave each step two and a half seconds.

The user also wanted guides that a test run regenerates, without the studio or an agent.

What changes

  • A new section, "Teach, do not just click", before the ways of making a guide, since it applies to all of them:
    • start signed in, from the home page, and follow the menu;
    • open each screen, then present it with its three to five key elements;
    • carry the explanation in the step text, since a marker opens only when clicked;
    • place markers beside the words, measured from the text and on a free side, and keep the cursor off the label;
    • number markers in reading order, with the click last;
    • reading times: about 4 to 5 s for a click, 2.5 s plus 1.5 s per marker for a presented screen;
    • one 16:9 format, such as 1280 × 720 at a device scale factor of 2;
    • no personal data;
    • check every step with its markers drawn.
  • Section 8, "Regenerate guides from the end-to-end tests": scenarios beside the tests that build the guide with the recorder API and replace the published one. It also covers the Windows pitfall of fs.cpSync on paths outside ASCII.
  • Sections 1, 3 and 5 point to these rules: 16:9 viewport, hovering before the screenshot, durations.
  • A patch changeset for @interactive-learning/recorder, which bundles the skill.

These rules come from rebuilding that guide: 12 steps, 96 s, 27 markers, each capture checked with its markers drawn.

🤖 Generated with Claude Code

A first guide made with the skill went too fast for its viewers: it
showed the sign-in page, named tabs without opening them, put its
numbered markers on the very words they pointed at, and gave each step
two and a half seconds.

The skill now opens with the rules of a guide that teaches, whatever way
it is made: start signed in from the home page, open each screen then
present it with its key elements, carry the explanation in the step
text, place markers beside the words, number them in reading order,
give time to read, capture in 16:9 and keep personal data out. It also
describes guides written as end-to-end scenarios that publish into the
public folder, so a test run regenerates them without the studio or an
agent.
The rhythm settled on the rebuilt guide: after its click, a screen is visited one element per step on the same screenshot, the cursor gliding without clicking, and a story told under the video on its own timing says why.
@djdevpro
djdevpro merged commit 9bed471 into main Nov 20, 2026
2 checks passed
@djdevpro
djdevpro deleted the docs/skill-tutos-pedagogiques branch November 20, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant