Repository navigation
feat(skills): add explainer repository skill - #545
Open
isolomatov-gd wants to merge 6 commits into
Open
isolomatov-gd wants to merge 6 commits into
isolomatov-gd wants to merge 6 commits into
Conversation
One content page, then only the requested formats: doc page, training session, narrated video, per-row recap video, and diagram, whiteboard and isometric HTML animations. Soft review points; firm rules for consent before cloud or paid steps, sensitive data, sourced claims and the content page as single source. scripts/explainer.py: strict spec v1, pure timeline with captions, chapters and timeline.json, built-in Pillow/ffmpeg engine, none|say| elevenlabs narration (cloud only from the command line), seekable html scenes via Playwright, plus shot, sheet, probe and ids helpers. 131 pytest tests. Animation material from iart.ai explainer-video-skills (MIT), attributed in NOTICE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…l time base notes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Scripts: ES modules over file://, network and WebSocket blocking, drawio edge-label children, continuous image focus, html cache keyed on sibling files, one html time rounding, still clamp, exit 2 for user errors, card hold, cache-only plan/script for ElevenLabs, ids charset and reserved ids, shot --bg, long-token wrapping, html scene length warning, relative paths in .timeline.json. 152 tests. Docs: recipe fixes (module script tag, whiteboard init/hand, recap components, row loading, percentile meaning), one home per fact, softened over-prescription, docs aligned with the scripts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
.claude/skills/explainer, a repository skill for contributors (not shipped in the plugins). It explains Rosetta to people: a decision people keep reopening, how a component works, why something behaves unexpectedly, how to do a task, onboarding.How it works: one agreed content page, then only the formats the person asks for. Doc page, training session, narrated video, per-row recap video, and diagram, whiteboard and isometric HTML animations.
SKILL.mdroutes to one asset per format, loaded just in time.Why: explaining the same mechanism again and again is costly, and an explanation drifts when every format is written separately. The content page is the single source, every claim is sourced or marked as an assumption, and review points are offered where a mistake is expensive. Only four rules are firm: consent before cloud or paid steps, the sensitive-data check, sourced claims, and the content page as single source.
Built from our own earlier explainer-video skill (the starting point of the video pipeline) and from iart.ai explainer-video-skills (MIT, attributed in
NOTICE; defects fixed: true-isometric angle, GSAP seek callbacks, hand-follow anchor, Remotion SVG<image>, recap row loader). Everything was redesigned and rewritten as one skill.scripts/explainer.pyis a new codebase. Design: spec, then narration, then a pure timeline, then outputs..timeline.json, which a Remotion composition can also read.srt,.vttand.chapters.jsonfrom the timelinenone,sayandelevenlabs; ElevenLabs is accepted only on the command line, after consent; settings sit in a separate block per providerhtmlscenescheck,drawio,script,plan,ids,cost,still,render,shot,sheet,probeType of change
docs/,*.md,docs/web/): a repository skill under.claude/skills/, plusNOTICEandagents/IMPLEMENTATION.mdBehavior impact
Repository skill only, and only for sessions in this repository. No change to
instructions/,plugins/orsrc/, so no version bump and no plugin regeneration.planandscriptwith ElevenLabs are billed.Validation
venv/bin/python -m pytest .claude/skills/explainer/tests: 152 passed. Covers spec validation, timeline, captions, draw.io (groups, compressed pages, DOCTYPE refusal), narration (cache, cost, key never printed), the CLI, and the html scene.say: 103 s at 1080p, 27 s wall time;probeOK; mean audio −16.9 dB; timing measured.idsmatches.htmlscene and rendered.evals/tasks.md.main: a how-to page (assumption markers survive onto the page), a recap from HR data (licence gate, HR approval, header only, no rankings), and a real whiteboard animation in a video (harness works mid-stroke).scripts/pre_commit.py --only verify-links --only verify-counts: both pass.scripts/pre_commit.py: not run. Nothing insrc/,instructions/orplugins/changed.Risk and rollback
Low. The new files sit under
.claude/skills/explainer, plus aNOTICEentry and oneIMPLEMENTATION.mdline. Nothing reaches users of the plugins or the MCP server. Revert the commit to roll back.Checklist
docs/ARCHITECTURE.mdin the same changeset: not applicable, no product architecture change🤖 Generated with Claude Code