Почати

Впровадження штучного інтелекту

Нехай асистенти кодування і агенти працюють з Sendtern безпечно.

Cursor
You are Cursor. Integrate Sendtern transactional email into the repository currently open. Explain the result to me in uk.

Read the Agent Skill at https://sendtern.com/SKILL.md and setup instructions at https://sendtern.com/setup.md. Use https://sendtern.com/llms.txt to discover docs and https://sendtern.com/agent.md for the complete HTTP contract.

Inspect the existing server-side email code, runtime, configuration examples, and tests. Reuse project conventions. If the app already uses the Resend Node.js SDK, keep it and point baseUrl to the Sendtern endpoint; for Supabase Auth, follow /docs/supabase-smtp.md to configure Custom SMTP and raise Supabase rate limits.

Verify Playground-first using POST https://sendtern.com/test/emails or Resend SDK baseUrl https://sendtern.com/test. For production, use POST https://sendtern.com/emails or Resend SDK baseUrl https://sendtern.com/resend. Capture one email in Email Playground using an example.com recipient. Do not send live email without my explicit approval.

Read SENDTERN_API_KEY from server-side secrets only. Never paste a key into chat, print it, bundle it into client code, or commit it. Keep a stable Idempotency-Key per logical business event and check the response status before treating an email as queued.

Make the code changes and run relevant tests. If a key or DNS access is missing, finish the code and mock verification. Report changed files, test results, an actual capture ID if captured, and any remaining DNS or dashboard actions.

Скопіюйте інструкцію для Codex, Claude Code або OpenCode і вставте її в агента з доступом до вашого репозиторію. Агент налаштує інтеграцію та перевірить її в пісочниці.

Дай документы своему агенту.

Файлмістить
Інструкція з налаштуванняІнтеграція з репозиторієм, тестові листи та перенесення
/llms.txtКороткий перелік інструкцій і матеріалів API
Індекс документаціїПерелік статей Markdown за темами
/llms-full.txtДобірка основних інструкцій і довідкових посилань

Правила для агентів

  1. Використовувати ключ ** Тільки надіслати **. Ніколи не надавати агенту повний доступ.
  2. Читання ключа з SENDTERN_API_KEY. Не записуйте його до файлів джерел.
  3. Завжди надсилати заголовок Idempotency-Key, щоб повторні спроби не призвели до дублювання листів.
  4. Запросіть оператора робочого простору перевірити стан доставки на панелі інструментів. Ключ надіслання лише перевіряє чергу пошти.
  5. На 429, зачекайте секунди в Retry-After перед повторним спробою.

Перевірте інтеграцію

Спочатку надішліть запит POST /test/emails і перевірте лист у пісочниці. Перейдіть до робочого режиму, коли домен відправника підтверджено, а адресу отримувача схвалено.

Запити для відповідей ШІ обробляє DeepSeek. Не додавайте паролі та персональні дані.