lapian-notes
БесплатноЗапускает вложенные скриптыНе проверенWork with Lapian Notes / 拉片笔记 (github.com/bkingfilm/lapian-notes) — a local- first React/Vite tool that turns a film into an editable shot-by-shot study…
от akillness★ 63 звезды на GitHubОб этом скилле
Lapian Notes (拉片笔记)
Guidance for cloning, running, and contributing to Lapian Notes — a local-first web tool that turns a film into an editable "拉片" (shot-by-shot analysis) notebook: frame extraction, AI-assisted story-structure analysis via a bring-your-own-AI ZIP round trip, story-line swimlanes, a structure tree, and an audience-engagement/emotion curve, all synced to a video player.
When to use this skill
- The user wants to clone, set up, or run Lapian Notes locally (end-user
scripts
run.bat/run.command, or developernpm run dev) - The user asks about the project structure (
src/lib,src/components, the dev-server transcode/subtitle plugins) or the data storage model (localStorage + IndexedDB + exportable ZIP) - The user asks about the AI-analysis-package workflow: import film → frame-extract/subtitle → generate ZIP → hand to any AI (ChatGPT etc., no API key) → import the AI's JSON result back → swimlane timeline / structure tree / emotion curve are generated
- The user wants to contribute a PR and needs setup, lint/build commands, and current focus areas
When not to use this skill
- General video editing / timeline cutting unrelated to shot-by-shot analysis
notebooks → use
opencutfor an actual video editor - General film theory / narrative analysis with no connection to this codebase → answer directly, no skill needed
- Building a new AI film-analysis pipeline that bypasses this tool's "bring your own AI, no API key" ZIP round-trip design → that's a different project; don't retrofit this skill's guidance onto it
- Generic React/Vite performance questions not specific to this repo →
use
react-best-practices
Project shape
- Stack: React 19 + TypeScript + Vite 8, no backend server required for
the core app — two small Vite dev-server plugins (
transcode-server- plugin.ts,subtitle-server-plugin.ts) provide local-only HTTP endpoints for auto-transcode and subtitle search, available only undernpm run dev. - Local-first: notes text lives in
localStorage, frame screenshots inIndexedDB, both on-device; nothing is uploaded. "保存项目" exports a self-contained ZIP (notes + screenshots + Markdown) for backup/migration across browsers. - No AI vendor lock-in: the tool never calls an AI API itself. It packages screenshots/subtitles/context into a ZIP with a pre-copied prompt; the user pastes the prompt and uploads the ZIP to whichever AI chat tool they use, then imports the AI's returned JSON back into the tool.
- End users vs. developers: most users never touch Node.js — they download
a release ZIP and double-click
run.bat(Windows) /run.command(macOS), which bootstraps a portable Node.js and starts the app automatically. Developers instead runnpm install && npm run dev.
See references/project-structure.md for the full repo layout, key src/lib
modules (frame/subtitle/transcode pipeline, story-structure/emotion-curve
logic, autosave/project-store), and the AI-package round-trip data flow in
detail.
Instructions
Step 1: Confirm what the user actually needs
- Just run it (non-developer): point them at the download-ZIP + double-
click
run.bat/run.commandflow from the README — no Node.js install needed, it's bootstrapped automatically. - Run it as a developer / contribute: use the
npm install && npm run devpath inreferences/local-setup.md. - Understand the AI-package round trip or story-structure/emotion-curve
logic: read
references/project-structure.mdfirst. - Propose a code change / PR: read
references/contributing-focus.mdbefore writing any diff.
Step 2: Set up a dev environment
bash git clone https://github.com/bkingfilm/lapian-notes.git cd lapian-notes npm install npm run dev
Open the printed local URL (default http://localhost:5173). Use npm run dev, not a static build, whenever auto-transcode or subtitle-search features
are needed — those are served by the dev-server plugins and degrade to manual
steps in a npm run build static bundle. Full detail, including the ffmpeg
optional dependency and browser requirement (Chromium-based, for File System
Access / IndexedDB behavior), is in references/local-setup.md.
Step 3: Orient in the codebase before making changes
Read references/project-structure.md for:
src/components/(Toolbar, FrameTimeline, InspectorPanel, ProjectLibrary, WorkflowGuide, BeginnerGuide) — the UI surfacessrc/lib/— frame extraction/store, subtitle fetch/parse (srt.ts,autoSubtitle.ts,videoSubtitles.ts), transcode (transcode.ts), the AI-package build/import (framePackage.ts,aiImport.ts), and the story-structure/emotion-curve/segment-quality analysis modules (storyStructure.ts,storyLines.ts,segmentQuality.ts,segmentCoverage.ts,macroProgress.ts)subtitle-server-plugin.ts/transcode-server-plugin.tsat the repo root — the two local-only Vite dev-server AP
Установить lapian-notes в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepGlobBashWriteEditВложенные файлы
FAQ
Что делает скилл lapian-notes?
Work with Lapian Notes / 拉片笔记 (github.com/bkingfilm/lapian-notes) — a local- first React/Vite tool that turns a film into an editable shot-by-shot study notebook: local frame extraction, AI-assisted structure analysis (bring your own AI, no API key required), story-line swimlane timeline, structure tree, and audience-emotion curve. Use when the user asks about Lapian Notes, "拉片笔记", "拉片" (shot-by-shot film analysis) tooling, cloning/running this repo (npm run dev, run.bat/run.command), the AI-analysis-package (ZIP) round-trip workflow, or contributing a PR to lapian-notes. Not for generic video editing (use `opencut` for that) or generic film-analysis theory unrelated to this codebase.
Как установить скилл lapian-notes?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lapian-notes запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic