develop-timeline-studio-plugin — Claude Code skill: connectors
Guides work on image and video generation connectors for Timeline Studio, from provider checks to importing finished media. Use it when adding or reviewing a provider integration.
npx skills add MartinDelophy/ai-video-editor --skill develop-timeline-studio-plugin -a claude-codeWhat develop-timeline-studio-plugin does
The skill walks through connector design and review, including provider APIs, authentication, job behavior, and automatic retrieval of generated media. Before changing code, it directs the agent to read docs/generation-plugin-development.md, AGENTS.md, and the existing implementations in src/components/GenerationPlugins.jsx and src/hooks/useGenerationPlugins.js.
Each provider belongs in an isolated adapter with a declarative manifest. The host handles cancellation, media validation, and asset commits; completed files go to My assets without being added to the timeline automatically. The skill also sets requirements for localized errors and credential handling. A provider that needs a developer secret in browser code fails the security boundary; developer-owned secrets require a secure backend connection layer.
For validation, it calls for exercising the provider’s actual states and running npm run lint, npm run typecheck, and npm run build. Its scope is generation connectors for Timeline Studio, not ordinary video editing or Codex plugin packaging.
What it helps with
- design an image or video generation connector
- check provider APIs and automatic media retrieval
- extract a shared generation-plugin host or registry
- verify cancellation and job status behavior
- import every generated output into My assets
Example prompts for the agent
- Add an image-generation connector for this provider to Timeline Studio and check it against the project contract.
- Review whether this API can retrieve every generated video automatically and handle credentials safely.
- Check this connector’s cancellation behavior, localized errors, and My assets imports.
How to install develop-timeline-studio-plugin
1Skills CLI (Vercel)
npx skills add MartinDelophy/ai-video-editor --skill develop-timeline-studio-plugin -a claude-code2Manually: put the files in place
~/.claude/skills/develop-timeline-studio-plugin/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/develop-timeline-studio-plugin/
1Skills CLI (Vercel)
npx skills add MartinDelophy/ai-video-editor --skill develop-timeline-studio-plugin -a codex2Manually: put the files in place
.agents/skills/develop-timeline-studio-plugin/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add MartinDelophy/ai-video-editor --skill develop-timeline-studio-plugin -a cursor2Manually: put the files in place
.cursor/skills/develop-timeline-studio-plugin/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install MartinDelophy/ai-video-editor develop-timeline-studio-plugin2Manually: put the files in place
.github/skills/develop-timeline-studio-plugin/SKILL.md1Skills CLI (Vercel)
npx skills add MartinDelophy/ai-video-editor --skill develop-timeline-studio-plugin -a gemini-cli2Platform CLI
gemini skills install https://github.com/MartinDelophy/ai-video-editor --path skills/develop-timeline-studio-pluginManually: put the files in place
.devin/skills/develop-timeline-studio-plugin/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add MartinDelophy/ai-video-editor --skill develop-timeline-studio-plugin -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about develop-timeline-studio-plugin
How do I install develop-timeline-studio-plugin in Claude Code?
Run npx skills add MartinDelophy/ai-video-editor --skill develop-timeline-studio-plugin -a claude-code. The skill file is available at ~/.claude/skills/develop-timeline-studio-plugin/SKILL.md.
What does develop-timeline-studio-plugin do?
It guides the design and review of image and video generation connectors for Timeline Studio. It covers the boundary between provider adapters and the editor host, along with authentication and output retrieval.
What should I check before building a provider connector?
Read docs/generation-plugin-development.md, AGENTS.md, and the current plugin implementations first. The provider needs a safe authentication path and a way to retrieve generated media automatically.
Source text
SKILL.md · MIT
--- name: develop-timeline-studio-plugin description: Design, evaluate, implement, or review image and video generation connectors for Timeline Studio. Use when adding a provider plugin, extracting the generation plugin host or registry, or checking a connector against Timeline Studio's authentication, output, localization, and My assets contract. Do not use for ordinary video editing or Codex plugin packaging. --- # Develop Timeline Studio generation plugins Build a source-integrated generation connector that remains isolated from Timeline Studio's editing core and returns real downloadable media to My assets. ## Start with the contract Read [../../docs/generation-plugin-development.md](../../docs/generation-plugin-development.md) completely before designing or changing a connector. Treat it as the source of truth for provider eligibility, runtime classes, manifest and adapter shapes, security, localization, output normalization, and completion criteria. Also read the repository's `AGENTS.md` and inspect the current implementations in: - `src/components/GenerationPlugins.jsx` - `src/hooks/useGenerationPlugins.js` Do not assume that an external installable plugin runtime already exists. Current plugins are reviewed source integrations. If the shared registry and host described by the contract are absent, make only the bounded extraction required for the requested provider and preserve existing provider behavior. ## Decide before implementing Use the provider's current official documentation to establish: - a stable task/result API or owned browser SDK; - automatic retrieval of every generated image or video; - authentication and credential ownership; - browser and CORS requirements; - real job, progress, error, and cancellation semantics; - temporary-output lifetime, cost, region, and account constraints. Reject a generic embed or manual result-URL workflow. Stop when the provider requires a developer secret in browser code or lacks a safe automatic output route. State the exact missing capability rather than simulating it. ## Preserve the host boundary - Put provider transport and response parsing in an isolated adapter. - Register identity and capabilities through one declarative manifest. - Let the host own concurrency, cancellation arbitration, media validation, object URLs, notifications, and My assets commits. - Never let a provider mutate the timeline or receive broad editor state. - Download and decode output bytes before reporting completion. - Import all declared outputs, not only the first. - Use provider-backed progress or an indeterminate state; never fabricate percentages. - Keep authentication, connection, running, cancelled, complete, and error states honest. ## Product and security requirements - Completed media goes to My assets without automatic timeline insertion. - Provider-managed browser sessions may remain inside the provider SDK boundary. - Developer-owned secrets require a secure backend connection layer. - Loopback plugins accept only `localhost`, `127.0.0.1`, or `::1` and must validate endpoint and CORS before showing connected. - Do not recommend LAN exposure or wildcard CORS. - Localize provider-specific copy directly in `zh`, `en`, `ja`, `ko`, `es`, `fr`, `de`, `pt`, `th`, `vi`, and `ru`. - Convert raw transport failures into localized, actionable errors without leaking secrets. ## Finish visibly Exercise the real states the provider supports, then run `npm run lint`, `npm run typecheck`, and `npm run build`. Do not add persistent test harnesses or test media to the product repository. Update maintained README project-update sections only after the connector actually ships. In the final handoff, report the provider class, authentication boundary, supported modes, cancellation truth, output-download behavior, files changed, and validation results. Call out any capability that remains unavailable instead of presenting it as implemented.
© MartinDelophy · MIT · MartinDelophy/ai-video-editor