Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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 developer npm 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 opencut for 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 under npm run dev.
  • Local-first: notes text lives in localStorage, frame screenshots in IndexedDB, 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 run npm 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.command flow from the README — no Node.js install needed, it's bootstrapped automatically.
  • Run it as a developer / contribute: use the npm install && npm run dev path in references/local-setup.md.
  • Understand the AI-package round trip or story-structure/emotion-curve logic: read references/project-structure.md first.
  • Propose a code change / PR: read references/contributing-focus.md before 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 surfaces
  • src/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.ts at the repo root — the two local-only Vite dev-server AP
Полный SKILL.md на GitHub

Установить lapian-notes в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Glob
Bash
Write
Edit

Вложенные файлы

SKILL.toonevals/evals.jsonreferences/contributing-focus.mdreferences/local-setup.mdreferences/project-structure.mdscripts/fetch-docs.sh

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить lapian-notes с