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 отправляло менеджеру email-уведомление, когда поступает заявка.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
ИИ настраивает именованный канал, формирует сообщение и отправляет его через сервис уведомлений. История уведомлений и доставки сохраняется, поэтому сбои можно отследить.
Технический текст (оригинальный 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
- Лицензия
- —
- Обновлён
- 02.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 по лучшим практикам: как API общаются, как показываются ошибки и как организовать данные.
backend-patterns
280kПомогает агенту с архитектурными паттернами серверной части и оптимизацией баз данных. Полезен при создании и проверке серверного кода.