Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

nocobase-app-plugin-notification

БесплатноБез исполняемых скриптовНе проверен

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

nocobaseот nocobase★ 25 082 звезды на 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. For built-in channel configuration (email transports, SMS with Alibaba Cloud or Tencent Cloud, Feishu, DingTalk), read the nocobase-app-plugin-notification-providers Skill. Its package may be absent from the application: inspect the registered plugins first.
  7. Verify changed packages and consumers with lint, typecheck, tests, and build. Cover atomic validation, independent delivery, recipient rules, and retries bound to original identities.

When adding or changing notification business, register it as a notification kind with its channel policies, real content builder and synthetic sample, and send it to people with notify(kind, { to: userIds }); keep send() for addresses that are not users. The plugins provide the inbox, the System settings and Personal settings notification pages: never copy them into the application, customize them through plugin options, extension points or routeComponentOverrides. Never imply that a channel or delivery log enumerates business templates.

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

Never put a one-time code, password or step-up credential in an ordinary send() or notify(): they persist the message in notification history, the queue and logs. Verification codes, verified phone binding and step-up confirmation belong to the nocobase-app-plugin-verification Skill when that plugin is installed, and SMS channel and provider settings belong to the nocobase-app-plugin-notification-providers Skill. Do not rebuild a code store on sendTransient() when the verification service fits.

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.

Полный SKILL.md на GitHub

Установить nocobase-app-plugin-notification в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write
Grep
Glob

Вложенные файлы

references/channel-and-provider-extensions.mdreferences/delivery-diagnostics.mdreferences/integration-and-configuration.mdreferences/notification-concepts.mdreferences/sending-notifications.mdreferences/template-directory.md

FAQ

Что делает скилл nocobase-app-plugin-notification?

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

Как установить скилл nocobase-app-plugin-notification?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл nocobase-app-plugin-notification запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить nocobase-app-plugin-notification с