Pular para o conteúdo
Skillpedia
APIs e servidores (backend)25 mil · #10103

nocobase-app-plugin-notification

O que ela faz

Esta skill integra e configura o plugin de notificações do NocoBase. Cobre o envio de mensagens por canais, a verificação de registros de entrega e o diagnóstico de envios com falha. Ela é indicada para desenvolvedores que enviam alertas a partir de um app de negócios.

Quando usar

  • ✓Quando o código de negócio precisa enviar uma notificação por um canal configurado.
  • ✓Quando uma notificação não foi entregue e você precisa descobrir por quê.
  • ✓Quando você quer adicionar um transporte personalizado para enviar notificações.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-notification/skills/nocobase-app-plugin-notification/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Você pode fazer meu app NocoBase enviar uma notificação por e-mail ao gerente quando uma solicitação for enviada?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A IA configura um canal nomeado, monta a mensagem e a envia pelo serviço de notificações. O histórico de notificações e entregas é mantido para que as falhas possam ser rastreadas.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.

Perguntas frequentes

Um envio aceito significa que a pessoa recebeu?

Não necessariamente. A skill separa um envio aceito da entrega final.

Posso adicionar meu próprio transporte?

Sim. A skill cobre extensões de tipo de canal para transportes personalizados.

Ele guarda registro dos envios?

Sim. Ele guarda o histórico de notificações, entregas e tentativas.

Detalhes

Descrição original do autor

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

repo: nocobase/nocobase

Popularidade

Estrelas no GitHub
25 mil
Posição no ranking
#10103
Licença
—
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas