본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)12k · #11489

publish-moviepilot-plugin

하는 일

로컬 MoviePilot 플러그인 하나를 GitHub 저장소에 올리도록 AI 에이전트를 안내합니다. 먼저 변경 사항을 미리 보고, 비밀 정보는 업로드에서 제외합니다. 플러그인을 공유하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓MoviePilot 플러그인을 GitHub 저장소에 게시하고 싶을 때.
  • ✓로컬 플러그인과 GitHub에 이미 있는 버전을 비교하고 싶을 때.
  • ✓GitHub에 있는 플러그인의 최신 파일을 로컬 소스로 가져오고 싶을 때.

스킬 링크

https://github.com/jxxghp/MoviePilot/blob/v3/skills/publish-moviepilot-plugin/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/jxxghp/MoviePilot/blob/v3/skills/publish-moviepilot-plugin/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 MoviePilot 플러그인을 GitHub에 게시해 주세요. 단, 변경 사항을 먼저 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 플러그인의 메타데이터와 폴더 구조를 확인하고, 민감한 파일을 제외하며, 차이점을 미리 보여 준 뒤에만 GitHub에 씁니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Publish MoviePilot Plugin

Use this skill to publish and maintain a MoviePilot local plugin repository through GitHub while protecting local secrets and unrelated plugins.

Scope

  • Publish one local plugin under plugins.v3/<plugin_id_lower>/, plugins.v2/<plugin_id_lower>/ or plugins/<plugin_id_lower>/ to a GitHub repository.
  • Merge only that plugin's entry into package.v3.json, package.v2.json or package.json.
  • Preview local/remote differences before writing.
  • Pull remote plugin files back to the local plugin source.
  • Create the target GitHub repository when the user explicitly chooses automatic creation; repositories are public by default unless the user asks for private.
  • Reuse MoviePilot settings GITHUB_TOKEN, REPO_GITHUB_TOKEN, and PLUGIN_LOCAL_REPO_PATHS when available.

Ground Truth

  • Local plugin development rules: skills/create-moviepilot-plugin/SKILL.md.
  • Local plugin source discovery: app/adapters/external/market.py, PluginHelper.get_local_repo_paths().
  • GitHub token settings: app/runtime/config.py, especially GITHUB_TOKEN and REPO_GITHUB_TOKEN.
  • Plugin package layouts:
    • V3: package.v3.json and plugins.v3/<plugin_id_lower>/
    • V2: package.v2.json and plugins.v2/<plugin_id_lower>/
    • Legacy: package.json and plugins/<plugin_id_lower>/

Pre-Flight

  1. Identify the target plugin ID and local source repository.
    • If the user gives a path, use it.
    • Otherwise query PLUGIN_LOCAL_REPO_PATHS; if exactly one configured repository contains the plugin, use it.
    • If several configured repositories contain the plugin, ask which one.
  2. Identify the GitHub repository as owner/repo.
    • Use the user's explicit repository first.
    • If omitted, infer only when the local source has an obvious Git remote.
    • If neither is available, ask whether to use an existing repository or automatically create a new public repository.
    • If the user chooses an existing repository, ask for owner/repo.
    • If the user chooses automatic creation, ask for the target owner/repo and state that the repository will be public by default.
    • Do not create a private repository unless the user explicitly asks for it.
  3. Select the package version layout.
    • Prefer v3 when the plugin lives under plugins.v3/<plugin_id_lower>/ or the repository ships package.v3.json (current MoviePilot V3 hosts).
    • Prefer v2 when package.v2.json or plugins.v2/<plugin_id_lower>/ exists.
    • Use legacy only when the local plugin is under plugins/.
  4. Verify token availability.
    • Prefer REPO_GITHUB_TOKEN for the target repo when configured.
    • Fall back to GITHUB_TOKEN.
    • If no token is configured, ask the user to configure one before pushing. Read-only preview may still run without a token for public repositories.

Script

Use scripts/publish_plugin.py for deterministic GitHub operations.

python skills/publish-moviepilot-plugin/scripts/publish_plugin.py preview \
  --repo owner/repo \
  --plugin-id MyPlugin \
  --local-repo /path/to/MoviePilot-Plugins \
  --package-version v2

python skills/publish-moviepilot-plugin/scripts/publish_plugin.py push \
  --repo owner/repo \
  --plugin-id MyPlugin \
  --local-repo /path/to/MoviePilot-Plugins \
  --package-version v2 \
  --message "Publish MyPlugin v1.0.0"

python skills/publish-moviepilot-plugin/scripts/publish_plugin.py pull \
  --repo owner/repo \
  --plugin-id MyPlugin \
  --local-repo /path/to/MoviePilot-Plugins \
  --package-version v2

# V3 插件仓库(package.v3.json + plugins.v3/)
python skills/publish-moviepilot-plugin/scripts/publish_plugin.py push \
  --repo owner/repo \
  --plugin-id MyPlugin \
  --local-repo /path/to/MoviePilot-Plugins \
  --package-version v3 \
  --message "Publish MyPlugin v1.0.0"

python skills/publish-moviepilot-plugin/scripts/publish_plugin.py create-repo \
  --repo owner/repo

Options:

  • --package-version v3|v2|legacy|auto: layout selector. auto resolves the layout from where the plugin directory actually lives (plugins.v3 → plugins.v2 → plugins), then falls back to the manifest files, so repositories that still keep both manifests stay correct. Pass v3 explicitly for current MoviePilot V3 plugin repositories.
  • create-repo: create the target GitHub repository. Default visibility is public; use --private only when the user explicitly asked for private.
  • preview: compare local filtere
자주 묻는 질문

새 GitHub 저장소는 공개인가요?

스킬은 따로 비공개를 요청하지 않는 한 저장소가 기본적으로 공개라고 설명합니다.

채팅에 GitHub 토큰을 넣어야 하나요?

아닙니다. MoviePilot 설정에 이미 있는 GitHub 토큰을 재사용합니다.

다른 플러그인도 게시하나요?

아닙니다. 이름이 지정된 플러그인 하나만 게시하고, 그 플러그인의 메타데이터 항목만 병합합니다.

상세 정보

작성자의 원본 설명

Use this skill when the user asks to publish, upload, sync, pull, push, diff, or maintain a MoviePilot local plugin in a GitHub repository. Covers using the configured MoviePilot GitHub token, PLUGIN_LOCAL_REPO_PATHS local plugin repositories, package.json/package.v2.json/package.v3.json metadata, plugins/plugins.v2/plugins.v3 layouts, safe file exclusion, diff preview before publishing, incremental GitHub Contents API updates, and syncing local plugin changes back from GitHub. Includes asking whether to use an existing repository or create a new public repository when no target repository is

repo: jxxghp/MoviePilot

인기도

GitHub 스타
12k
순위
#11489
라이선스
GPL-3.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬