Перейти к содержанию
Skillpedia
Почта и сообщения25k · #10100

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) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-mail/skills/nocobase-app-plugin-mail/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Подключите аккаунт 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

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

  1. Inspect the installed package version, public exports and types, application client/plugins.ts, server/plugins.ts, and relevant configuration before editing.
  2. Select the smallest matching reference from the loading map. Read additional references only when the task crosses their boundary.
  3. 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.
  4. Implement through public components, service tokens, and HTTP APIs. Resolve mailServiceToken or mailClientToken instead of constructing internal stores or runtimes.
  5. 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.
  6. Validate the result with the checklist below and the relevant reference. Separate static checks, mocked provider checks, and live provider results.
  7. For every write, read the changed configuration, generated file, API response, or returned operation status immediately and compare it with the requested state.
  8. 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

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

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