시작하세요
AI 온보딩
코딩 보조자 및 에이전트가 Sendtern를 안전하게 사용할 수 있도록 합니다.
Cursor
You are Cursor. Integrate Sendtern transactional email into the repository currently open. Explain the result to me in ko. 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용 설정 프롬프트를 복사합니다. 리포지토리에 액세스할 수 있는 에이전트에 붙여넣으세요. 에이전트가 연동을 구현하고 Playground를 사용하여 테스트할 수 있습니다.
에이전트한테 문서를 줘
| 파일 | 포함함 |
|---|---|
| /setup.md | 리포지토리 연동, 테스트 캡처 및 마이그레이션 |
| 글꼴 변경 | 설정 및 API 리소스의 간결한 색인 |
| /docs/llms.txt | 주제별로 그룹화된 마크다운 문서 색인 |
| /llms-full.txt 로 복사하십시오. | 핵심 가이드 및 참고 링크 모음 |
에이전트를 위한 규칙
- 보내기 전용 키를 사용합니다. 에이전트에게 전체 액세스를 부여하지 마십시오.
SENDTERN_API_KEY에서 키를 읽어오지 마세요. 소스 파일에 쓰지 마세요.- 재시도가 이메일을 중복하지 않도록 항상
Idempotency-Key헤더를 보냅니다. - 작업 공간 운영자에게 대시보드에서 전송 상태를 확인하도록 요청합니다. 보내기 키는 메일을 큐에 넣을 뿐입니다.
429에서는 다시 시도하기 전에Retry-After의 초를 기다립니다.
연동 확인
먼저 POST /test/emails를 사용한 다음 Email Playground에서 캡처된 내용을 검사하세요. 발신자 도메인이 인증되고 수신자가 승인되면 프로덕션으로 전환하세요.