用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill sendgrid命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
LLM token logprobs and calibration. Per-decision confidence, ECE, Brier, reliability diagrams, low-confidence triage.
Analyze LLM token logprobs and calibration. Use for per-decision confidence, ECE, Brier scores, reliability diagrams, and low-confidence triage.
回顾最近 N 天的 Claude Code 使用记录——扫描原始会话数据,按主题分组汇总"我都做了什么",并从个人操作系统视角输出模式、风险与增删建议。当用户说 /recap、"看看我这几天做了什么"、"回顾一下我最近的会话"、"这两天我用 claude 干了啥"、"活动回顾" 时使用。
基于 SOC 职业分类
正在显示 SKILL.md
| name | sendgrid |
| slug | sendgrid-integration |
| version | 1.0.0 |
| category | integration |
| description | SendGrid email integration with templates and transactional email support |
| triggers | [{"pattern":"sendgrid|email|send email|transactional|notification","confidence":0.8,"examples":["send email with SendGrid","setup email notifications","create email templates","integrate transactional emails","send welcome email"]}] |
| mcp_dependencies | [{"server":"sendgrid","required":false,"capabilities":["send","templates"]}] |
Complete SendGrid email integration template with email client setup, reusable templates, and transactional email functionality.
This template includes:
Use this template when you need:
code/client.ts - SendGrid SDK setup and email utilitiescode/templates/welcome.ts - Welcome email templatecode/templates/notification.ts - Notification email templatemcp/config.json - MCP server configuration for SendGridenv/.env.template - Required environment variablesdocs/README.md - Complete setup and usage guideInstall Dependencies
npm install @sendgrid/mail
Configure Environment Variables
cp templates/sendgrid/env/.env.template .env.local
# Add your SendGrid API key
Copy Template Files
npx tsx scripts/load-template.ts sendgrid
Verify Sender Email
import { sendEmail } from '@/lib/sendgrid/client'
await sendEmail({
to: 'user@example.com',
subject: 'Welcome to our app!',
text: 'Thanks for signing up.',
html: '<strong>Thanks for signing up!</strong>',
})
import { sendWelcomeEmail } from '@/lib/sendgrid/templates/welcome'
await sendWelcomeEmail({
to: 'user@example.com',
name: 'John Doe',
loginUrl: 'https://app.example.com/login',
})
import { sendNotificationEmail } from '@/lib/sendgrid/templates/notification'
await sendNotificationEmail({
to: 'user@example.com',
title: 'New Message',
message: 'You have received a new message.',
actionUrl: 'https://app.example.com/messages',
actionText: 'View Message',
})
import { sendBulkEmail } from '@/lib/sendgrid/client'
await sendBulkEmail({
to: ['user1@example.com', 'user2@example.com'],
subject: 'Newsletter',
html: '<p>Monthly newsletter content</p>',
})
Professional welcome email with call-to-action button.
Generic notification template for alerts and updates.
Create custom templates following the same pattern:
export async function sendCustomEmail(params: {
to: string
// ... custom params
}) {
return sendEmail({
to: params.to,
subject: 'Custom Subject',
html: generateHtmlTemplate(params),
})
}
SendGrid provides a sandbox mode for testing:
const client = sendgrid()
client.setApiKey(process.env.SENDGRID_API_KEY!)
client.setSandboxMode(true) // Enable sandbox
Always validate emails before sending:
import { isValidEmail } from '@/lib/sendgrid/utils'
if (!isValidEmail(email)) {
throw new Error('Invalid email address')
}
Template Version: 1.0.0 Last Updated: 2026-01-04 Maintainer: Turbocat Agent System