nocobase-app-plugin-notification
ما الذي تفعله
تدمج هذه المهارة إضافة الإشعارات في NocoBase وتضبطها. تغطي إرسال الرسائل عبر القنوات، وفحص سجلات التسليم، وتشخيص الإرسال الفاشل. وهي مخصصة للمطورين الذين يرسلون تنبيهات من تطبيق أعمال.
متى تستخدمها
- ✓عندما تحتاج شيفرة الأعمال إلى إرسال إشعار عبر قناة مُعدّة.
- ✓عندما لا يصل إشعار ويجب معرفة السبب.
- ✓عندما تريد إضافة ناقل مخصص لإرسال الإشعارات.
رابط المهارة
https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-notification/skills/nocobase-app-plugin-notification/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك جعل تطبيق NocoBase الخاص بي يرسل بريدًا إلكترونيًا إلى المدير عند تقديم طلب؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يضبط الذكاء الاصطناعي قناة مسماة، ويبني الرسالة، ويرسلها عبر خدمة الإشعارات. ويُحفظ سجل الإشعارات والتسليم والمحاولات حتى يمكن تتبع الإخفاقات.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Notification development
Inspect the application's registered plugins and effective notification configuration before changing integration code. Missing required input blocks an actual send; use the recipient and Channel scope already authorized in the conversation and ask only for missing information.
- Read Notification concepts for package ownership and delivery status semantics.
- For plugin registration, configuration, migrations, or log APIs, read Integration and configuration. Configure a Channel name mapped to one flat configuration with
type(providerremains a compatibility alias). - For sending or typed consumers, read Sending notifications. Resolve
notificationServiceToken; construct complete messages keyed by Channel name and use native recipient addresses. Validate the intended external effect before sending. - For failures and retries, read Delivery diagnostics. Preserve Notification, Delivery, Attempt, and retry-audit history; distinguish accepted submission from final delivery.
- For custom transports, read Channel type extensions. Register classes implementing
ChannelInstancewithregisterChannelTypethroughnotificationExtensionRegistryTokenand retain the queue/lease/retry lifecycle. Use deprecatedregisterChannel()/registerProvider()only when maintaining legacy compatibility code or its tests; official implementations and examples use the class API. - Verify changed packages and consumers with lint, typecheck, tests, and build. Cover atomic validation, independent delivery, recipient rules, and retries bound to original identities.
For delivery diagnostics, exercise the normal business notification flow or use a server-side script resolving notificationServiceToken with complete message input. Use an authorized recipient and inspect the returned notification ID in the logs. Credentials stay on the server.
High-impact actions and rollback
For bulk sends and live configuration changes, establish the intended recipients, Channels, and external effect from the user's authorization. An unknown result may already have reached its recipient; confirm the external effect before creating a new logical send.
Rollback source/configuration through the application's normal deployment process. A submitted notification cannot be recalled by this plugin. Preserve its history and report the observed status. Keep message bodies, recipient snapshots, credentials, and Webhook URLs out of logs and reports.
Sensitive messages
Use notificationService.sendTransient({ channel, message }) for a message containing a one-time credential. It validates and prepares the message with the configured channel and submits it once with the provider timeout, without creating notification rows, jobs, retry state, or status events. The result is one provider outcome per recipient; raw provider diagnostics are replaced with generic errors while retaining an allowlisted category and submission status for credential-free troubleshooting. There is no durable idempotency or automatic retry, and a timeout is submission_unknown. The caller owns safe recovery, rate limits, and any credential-free audit. The external mail provider and recipient still receive the message.
الأسئلة الشائعة
هل يعني الإرسال المقبول أن الشخص استلمه؟
ليس بالضرورة. تفصل المهارة بين الإرسال المقبول والتسليم النهائي.
هل أستطيع إضافة ناقل خاص بي؟
نعم. تغطي المهارة توسيعات أنواع القنوات للنواقل المخصصة.
هل يحتفظ بسجل للإرسال؟
نعم. يحتفظ بسجل الإشعارات والتسليم والمحاولات.
التفاصيل
الوصف الأصلي من المؤلف
Use when agents need to integrate, configure, send, inspect, or diagnose NocoBase notifications based on app-plugin-notification.
repo: nocobase/nocobase
الشعبية
- نجوم GitHub
- 25k
- الترتيب
- #10103
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
nocobase-app-development
25kيساعد وكيلك على بناء صفحات ومسارات وبيانات وصلاحيات واختبارات لتطبيق أعمال كامل على NocoBase 3.
shadcn
25kيساعد وكيلك على إيجاد مكونات shadcn/ui وإضافتها وإصلاحها وتنسيقها في مشروع ويب، باستخدام وثائقها الرسمية وسجلاتها.
nocobase-app-plugin-development
25kيساعد وكيلك على إنشاء إضافات NocoBase 3 وصيانتها داخل تطبيق موجود، بما في ذلك أجزاء الخادم والعميل وقاعدة البيانات والتسجيل.
nocobase-app-upgrade
25kيساعد وكيلك على ترقية تطبيق NocoBase إلى إصدار أحدث من القالب، فيأخذ تغييرات القالب ويحتفظ بعملك الخاص.
مهارات مشابهة
api-connector-builder
280kيبني وكيلك اتصالات API جديدة على النمط الموجود، ويفيد عندما تحتاج إلى تكامل إضافي دون ابتكار طريقة جديدة للعمل.
api-design
280kيساعد وكيلك على تصميم واجهات REST API وفق أفضل الممارسات، ويوضح كيف تتواصل وكيف تُعرض الأخطاء وكيف تُنظَّم البيانات.
backend-patterns
280kيساعد وكيلك على أنماط بنية الخادم وتحسين قاعدة البيانات، ويفيد في بناء الشيفرة التي تعمل على الخادم أو مراجعتها.