Aller au contenu
Skillpedia
API et serveurs (backend)25k · #10103

nocobase-app-plugin-notification

Ce qu’il fait

Cette skill intègre et configure le plugin de notifications de NocoBase. Elle couvre l'envoi de messages par canaux, la vérification des historiques de livraison et le diagnostic des envois échoués. Elle s'adresse aux développeurs qui envoient des alertes depuis une application métier.

Quand l’utiliser

  • ✓Quand le code métier doit envoyer une notification par un canal configuré.
  • ✓Quand une notification n'a pas été livrée et qu'il faut en trouver la cause.
  • ✓Quand vous voulez ajouter un transport personnalisé pour envoyer des notifications.

Lien du skill

https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-notification/skills/nocobase-app-plugin-notification/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-notification/skills/nocobase-app-plugin-notification/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Je voudrais que mon application NocoBase envoie une notification par e-mail au responsable quand une demande est soumise.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'IA configure un canal nommé, construit le message et l'envoie par le service de notification. L'historique des notifications et des livraisons est conservé pour retrouver les échecs.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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.

  1. Read Notification concepts for package ownership and delivery status semantics.
  2. For plugin registration, configuration, migrations, or log APIs, read Integration and configuration. Configure a Channel name mapped to one flat configuration with type (provider remains a compatibility alias).
  3. 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.
  4. For failures and retries, read Delivery diagnostics. Preserve Notification, Delivery, Attempt, and retry-audit history; distinguish accepted submission from final delivery.
  5. For custom transports, read Channel type extensions. Register classes implementing ChannelInstance with registerChannelType through notificationExtensionRegistryToken and retain the queue/lease/retry lifecycle. Use deprecated registerChannel() / registerProvider() only when maintaining legacy compatibility code or its tests; official implementations and examples use the class API.
  6. 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.

Questions fréquentes

Un envoi accepté signifie-t-il que la personne l'a reçu ?

Pas nécessairement. La skill distingue une soumission acceptée et la livraison finale.

Puis-je ajouter mon propre transport ?

Oui. La skill couvre les extensions de types de canaux pour les transports personnalisés.

Garde-t-il une trace des envois ?

Oui. Il conserve l'historique des notifications, des livraisons et des tentatives.

Détails

Description originale de l’auteur

Use when agents need to integrate, configure, send, inspect, or diagnose NocoBase notifications based on app-plugin-notification.

repo: nocobase/nocobase

Popularité

Étoiles GitHub
25k
Position au classement
#10103
Licence
—
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires