nocobase-app-plugin-mail
Что он делает
Этот скилл интегрирует плагин NocoBase Mail в приложение. Он описывает подключение почтовых аккаунтов, добавление экранов почты, отправку писем из бизнес-кода и диагностику проблем синхронизации. Он нужен разработчикам, которые добавляют email в бизнес-приложение.
Когда использовать
- ✓Когда вы хотите, чтобы пользователи подключали почтовые аккаунты Gmail, Microsoft 365 или IMAP к приложению NocoBase.
- ✓Когда бизнес-код должен отправить письмо из приложения.
- ✓Когда почта не синхронизируется или не доставляется, и нужна диагностика.
Ссылка на скилл
https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-mail/skills/nocobase-app-plugin-mail/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Подключите аккаунт Gmail к моему приложению NocoBase, чтобы отдел продаж мог читать и отправлять почту со страницы клиента.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
ИИ следует чек-листу. Он проверяет исходные данные, настраивает почтового провайдера, добавляет экраны почты и проверяет путь отправки. Перед тем как авторизовать внешний почтовый ящик, он запрашивает ваше подтверждение.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Goal
Provide a safe, contract-first workflow for integrating the installed @nocobase/app-plugin-mail package into a NocoBase 3 application and validating the requested behavior.
Contents
- Scope
- Input Contract
- Mandatory Clarification Gate
- Workflow
- Reference Loading Map
- Safety Gate
- Rollback Guidance
- Verification Checklist
- References
Scope
This Skill covers application composition, provider configuration, account connection, production mail UI, business-code sending, drafts, attachments, synchronization, and delivery diagnostics. Use the installed package's public Client, Server, and HTTP contracts; versions may differ from the references.
Non-Goals
Do not change the Mail plugin implementation from an application integration task, access private stores or database tables directly, configure notification delivery, authorize an external mailbox without the user's approval, or claim that mocked checks prove live provider delivery.
Input Contract
| Input | Required | Default | Validation |
|---|---|---|---|
action |
yes | none | One of inspect, configure, integrate, send, or diagnose. Stop and ask when absent or outside the enum. |
target |
yes | none | Application path, installed package path, route, provider, account, or failure identifier relevant to action. Stop and ask when absent. |
provider |
no | auto |
One of gmail, microsoft, imap-smtp, or auto; auto means infer only when the target identifies one provider. |
scope |
no | local |
One of local, authorized-test, or production; live mailbox mutations require explicit authorized-test or production scope. |
validation |
no | static |
One of static, mocked, or live; never imply live when credentials or an authorized environment are unavailable. |
Mandatory Clarification Gate
Before any mutation, confirm that action, target, and the intended scope are present and valid. If a required value is missing, stop and ask rather than guessing. Clarification is bounded to max clarification rounds=2 and max questions per round=3.
When the user says “you decide”, use provider=auto, scope=local, and validation=static; do not connect an account, send mail, mutate a mailbox, or change production configuration under those defaults. For an ambiguous provider, inspect the installed configuration first, then ask if more than one provider remains possible.
Workflow
- Inspect the installed package version, public exports and types, application
client/plugins.ts,server/plugins.ts, and relevant configuration before editing. - Select the smallest matching reference from the loading map. Read additional references only when the task crosses their boundary.
- Check ownership and permissions. The application owns registration, provider configuration, role grants, business associations, and page composition; Mail owns accounts, authorization, submissions, sync runs, cursors, and background job and outbox orchestration.
- Implement through public components, service tokens, and HTTP APIs. Resolve
mailServiceTokenormailClientTokeninstead of constructing internal stores or runtimes. - Before live account or mailbox operations, restate the target provider, account or mailbox, operation, and authorized scope. Proceed only when the input contract and gate are satisfied.
- Validate the result with the checklist below and the relevant reference. Separate static checks, mocked provider checks, and live provider results.
- For every write, read the changed configuration, generated file, API response, or returned operation status immediately and compare it with the requested state.
- Report unavailable external validation, uncertain provider acceptance, and any remaining follow-up instead of presenting them as successful delivery.
Reference Loading Map
| Task
Частые вопросы
Подключает ли он мой почтовый ящик автоматически?
Нет. Скилл требует вашего подтверждения, прежде чем авторизовать внешний почтовый ящик.
Могут ли тесты подтвердить доставку писем?
Нет. Проверки с заглушками не доказывают доставку через реального провайдера, поэтому скилл советует проверять ее отдельно.
Меняет ли он код почтового плагина?
Нет. Он использует публичные интерфейсы плагина.
Подробности
Оригинальное описание автора
Use when integrating the NocoBase 3 Mail plugin into an application: configure Gmail, Microsoft 365, or IMAP/SMTP accounts, embed mail UI, send from business code, or diagnose synchronization and delivery.
repo: nocobase/nocobase
Популярность
- Звёзды на GitHub
- 25k
- Место в рейтинге
- #10100
- Лицензия
- —
- Обновлён
- 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 до более новой версии шаблона, перенося изменения шаблона и сохраняя вашу собственную работу.
Похожие скиллы
discord-user-post
394kПозволяет агенту отправить одобренное вами сообщение в Discord от вашего имени через настольное приложение, после проверки точного канала.
configure-channel
394kУчит агента подключать чат-приложение, например Telegram, к OpenClaw, безопасно хранить токен бота и проверять, что сообщения проходят.
discord
394kПомогает агенту читать, отправлять, редактировать сообщения Discord и ставить на них реакции через OpenClaw, проверяя нужное сообщение перед изменениями.