legacy-screencast
Use when preparing screencast recording for one of the four protocol steps. Generates an asciinema or vhs script with explicit narration markers. Triggers on '/legacy-screencast <step>' or when user asks to 'записати скрінкаст для Step 2', 'screencast script', 'демо запис'.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 15
- Forks
- 13
01 前言 Front Matter
- name
- legacy-screencast
- description
- Use when preparing screencast recording for one of the four protocol steps. Generates an asciinema or vhs script with explicit narration markers. Triggers on '/legacy-screencast <step>' or when user asks to 'записати скрінкаст для Step 2', 'screencast script', 'демо запис'.
- allowed-tools
- Read, Write, Bash
- argument-hint
- <step> (1|2|3|4)
- disable-model-invocation
- false
03 SKILL.md 正文
legacy-screencast — генерація скрінкаст-сценаріїв
Опційний skill — допомагає лектору/курсанту записати скрінкаст для одного з 4 кроків. Не запускається автоматично; зазвичай — окремий цикл після того, як основний протокол вже пройдено.
Аргументи
<step>— номер Step (1, 2, 3, або 4). Step 3 додатково розбивається на3.1,3.2,3.3.
Output: SCREENCAST-step<N>.sh
bash-сценарій з коментарями для запису через asciinema або vhs:
#!/usr/bin/env bash
# Screencast for Step 2 — extract + critic
# Tools: asciinema rec / vhs / OBS+terminal
# Duration: ~5-7 minutes
# === Setup ===
cd modules/4-prompting-mastery/4.9-legacy-refactor-solution
git status # clean working tree
# === Recording ===
# 🎬 [00:00] — open Claude in plan mode
claude
# (UI: Shift+Tab, доки у footer не зʼявиться ⏸ plan mode on; або claude --permission-mode plan)
# 🎬 [00:30] — extract
# Type у Claude:
# /legacy-extract account
# 🎬 [03:00] — wait for parallel subagents (3-5 min)
# Show /context — < 10k
# 🎬 [04:00] — verify output
cat LEGACY/account.md # 6 секцій присутні
wc -w LEGACY/account.md # ≤ 1500 words (~2k tokens)
# 🎬 [05:00] — critic
# /legacy-critic account
cat CRITIC.md
grep "Спростовані (0)" CRITIC.md # ✅ verdict
Acceptance criteria
- Сценарій містить timecode-маркери
# 🎬 [MM:SS] - Тривалість ≤ 10 хвилин для одного Step
- Включає expected output для перевірки на запис
- НЕ включає sleep'ів довших за 30 секунд (для очікування subagents —
# wait).
Examples
/legacy-screencast 2 # генерує SCREENCAST-step2.sh
/legacy-screencast 3.2 # генерує SCREENCAST-step3-tests.sh
Anti-patterns
- Не записуй скрінкаст до того, як протокол пройдено руками — без real run скрінкаст-сценарій ламається на 60% часу.
- Не вмикай sleep > 30s у сценарій — глядач не дочекається. Кат на «3-5 хв пізніше».
- Не пропускай маркери
🎬 [MM:SS]— вони використовуються post-production для timestamp у YouTube description.
04 同仓库更多 Skills
release
Run the whole local release pipeline in order, stopping at each human gate. Triggers on "run the release", "prepare a release", "/release", "зроби реліз", "підготуй реліз". Drives the four stages back to back — bump-version → curate-changelog → release-notes → check-docs-drift — pausing after each so the human reviews the diff before the next stage. Prepares everything in the working tree; never tags, commits, or pushes. The tag push (which fires CI) stays the human's action.
release-notes
Draft partner-facing release notes from the same commits as the changelog. Triggers on "draft release notes", "release notes for the next version", "/release-notes", "нотатки релізу", "release notes партнеру". Same input as curate-changelog, different audience and tone: a short, benefit-first narrative for a user or partner — "what's new for you" — not a categorized engineer's list. Keeps only changes a user actually notices; drops internal refactors and tooling. Prints the notes to the chat to seed a GitHub Release description or a partner announcement. Writes no file.
curate-changelog
Curate the [Unreleased] section of docs/CHANGELOG.md from git history. Triggers on "curate the changelog", "update the changelog", "/curate-changelog", "онови changelog", "курування журналу". Reads git log since the last tag, FILTERS out what a reader never feels (test/ci/chore/merge), GROUPS commits about one feature into one bullet, and REWRITES technical subjects into plain language under the six Keep a Changelog categories (Added/Changed/Deprecated/ Removed/Fixed/Security). The result must have FEWER lines than the raw log — that is the proof of curation, not a dump. Leaves the edit in the working tree; never commits or pushes.
codify-rule
Turn a repeated mistake into a durable, path-scoped rule in .claude/rules/. Triggers on "codify this rule", "make a rule so this doesn't happen again", "/codify-rule", "закодифікуй правило", "петля помилка-правило". Use only when the same mistake showed up TWICE (twice = a pattern, once = noise). Names the wrong shape and the right shape with one short example of each, scopes the rule to the paths that matter, and leaves the edit in the working tree so the next agent on this repo inherits the fix. Edits only .claude/rules/; never commits or pushes.
check-docs-drift
Find and fix where docs/api.md fell behind the code. Triggers on "check for doc drift", "is the API doc up to date", "/check-docs-drift", "перевір дрейф документації", "docs drift". Runs the deterministic scripts/check-docs-drift.py (parses the public NoteBook methods with ast, compares to what docs/api.md documents — NO LLM finds the gap), reports the drift, and PROPOSES the doc edit that closes it. The gap is found by parsing; the agent writes the missing documentation in the doc's existing style. Edits only docs/; never commits or pushes.
bump-version
Decide and apply the next semver for a release. Triggers on "bump the version", "what version is next", "/bump-version", "простав версію", "яка наступна версія". Reads the next number from the deterministic scripts/next-version.sh (NEVER guesses it), explains in plain language WHICH part moved and why (e.g. "MINOR, because a feat landed: filter notes by tag"), edits the version line in pyproject.toml, and proposes the matching `git tag vX.Y.Z`. The number is decided by a rule; the agent explains and applies — the human confirms the tag. Never pushes a tag itself.