publish-moviepilot-plugin
Fungsinya
Skill ini memandu AI untuk mengunggah satu plugin MoviePilot lokal ke repositori GitHub, dengan pratinjau perubahan terlebih dahulu dan menjaga rahasia tetap di luar unggahan. Skill ini untuk pengembang plugin yang membagikan plugin mereka.
Kapan dipakai
- ✓Saat Anda ingin menerbitkan plugin MoviePilot Anda ke repositori GitHub.
- ✓Saat Anda ingin membandingkan plugin lokal Anda dengan versi yang sudah ada di GitHub.
- ✓Saat Anda ingin menarik berkas terbaru sebuah plugin dari GitHub kembali ke sumber lokal Anda.
Link skill
https://github.com/jxxghp/MoviePilot/blob/v3/skills/publish-moviepilot-plugin/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Tolong terbitkan plugin MoviePilot saya ke GitHub, tetapi tunjukkan perubahannya terlebih dahulu.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI memeriksa metadata dan tata letak folder plugin, mengecualikan berkas sensitif, menampilkan pratinjau perbedaan, lalu menulis ke GitHub hanya setelah pratinjau tersebut.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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>/orplugins/<plugin_id_lower>/to a GitHub repository. - Merge only that plugin's entry into
package.v3.json,package.v2.jsonorpackage.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, andPLUGIN_LOCAL_REPO_PATHSwhen 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, especiallyGITHUB_TOKENandREPO_GITHUB_TOKEN. - Plugin package layouts:
- V3:
package.v3.jsonandplugins.v3/<plugin_id_lower>/ - V2:
package.v2.jsonandplugins.v2/<plugin_id_lower>/ - Legacy:
package.jsonandplugins/<plugin_id_lower>/
- V3:
Pre-Flight
- 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.
- 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/repoand state that the repository will be public by default. - Do not create a private repository unless the user explicitly asks for it.
- Select the package version layout.
- Prefer
v3when the plugin lives underplugins.v3/<plugin_id_lower>/or the repository shipspackage.v3.json(current MoviePilot V3 hosts). - Prefer
v2whenpackage.v2.jsonorplugins.v2/<plugin_id_lower>/exists. - Use legacy only when the local plugin is under
plugins/.
- Prefer
- Verify token availability.
- Prefer
REPO_GITHUB_TOKENfor 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.
- Prefer
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.autoresolves 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. Passv3explicitly for current MoviePilot V3 plugin repositories.create-repo: create the target GitHub repository. Default visibility is public; use--privateonly when the user explicitly asked for private.preview: compare local filtere
Pertanyaan umum
Apakah repositori GitHub baru bersifat publik?
Skill ini menyebutkan bahwa repositori bersifat publik secara default kecuali Anda meminta yang privat.
Apakah saya perlu memasukkan token GitHub saya ke dalam obrolan?
Tidak. Skill ini memakai ulang token GitHub yang sudah diatur di pengaturan MoviePilot.
Apakah skill ini juga menerbitkan plugin lain?
Tidak. Skill ini hanya menerbitkan plugin yang Anda sebutkan dan hanya menggabungkan entri metadata plugin tersebut.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 12k
- Peringkat
- #11489
- Lisensi
- GPL-3.0
- Diperbarui
- 1/11/2026
Komentar
- …
Skill lain dari repositori ini
anysearch
12kMembantu agent Anda mencari di web secara real-time, membuat query ke sumber khusus seperti data keuangan atau akademik, dan membaca halaman web lengkap.
browser-use
12kMembantu agent Anda membuka halaman web, membacanya, mengklik tombol, mengisi formulir, dan mengambil tangkapan layar untuk memeriksa hasilnya.
command-dispatch
12kMembantu agent Anda menemukan dan menjalankan perintah sistem atau plugin MoviePilot dari sebuah permintaan, setelah memeriksa perintah mana yang tersedia.
create-moviepilot-plugin
12kMembantu agent Anda membuat atau memperbaiki plugin MoviePilot, dengan tata letak berkas dan penyiapan yang sesuai untuk versi MoviePilot.
Skill serupa
api-connector-builder
280kMembuat agent Anda membangun koneksi API baru mengikuti pola yang sudah ada. Gunakan saat ingin menambah integrasi lagi tanpa membuat cara baru.
api-design
280kMembantu agent Anda merancang REST API sesuai praktik terbaik. Berguna untuk mengatur cara API berkomunikasi, menampilkan error, dan mengorganisasi data.
backend-patterns
280kMembantu agent Anda dengan pola arsitektur sisi server dan optimasi database. Berguna untuk membangun atau meninjau kode yang berjalan di server.