360 Secure SkillHub
360 安全技能中心

Codex Email Skill

核心功能是将邮件工作视为代码变更,基于仓库上下文开展邮件模板、代码、内容等的规划、修改与验证,遵循现有规范,确保变更可验证。典型场景包括React Email编辑、MDX内容修改、QA脚本编写、代码差异分析等。输出为仓库感知的实现计划、模板差异等,区分建议与执行,生产操作需审批。

polnikale
polnikale
热度 16.02
最近更新 2026-06-21 08:40:29
分类:开发依赖:代码执行 / 读写文件 / 内部调用大模型应用场景:代码生成 / 代码审查 / 调试排错 / 模板 ...

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add codexemailskill
Metadata
name
codexemailskill
description
Use when Codex, Hermes, OpenClaw, Claude Code, Cowork, or another AI agent needs to plan, review, implement, audit, or improve email work focused on repo-aware email implementation workflows for codebases, content systems, templates, and tests. Triggers include requests about template implementation, React Email edits, MDX content changes, QA scripts, codebase diffs, and testable email fixes.

Codex Email Skill

Treat email work as a code change. Read the repo, keep edits scoped, preserve existing patterns, and make the result verifiable.

Fit Check

  1. Primary lens: repo-aware email implementation workflows for codebases, content systems, templates, and tests.
  2. Common request signals: template implementation, React Email edits, MDX content changes, QA scripts, codebase diffs, and testable email fixes.
  3. Default posture: Treat email work as a code change. Read the repo, keep edits scoped, preserve existing patterns, and make the result verifiable.
  4. Useful output family: repo-aware implementation plans, template diffs, QA scripts, render checks, content patches, and concise change reports.
  5. Production boundary: separate recommendation from execution.
  6. Evidence boundary: say which source material supports the recommendation.

Use This For

repo-aware email implementation workflows for codebases, content systems, templates, and tests.

Avoid Using It For

Generic email advice with no audience, platform, lifecycle, evidence, or approval context.

Procedure

  1. Locate the email surface in the repository: components, templates, content files, campaign config, preview routes, tests, or ESP export scripts.
  2. Read adjacent files before editing so naming, styling, localization, and data-loading patterns match the codebase.
  3. Define the intended behavior as a diffable change: copy update, layout fix, template module, data field, tracking parameter, or QA assertion.
  4. Implement the smallest coherent change and avoid unrelated refactors, dependency churn, or broad style rewrites.
  5. Run the narrowest useful verification: type check, template render, snapshot, unit test, lint, preview build, or visual smoke check.
  6. Report changed files, verification result, remaining risk, and any production steps that still need approval.

Acceptance Checks

  1. The edit follows local patterns instead of inventing a parallel email system.
  2. Dynamic fields have fallbacks and do not leak undefined values into copy.
  3. Rendering constraints are considered before using modern CSS.
  4. Tests or previews cover the user-visible behavior when risk justifies it.
  5. No live send, import, DNS, or suppression action is performed as part of a code edit.

Output Pattern

Return repo-aware implementation plans, template diffs, QA scripts, render checks, content patches, and concise change reports. Keep recommendations concrete. Separate analysis from live-system actions, and require explicit approval before sending email, importing contacts, changing DNS, altering suppression rules, or editing production automations.