create-moviepilot-plugin
ما الذي تفعله
يرشد وكيل الذكاء الاصطناعي خلال بناء إضافات MoviePilot من مجلد مصدر محلي، بما فيها صفحات الإعدادات وواجهات API. وهي مناسبة للمطورين الذين يوسعون MoviePilot.
متى تستخدمها
- ✓عندما تريد بناء إضافة جديدة لـ MoviePilot من الصفر.
- ✓عندما تحتاج إلى إصلاح إضافة موجودة لـ MoviePilot أو تحديثها.
- ✓عندما تريد إضافة فيها صفحة إعدادات أو لوحة معلومات مبنية بنماذج Vuetify.
رابط المهارة
https://github.com/jxxghp/MoviePilot/blob/v3/skills/create-moviepilot-plugin/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل تساعدني في إنشاء إضافة MoviePilot تعرض صفحة حالة التنزيلات؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يتحقق الوكيل من إصدار MoviePilot، ويستخدم تخطيط الإضافة وملفات البيانات الوصفية المناسبة، ثم يكتب شيفرة الإضافة ويتحقق منها.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Create MoviePilot Plugin
Use this skill to build or revise MoviePilot plugins that can be developed from a local plugin source and installed into the running MoviePilot instance.
Ground Truth
- Host plugin contract:
app/plugins/__init__.py, especially_PluginBase. - Host plugin discovery, local source sync, install, reload:
app/runtime/extensions/plugin_manager.pyandapp/adapters/external/market.py. - Host plugin endpoints, API auth, static files, remotes, and sidebar nav:
app/api/endpoints/plugin.py. - Local development note:
docs/development-setup.md. - First identify the actual host generation from its source/version and the
target plugin repository. MoviePilot V3 uses
plugins.v3/withpackage.v3.json; V2 usesplugins.v2/withpackage.v2.json; legacy V1 usesplugins/withpackage.json. Do not generate V2 paths for a V3 host. - When working in or from
MoviePilot-Plugins, read itsREADME.md,docs/Repository_Guide.md, and the guide for the target generation:docs/Plugin_Development.mdfor V3,docs/V2_Plugin_Development.mdfor V2. For scenario-specific extensions, read the matchingdocs/faq/*.md. - For V3, prefer the public
app.sdk.*entry points documented by the current host and guide; do not copy old internal imports from a V2 example. Verify extension signatures against the installed host before using a template.
Task Scope
A request to create or fix a plugin authorizes relevant local source edits and validation. Reuse that authorization; it does not by itself authorize changing host configuration, installing/reloading the plugin, restarting, or publishing. Perform those steps when the user requested them or already approved their scope, honoring host confirmation requirements. Inspect auto-reload settings before editing a live watched plugin source; such edits can affect the runtime immediately and require that runtime effect to be within the authorized scope.
Code Tool Workflow
- Use
execute_command(action="run")withrgand narrow globs or paths to locate plugin classes, extension points, tests, package entries, and directory contents. - Read the relevant implementation and adjacent example before editing.
- If
read_filereports truncation, continue with smallerstart_lineandend_lineranges until all relevant sections have been inspected. - Before using a Python or Node.js dependency API, determine the exact installed
or locked version from requirements, package manifests, lockfiles, local
package source, and
.pyi/.d.tsdeclarations. If those are insufficient, usesearch_webwith the official documentation domain andbrowse_webpageto read the matching version. Do not guess API signatures from memory or mix examples from different major versions. Search the relevant package directory,.venv, ornode_modulesdirectly withrginstead of scanning the entire project without bounds. - Pick the editing tool by scope. Use
apply_patchwhen one logical change spans multiple files, adds new files, or deletes files: submit a single patch wrapped in*** Begin Patch/*** End Patchwith*** Add File:,*** Update File:, and*** Delete File:sections; every context and removed line must match the current content exactly. - Use
edit_filefor a single localized change in one file. Itsold_textmust identify one exact location by default; add surrounding context instead of enablingreplace_allunless every match intentionally changes. - Use
write_filefor one standalone new file. Existing files requireoverwrite=truefor a full rewrite; first callread_file(include_metadata=true)and pass itssha256asexpected_sha256when replacing previously read content. - Use
execute_command(action="run")for short validation, Git, and diagnostic commands. Useaction="start"only for interactive or long-running commands, then continue through the returned session ID. - Read the structured command result: only
execution_outcome="succeeded"withexit_code=0means a completed command passed. Inspectoutputon failure andoutput_filefor a truncated log. A timeout or unknown result does not undo side effects and must not trigger a blind retry of a write. - For background commands, resume using both
output_until_seqandoutput_until_offsetassince_seqandsince_offset. Start with offset 0 for partial-chunk paging;last_seqis not a consumed pos
الأسئلة الشائعة
هل تعمل مع كل إصدارات MoviePilot؟
لا. تطلب المهارة من الوكيل تحديد الإصدار أولا، لأن V3 وV2 وV1 تستخدم تخطيطات مجلدات مختلفة.
أين تُحفظ شيفرة الإضافة؟
تستخدم مجلد مصدر محليا للإضافة يستطيع MoviePilot تحميله منه وتثبيته.
هل أستطيع إضافة صفحة ويب إلى الإضافة؟
نعم. تغطي صفحات JSON بـ Vuetify والنماذج ولوحات المعلومات.
التفاصيل
الوصف الأصلي من المؤلف
Use this skill when the user asks to create, modify, debug, validate, or scaffold a MoviePilot local plugin. Covers version-aware V3/V2 plugin development, _PluginBase implementations, package.v3.json/package.v2.json/package.json metadata, plugins.v3/plugins.v2/plugins source layout, PLUGIN_LOCAL_REPO_PATHS local plugin sources, plugin APIs, Vuetify JSON forms/pages/dashboards, Vue module federation remote components, get_render_mode, get_sidebar_nav, plugin sidebar pages, get_agent_pets assistant avatars, commands, services, workflow actions, agent tools, and local install/reload flows. Also
repo: jxxghp/MoviePilot
الشعبية
- نجوم GitHub
- 12k
- الترتيب
- #11480
- الترخيص
- GPL-3.0
- آخر تحديث
- 1/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
anysearch
12kيساعد وكيلك على البحث في الويب فوريا، والاستعلام من مصادر متخصصة مثل المالية والبيانات الأكاديمية، وقراءة صفحات الويب كاملة.
browser-use
12kيساعد وكيلك على فتح صفحات الويب وقراءتها والنقر على الأزرار وملء النماذج وأخذ لقطات شاشة للتحقق من النتائج.
command-dispatch
12kيساعد وكيلك على إيجاد أوامر MoviePilot النظامية أو الخاصة بالإضافات وتشغيلها من طلبك، بعد التحقق من وجودها.
database-operation
12kيساعد وكيلك على فحص سجلات قاعدة بيانات MoviePilot وعدّها وإصلاحها بحذر، باستخدام سكربت مساعد آمن.
مهارات مشابهة
api-connector-builder
280kيبني وكيلك اتصالات API جديدة على النمط الموجود، ويفيد عندما تحتاج إلى تكامل إضافي دون ابتكار طريقة جديدة للعمل.
api-design
280kيساعد وكيلك على تصميم واجهات REST API وفق أفضل الممارسات، ويوضح كيف تتواصل وكيف تُعرض الأخطاء وكيف تُنظَّم البيانات.
backend-patterns
280kيساعد وكيلك على أنماط بنية الخادم وتحسين قاعدة البيانات، ويفيد في بناء الشيفرة التي تعمل على الخادم أو مراجعتها.