nocobase-app-plugin-development
ما الذي تفعله
توجه هذه المهارة الذكاء الاصطناعي إلى بناء إضافات NocoBase 3 تضيف ميزات إلى التطبيق. وهي مخصصة للمطورين الذين يوسعون تطبيق NocoBase بشيفرة قابلة لإعادة الاستخدام.
متى تستخدمها
- ✓عندما تريد إضافة إضافة جديدة في مجلد packages لتطبيق NocoBase 3.
- ✓عندما تحتاج إلى إضافة تحوي صفحات للعميل وشيفرة للخادم.
- ✓عندما تحتاج إلى تسجيل الإضافة كي يحمّلها التطبيق.
رابط المهارة
https://github.com/nocobase/nocobase/blob/v3-develop/packages/app/app-skills/skills/nocobase-app-plugin-development/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك إنشاء إضافة NocoBase تضيف زر تصدير مخصصًا ونقطة نهاية الخادم الخاصة به؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقرأ الذكاء الاصطناعي إرشادات التطبيق والشيفرة الموجودة للإضافة، ثم ينشئ أو يحدّث أجزاء العميل والخادم وقاعدة البيانات. ويسجل الإضافة كي يتعرف عليها التطبيق.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
NocoBase Plugin Development
Use this Skill to develop a plugin in the user’s existing NocoBase 3 App. Read that App’s AGENTS.md, relevant installed Skills, and the plugin before editing. An App created by create-app identifies itself with nocobase.templateKind: "app" in package.json; its local plugins belong in packages/. Start from an installed App with working dependencies. If no App exists, use the available nocobase-create-app Skill first, then return here. Do not download the NocoBase source repository as a prerequisite.
This Skill ships with the App's installed @nocobase/app-skills; update it through a compatible App upgrade and pnpm nocobase skills sync, not by editing the generated copy or installing a global copy. Read it by its project path when an older global entry has the same name. The upgrade Skill describes retiring that global installation after a project replacement is verified.
For work explicitly in the NocoBase source repository, the repository links this same maintained Skill locally. Read .agents/rules/plugin-development.md from that repository root for source-only creation, registration and validation commands. An App does not need those repository files. Source paths in references are optional lookup locations; use installed exports, declarations and synchronized Skills to verify APIs for the App's version. Do not apply the legacy Plugin class, src/client-v2/ or nb scaffold plugin protocol. If the creation tool or App CLI lacks App-workspace support, report the incompatible packages instead of hand-building a scaffold or downloading the source repository.
Choose the relevant references
These English references adapt the plugin development guide into task-specific instructions. Read the rows relevant to the task; do not load the entire reference set by default.
| Task | Read |
|---|---|
| Create a plugin, choose capabilities, change declarations, exports, dependencies, or public contracts | Scaffolding and package contracts |
| Register, configure, upgrade, disable, unregister, or diagnose plugin integration | Registration and lifecycle |
| Choose Client components, ServiceProviders, React Providers, configuration, or API access | Client architecture |
| Define Server configuration defaults, environment mappings, validation, or browser-visible fields | Plugin configuration |
| Build or change any plugin UI | Shared UI design and host acceptance, then shadcn components and styling |
| Add business pages, menus, Tabs, route dialogs/drawers, child routes, or page overrides | Client routing |
| Design configuration entities, settings permissions, routed editors and safe saves | System settings |
| Define service contracts, Tokens, dependency injection, or lifecycle | Services and Providers |
| Add HTTP endpoints, authorization, Repository operations, background jobs, or queues | Server development |
Name an /api path, choose its method, shape its response or error, or validate its input |
HTTP API rules |
| Add migrations, seeds, or package resource/checksum handling | Database resources |
| Add or change text, locale resources, translated errors, or recipient-language messages | Internationalization |
| Author, publish, install, upgrade, or remove App-owned editable Client source |
الأسئلة الشائعة
هل أحتاج إلى شيفرة NocoBase المصدرية؟
لا. تعمل المهارة داخل تطبيق مثبّت.
هل هي لإضافات NocoBase 2؟
لا. هي لإضافات NocoBase 3.
هل تناسب الميزات التي هي جزء من التطبيق نفسه؟
لا. استخدم مهارة تطوير التطبيق لهذه الميزات.
التفاصيل
الوصف الأصلي من المؤلف
Create and maintain NocoBase 3 plugins inside an existing App or a NocoBase 3 source workspace, including Client, Server, CLI, database resources, UI Library integration, Plugin Skills, and registration. Use for App-local plugins under packages/ and source-workspace plugins or examples. Not for creating an App, application-only feature work, or legacy NocoBase 2 plugins.
repo: nocobase/nocobase
الشعبية
- نجوم GitHub
- 25k
- الترتيب
- #10080
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
nocobase-app-development
25kيساعد وكيلك على بناء صفحات ومسارات وبيانات وصلاحيات واختبارات لتطبيق أعمال كامل على NocoBase 3.
shadcn
25kيساعد وكيلك على إيجاد مكونات shadcn/ui وإضافتها وإصلاحها وتنسيقها في مشروع ويب، باستخدام وثائقها الرسمية وسجلاتها.
nocobase-app-upgrade
25kيساعد وكيلك على ترقية تطبيق NocoBase إلى إصدار أحدث من القالب، فيأخذ تغييرات القالب ويحتفظ بعملك الخاص.
nocobase-deployment
25kيساعد وكيلك على تخطيط تطبيق NocoBase 3 ونشره وفحصه على خادم Studio أو Node.js أو Docker.
مهارات مشابهة
api-connector-builder
280kيبني وكيلك اتصالات API جديدة على النمط الموجود، ويفيد عندما تحتاج إلى تكامل إضافي دون ابتكار طريقة جديدة للعمل.
api-design
280kيساعد وكيلك على تصميم واجهات REST API وفق أفضل الممارسات، ويوضح كيف تتواصل وكيف تُعرض الأخطاء وكيف تُنظَّم البيانات.
backend-patterns
280kيساعد وكيلك على أنماط بنية الخادم وتحسين قاعدة البيانات، ويفيد في بناء الشيفرة التي تعمل على الخادم أو مراجعتها.