Skip to content

aiskillstore/marketplace / skills/aayushbaniya2006/email-handler

email-handler

Verified

Create and send transactional emails using React Email. Covers templates, layout integration, and sending logic.

FileKindSize
SKILL.mdskill md3.0 KB
reference.mdmarkdown832 B
skill-report.jsonconfig40.1 KB

skill-report.json

View on GitHub
{
  "schema_version": "2.0",
  "meta": {
    "generated_at": "2026-07-04T23:45:54.286Z",
    "slug": "aayushbaniya2006-email-handler",
    "source_url": "https://github.com/AayushBaniya2006/blinkfund/tree/main/.claude/skills/email-handler",
    "source_ref": "main",
    "model": "codex",
    "analysis_version": "3.0.0",
    "source_type": "community",
    "content_hash": "150291812929c783f22d70dbf9d4d9d3c7e21a29d8d4c81e4c9e05f1b2a0aa2c",
    "tree_hash": "54a91768f20f7a29f0708cebe4311799502a29953e58afde1dc5f0e6a55fbf57",
    "provenance": {
      "model_requested": "gpt-5.5:high",
      "model_effective": "codex:gpt-5.5:high",
      "fallback_chain": [
        {
          "agent": "codex",
          "model": "gpt-5.5",
          "effort": "high",
          "outcome": "success"
        }
      ],
      "analysis_version": "3.0.0"
    }
  },
  "skill": {
    "name": "email-handler",
    "description": "Create transactional email templates with React Email and integrate them with the project sendMail utility.",
    "summary": "Build React Email templates and connect them to server-side transactional email sending.",
    "icon": "📦",
    "version": "1.0.0",
    "author": "AayushBaniya2006",
    "license": "MIT",
    "tags": [
      "react-email",
      "transactional-email",
      "nextjs",
      "typescript",
      "email-templates"
    ],
    "supported_tools": [
      "claude",
      "codex",
      "claude-code"
    ],
    "risk_factors": [
      "network",
      "env_access",
      "external_commands"
    ],
    "category": "communication"
  },
  "security_audit": {
    "risk_level": "medium",
    "is_blocked": false,
    "safe_to_publish": true,
    "analysis_status": "ok",
    "summary": "The skill has a legitimate but confirmed outbound email capability through sendMail integration. The external command alerts are false positives from Markdown backticks, and the environment alert references a public app URL rather than secrets. The main security concern is missing guidance for recipient authorization and link validation before sending email.",
    "remediation": [
      {
        "issue": "Outbound email sending can target arbitrary recipients if copied without safeguards.",
        "suggestion": "Document authorization, consent, rate limits, and recipient validation before sendMail is called.",
        "severity": "medium"
      },
      {
        "issue": "Email templates accept dynamic action URLs.",
        "suggestion": "Require action URLs to come from appConfig or NEXT_PUBLIC_APP_URL, and validate allowed domains before rendering buttons.",
        "severity": "medium"
      },
      {
        "issue": "The example uses a placeholder production URL.",
        "suggestion": "Replace placeholder URLs with configuration-driven examples and state that secrets must not be embedded in templates.",
        "severity": "low"
      }
    ],
    "risk_factor_evidence": [
      {
        "factor": "network",
        "evidence": [
          {
            "file": "reference.md",
            "line_start": 6,
            "line_end": 6
          },
          {
            "file": "reference.md",
            "line_start": 26,
            "line_end": 26
          },
          {
            "file": "SKILL.md",
            "line_start": 74,
            "line_end": 74
          },
          {
            "file": "SKILL.md",
            "line_start": 13,
            "line_end": 13
          },
          {
            "file": "SKILL.md",
            "line_start": 60,
            "line_end": 60
          },
          {
            "file": "SKILL.md",
            "line_start": 62,
            "line_end": 62
          },
          {
            "file": "SKILL.md",
            "line_start": 68,
            "line_end": 68
          },
          {
            "file": "SKILL.md",
            "line_start": 78,
            "line_end": 78
          }
        ]
      },
      {
        "factor": "env_access",
        "evidence": [
          {
            "file": "reference.md",
            "line_start": 32,
            "line_end": 32
          },
          {
            "file": "reference.md",
            "line_start": 32,
            "line_end": 32
          }
        ]
      },
      {
        "factor": "external_commands",
        "evidence": [
          {
            "file": "SKILL.md",
            "line_start": 11,
            "line_end": 11
          },
          {
            "file": "SKILL.md",
            "line_start": 12,
            "line_end": 12
          },
          {
            "file": "SKILL.md",
            "line_start": 13,
            "line_end": 13
          },
          {
            "file": "SKILL.md",
            "line_start": 16,
            "line_end": 16
          },
          {
            "file": "SKILL.md",
            "line_start": 19,
            "line_end": 19
          },
          {
            "file": "SKILL.md",
            "line_start": 20,
            "line_end": 20
          },
          {
            "file": "SKILL.md",
            "line_start": 21,
            "line_end": 21
          },
          {
            "file": "SKILL.md",
            "line_start": 24,
            "line_end": 53
          },
          {
            "file": "SKILL.md",
            "line_start": 53,
            "line_end": 56
          },
          {
            "file": "SKILL.md",
            "line_start": 56,
            "line_end": 59
          },
          {
            "file": "SKILL.md",
            "line_start": 59,
            "line_end": 59
          },
          {
            "file": "SKILL.md",
            "line_start": 60,
            "line_end": 60
          },
          {
            "file": "SKILL.md",
            "line_start": 62,
            "line_end": 65
          },
          {
            "file": "SKILL.md",
            "line_start": 65,
            "line_end": 83
          },
          {
            "file": "SKILL.md",
            "line_start": 83,
            "line_end": 86
          },
          {
            "file": "SKILL.md",
            "line_start": 86,
            "line_end": 86
          },
          {
            "file": "SKILL.md",
            "line_start": 87,
            "line_end": 88
          },
          {
            "file": "SKILL.md",
            "line_start": 88,
            "line_end": 88
          },
          {
            "file": "SKILL.md",
            "line_start": 92,
            "line_end": 92
          }
        ]
      }
    ],
    "static_findings": [
      {
        "id": "network:reference.md:6:email-sending-capability",
        "category": "network",
        "severity": "medium",
        "pattern": "Email sending capability",
        "file": "reference.md",
        "line_start": 6,
        "line_end": 6,
        "snippet": "- **Sender Utility**: `src/lib/email/sendMail.ts`"
      },
      {
        "id": "network:reference.md:26:email-sending-capability",
        "category": "network",
        "severity": "medium",
        "pattern": "Email sending capability",
        "file": "reference.md",
        "line_start": 26,
        "line_end": 26,
        "snippet": "await sendMail(to, subject, html);"
      },
      {
        "id": "env_access:reference.md:32:environment-variable-access-dot-notation",
        "category": "env_access",
        "severity": "low",
        "pattern": "Environment variable access (dot notation)",
        "file": "reference.md",
        "line_start": 32,
        "line_end": 32,
        "snippet": "3.  **Environment**: Use `process.env.NEXT_PUBLIC_APP_URL` for absolute links."
      },
      {
        "id": "env_access:reference.md:32:environment-variable-object",
        "category": "env_access",
        "severity": "low",
        "pattern": "Environment variable object",
        "file": "reference.md",
        "line_start": 32,
        "line_end": 32,
        "snippet": "3.  **Environment**: Use `process.env.NEXT_PUBLIC_APP_URL` for absolute links."
      },
      {
        "id": "sensitive:reference.md:32:environment-file-access",
        "category": "sensitive",
        "severity": "high",
        "pattern": "Environment file access",
        "file": "reference.md",
        "line_start": 32,
        "line_end": 32,
        "snippet": "3.  **Environment**: Use `process.env.NEXT_PUBLIC_APP_URL` for absolute links."
      },
      {
        "id": "external_commands:SKILL.md:11:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 11,
        "line_end": 11,
        "snippet": "1.  **Template Creation**: Build React Email templates in `src/emails/`."
      },
      {
        "id": "external_commands:SKILL.md:12:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 12,
        "line_end": 12,
        "snippet": "2.  **Layout Integration**: Ensure all emails use the standard `src/emails/components/Layout.tsx`."
      },
      {
        "id": "external_commands:SKILL.md:13:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 13,
        "line_end": 13,
        "snippet": "3.  **Sending Logic**: Use `src/lib/email/sendMail.ts` and `render` from `@react-email/components` t"
      },
      {
        "id": "external_commands:SKILL.md:16:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 16,
        "line_end": 16,
        "snippet": "**Location**: `src/emails/{EmailName}.tsx`"
      },
      {
        "id": "external_commands:SKILL.md:19:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 19,
        "line_end": 19,
        "snippet": "- Import `Html`, `Text`, `Button` etc. from `@react-email/components`."
      },
      {
        "id": "external_commands:SKILL.md:20:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 20,
        "line_end": 20,
        "snippet": "- Wrap content in `<Layout previewText=\"...\">`."
      },
      {
        "id": "external_commands:SKILL.md:21:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 21,
        "line_end": 21,
        "snippet": "- Accept props for dynamic data (e.g., `name`, `url`, `expiresAt`)."
      },
      {
        "id": "external_commands:SKILL.md:24:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 24,
        "line_end": 53,
        "snippet": "```tsx"
      },
      {
        "id": "external_commands:SKILL.md:53:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 53,
        "line_end": 56,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:56:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 56,
        "line_end": 59,
        "snippet": "**Location**: API Routes or Server Actions (e.g., `src/app/api/...`)."
      },
      {
        "id": "external_commands:SKILL.md:59:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 59,
        "line_end": 59,
        "snippet": "1.  **Import**: `render` from `@react-email/components` and your template."
      },
      {
        "id": "external_commands:SKILL.md:60:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 60,
        "line_end": 60,
        "snippet": "2.  **Import**: `sendMail` from `@/lib/email/sendMail`."
      },
      {
        "id": "external_commands:SKILL.md:62:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 62,
        "line_end": 65,
        "snippet": "4.  **Send**: Call `sendMail`."
      },
      {
        "id": "external_commands:SKILL.md:65:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 65,
        "line_end": 83,
        "snippet": "```typescript"
      },
      {
        "id": "external_commands:SKILL.md:83:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 83,
        "line_end": 86,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:86:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 86,
        "line_end": 86,
        "snippet": "- **Layout**: `src/emails/components/Layout.tsx` handles the `Head`, `Tailwind` config, `Body`, and "
      },
      {
        "id": "external_commands:SKILL.md:87:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 87,
        "line_end": 88,
        "snippet": "- **Tailwind**: You can use Tailwind classes directly in your components (e.g., `className=\"text-mut"
      },
      {
        "id": "external_commands:SKILL.md:88:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 88,
        "line_end": 88,
        "snippet": "- **Config**: Use `appConfig` from `@/lib/config` for project names, colors, and support emails."
      },
      {
        "id": "external_commands:SKILL.md:92:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 92,
        "line_end": 92,
        "snippet": "1.  **Design**: Create the `.tsx` file in `src/emails/`."
      },
      {
        "id": "network:SKILL.md:74:hardcoded-url",
        "category": "network",
        "severity": "low",
        "pattern": "Hardcoded URL",
        "file": "SKILL.md",
        "line_start": 74,
        "line_end": 74,
        "snippet": "actionUrl: \"https://myapp.com/action\""
      },
      {
        "id": "network:SKILL.md:13:email-sending-capability",
        "category": "network",
        "severity": "medium",
        "pattern": "Email sending capability",
        "file": "SKILL.md",
        "line_start": 13,
        "line_end": 13,
        "snippet": "3.  **Sending Logic**: Use `src/lib/email/sendMail.ts` and `render` from `@react-email/components` t"
      },
      {
        "id": "network:SKILL.md:60:email-sending-capability",
        "category": "network",
        "severity": "medium",
        "pattern": "Email sending capability",
        "file": "SKILL.md",
        "line_start": 60,
        "line_end": 60,
        "snippet": "2.  **Import**: `sendMail` from `@/lib/email/sendMail`."
      },
      {
        "id": "network:SKILL.md:62:email-sending-capability",
        "category": "network",
        "severity": "medium",
        "pattern": "Email sending capability",
        "file": "SKILL.md",
        "line_start": 62,
        "line_end": 62,
        "snippet": "4.  **Send**: Call `sendMail`."
      },
      {
        "id": "network:SKILL.md:68:email-sending-capability",
        "category": "network",
        "severity": "medium",
        "pattern": "Email sending capability",
        "file": "SKILL.md",
        "line_start": 68,
        "line_end": 68,
        "snippet": "import sendMail from \"@/lib/email/sendMail\";"
      },
      {
        "id": "network:SKILL.md:78:email-sending-capability",
        "category": "network",
        "severity": "medium",
        "pattern": "Email sending capability",
        "file": "SKILL.md",
        "line_start": 78,
        "line_end": 78,
        "snippet": "await sendMail("
      }
    ],
    "finding_verdicts": [
      {
        "id": "network:reference.md:6:email-sending-capability",
        "verdict": "confirmed",
        "confidence": 0.78,
        "reason": "The cited reference identifies a sendMail utility as a core email sender. This confirms an external messaging capability that can cause network side effects when integrated.",
        "severity": "medium"
      },
      {
        "id": "network:reference.md:26:email-sending-capability",
        "verdict": "confirmed",
        "confidence": 0.9,
        "reason": "The cited example directly calls sendMail with recipient, subject, and HTML content. This is legitimate for the skill, but it can send messages outside the host application.",
        "severity": "medium"
      },
      {
        "id": "env_access:reference.md:32:environment-variable-access-dot-notation",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The cited line references NEXT_PUBLIC_APP_URL for absolute links, which is intended to be public app configuration. It does not instruct reading secrets or arbitrary environment variables."
      },
      {
        "id": "env_access:reference.md:32:environment-variable-object",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The environment reference is limited to NEXT_PUBLIC_APP_URL for link generation. No sensitive environment object enumeration or secret extraction is requested."
      },
      {
        "id": "sensitive:reference.md:32:environment-file-access",
        "verdict": "false_positive",
        "confidence": 0.92,
        "reason": "The high finding is triggered by environment wording, but the cited line only names public NEXT_PUBLIC_APP_URL. No environment file access or secret material appears in the cited content."
      },
      {
        "id": "external_commands:SKILL.md:11:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:12:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:13:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:16:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:19:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:20:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:21:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:24:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:53:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:56:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:59:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:60:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:62:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:65:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:83:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:86:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:87:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:88:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "external_commands:SKILL.md:92:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The cited content is Markdown documentation, inline code text, or a TypeScript example, not shell execution. No subprocess API, shell invocation, or user-controlled command construction appears there."
      },
      {
        "id": "network:SKILL.md:74:hardcoded-url",
        "verdict": "false_positive",
        "confidence": 0.86,
        "reason": "The hardcoded URL is a placeholder action link inside example email props. It is not an exfiltration endpoint, and the surrounding guidance points to app configuration for real values."
      },
      {
        "id": "network:SKILL.md:13:email-sending-capability",
        "verdict": "confirmed",
        "confidence": 0.88,
        "reason": "The cited responsibility tells the agent to use sendMail and render to dispatch emails. That is a real external email-sending capability, even when used for valid transactional mail.",
        "severity": "medium"
      },
      {
        "id": "network:SKILL.md:60:email-sending-capability",
        "verdict": "confirmed",
        "confidence": 0.76,
        "reason": "The cited line imports the project sendMail utility inside the sending workflow. In context, it supports outbound email delivery and should be treated as a network side effect.",
        "severity": "medium"
      },
      {
        "id": "network:SKILL.md:62:email-sending-capability",
        "verdict": "confirmed",
        "confidence": 0.9,
        "reason": "The cited instruction explicitly says to call sendMail. This creates an outbound email side effect and needs recipient and authorization controls.",
        "severity": "medium"
      },
      {
        "id": "network:SKILL.md:68:email-sending-capability",
        "verdict": "confirmed",
        "confidence": 0.8,
        "reason": "The cited example imports sendMail as the delivery mechanism for the generated template. It is part of a documented outbound email flow.",
        "severity": "medium"
      },
      {
        "id": "network:SKILL.md:78:email-sending-capability",
        "verdict": "confirmed",
        "confidence": 0.94,
        "reason": "The cited example directly awaits sendMail with recipient, subject, and rendered HTML. This confirms concrete outbound email behavior in the skill guidance.",
        "severity": "medium"
      }
    ],
    "semantic_findings": [
      {
        "title": "Missing recipient and link validation guardrails",
        "description": "The skill shows a dynamic actionUrl used as a button href and a sendMail call, but it does not require recipient authorization or link domain validation. This can help produce phishing or unsolicited email workflows if copied into a project without additional controls.",
        "severity": "medium",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 44,
            "line_end": 44
          },
          {
            "file": "SKILL.md",
            "line_start": 78,
            "line_end": 82
          }
        ],
        "confidence": 0.66,
        "confidence_reasoning": "The cited template and sending example directly connect a dynamic link with email delivery. The finding is contextual because the sample is legitimate, but the missing guardrails are clear."
      }
    ],
    "critical_findings": [],
    "high_findings": [],
    "medium_findings": [
      {
        "title": "Email sending capability",
        "description": "- **Sender Utility**: `src/lib/email/sendMail.ts`",
        "locations": [
          {
            "file": "reference.md",
            "line_start": 6,
            "line_end": 6
          }
        ],
        "review_kind": "capability",
        "source_category": "network",
        "source_severity": "medium",
        "confidence": 0.78,
        "confidence_reasoning": "The cited reference identifies a sendMail utility as a core email sender. This confirms an external messaging capability that can cause network side effects when integrated."
      },
      {
        "title": "Email sending capability",
        "description": "await sendMail(to, subject, html);",
        "locations": [
          {
            "file": "reference.md",
            "line_start": 26,
            "line_end": 26
          }
        ],
        "review_kind": "capability",
        "source_category": "network",
        "source_severity": "medium",
        "confidence": 0.9,
        "confidence_reasoning": "The cited example directly calls sendMail with recipient, subject, and HTML content. This is legitimate for the skill, but it can send messages outside the host application."
      },
      {
        "title": "Email sending capability",
        "description": "3.  **Sending Logic**: Use `src/lib/email/sendMail.ts` and `render` from `@react-email/components` t",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 13,
            "line_end": 13
          }
        ],
        "review_kind": "capability",
        "source_category": "network",
        "source_severity": "medium",
        "confidence": 0.88,
        "confidence_reasoning": "The cited responsibility tells the agent to use sendMail and render to dispatch emails. That is a real external email-sending capability, even when used for valid transactional mail."
      },
      {
        "title": "Email sending capability",
        "description": "2.  **Import**: `sendMail` from `@/lib/email/sendMail`.",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 60,
            "line_end": 60
          }
        ],
        "review_kind": "capability",
        "source_category": "network",
        "source_severity": "medium",
        "confidence": 0.76,
        "confidence_reasoning": "The cited line imports the project sendMail utility inside the sending workflow. In context, it supports outbound email delivery and should be treated as a network side effect."
      },
      {
        "title": "Email sending capability",
        "description": "4.  **Send**: Call `sendMail`.",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 62,
            "line_end": 62
          }
        ],
        "review_kind": "capability",
        "source_category": "network",
        "source_severity": "medium",
        "confidence": 0.9,
        "confidence_reasoning": "The cited instruction explicitly says to call sendMail. This creates an outbound email side effect and needs recipient and authorization controls."
      },
      {
        "title": "Email sending capability",
        "description": "import sendMail from \"@/lib/email/sendMail\";",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 68,
            "line_end": 68
          }
        ],
        "review_kind": "capability",
        "source_category": "network",
        "source_severity": "medium",
        "confidence": 0.8,
        "confidence_reasoning": "The cited example imports sendMail as the delivery mechanism for the generated template. It is part of a documented outbound email flow."
      },
      {
        "title": "Email sending capability",
        "description": "await sendMail(",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 78,
            "line_end": 78
          }
        ],
        "review_kind": "capability",
        "source_category": "network",
        "source_severity": "medium",
        "confidence": 0.94,
        "confidence_reasoning": "The cited example directly awaits sendMail with recipient, subject, and rendered HTML. This confirms concrete outbound email behavior in the skill guidance."
      },
      {
        "title": "Missing recipient and link validation guardrails",
        "description": "The skill shows a dynamic actionUrl used as a button href and a sendMail call, but it does not require recipient authorization or link domain validation. This can help produce phishing or unsolicited email workflows if copied into a project without additional controls.",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 44,
            "line_end": 44
          },
          {
            "file": "SKILL.md",
            "line_start": 78,
            "line_end": 82
          }
        ],
        "review_kind": "security",
        "source_category": "semantic",
        "source_severity": "medium",
        "confidence": 0.66,
        "confidence_reasoning": "The cited template and sending example directly connect a dynamic link with email delivery. The finding is contextual because the sample is legitimate, but the missing guardrails are clear."
      }
    ],
    "low_findings": [],
    "dangerous_patterns": [],
    "files_scanned": 2,
    "total_lines": 132,
    "audit_model": "codex",
    "audited_at": "2026-07-04T23:45:54.286Z",
    "agent_auto_install_policy": "allowed",
    "manual_install_policy": "allowed"
  },
  "content": {
    "user_title": "Build React Email Transactional Workflows",
    "value_statement": "Transactional email work often needs consistent templates, shared layouts, and reliable delivery hooks. This skill guides React Email templates, rendering, and sendMail integration.",
    "seo_keywords": [
      "Claude",
      "Codex",
      "Claude Code",
      "React Email",
      "transactional email",
      "email templates",
      "sendMail",
      "Next.js email",
      "email automation",
      "TypeScript email"
    ],
    "actual_capabilities": [
      "Creates React Email templates under src/emails.",
      "Uses a shared Layout component with preview text.",
      "Shows how to render templates to HTML with React Email.",
      "Integrates sendMail calls in API routes or server actions.",
      "Uses appConfig and public app URLs for consistent branding and links."
    ],
    "limitations": [
      "It provides guidance and code patterns, not a managed email delivery service.",
      "It relies on the host project having React Email, sendMail, and Layout available.",
      "It does not verify deliverability, DNS records, or provider credentials.",
      "It should not be used to send unsolicited or unapproved messages."
    ],
    "use_cases": [
      {
        "title": "Create Account Emails",
        "description": "Build typed welcome, verification, and password reset emails that share the existing React Email layout.",
        "target_user": "SaaS product developer"
      },
      {
        "title": "Add Server Sending Hooks",
        "description": "Integrate rendered templates with sendMail inside API routes or server actions.",
        "target_user": "Full-stack engineer"
      },
      {
        "title": "Standardize Branded Notifications",
        "description": "Keep transactional messages consistent with app colors, support addresses, and shared layout components.",
        "target_user": "Product operations team"
      }
    ],
    "prompt_templates": [
      {
        "title": "Create a Basic Email",
        "scenario": "Beginner template creation",
        "prompt": "Create a React Email welcome template in src/emails. Use the shared Layout, typed props, and clear preview text."
      },
      {
        "title": "Add Sending Logic",
        "scenario": "Intermediate server integration",
        "prompt": "Add server-side sending for my existing email template. Render it with React Email and call the project sendMail utility."
      },
      {
        "title": "Refine a Notification Flow",
        "scenario": "Advanced workflow cleanup",
        "prompt": "Review this notification email flow for consistent layout, typed data, safe links, and correct server action placement."
      },
      {
        "title": "Design a Transactional Workflow",
        "scenario": "Advanced multi-step implementation",
        "prompt": "Design the email templates and sending points for account verification, password reset, and billing notifications."
      }
    ],
    "output_examples": [
      {
        "input": "Create a welcome email for new workspace members.",
        "output": [
          "A typed React Email template using the shared Layout and preview text.",
          "Clear dynamic fields for the member name, workspace name, and invitation link.",
          "A short note on where the template should be rendered before sending."
        ]
      },
      {
        "input": "Add sending logic after a password reset token is created.",
        "output": "The result explains where to render the reset email, how to call sendMail, and which recipient and link checks should run first."
      },
      {
        "input": "Standardize billing notification emails.",
        "output": "The result describes shared layout usage, typed billing props, consistent brand settings, and a server-side send point."
      }
    ],
    "best_practices": [
      "Use one shared Layout and previewText on every template.",
      "Validate recipients and action URLs before sending messages.",
      "Use appConfig and public base URL settings for brand data and links."
    ],
    "anti_patterns": [
      "Sending email from user-controlled inputs without authorization checks.",
      "Hardcoding production URLs, support emails, or brand values in each template.",
      "Building templates without typed props or preview text."
    ],
    "faq": [
      {
        "question": "What framework does this skill target?",
        "answer": "It targets React Email templates in a TypeScript or Next.js style project."
      },
      {
        "question": "Can it send emails by itself?",
        "answer": "No. It guides code that uses the project sendMail utility and existing email provider setup."
      },
      {
        "question": "Does it include email provider configuration?",
        "answer": "No. Provider credentials, DNS records, and deliverability setup remain outside this skill."
      },
      {
        "question": "How should links be built?",
        "answer": "Use configured app URLs and validate allowed domains before adding links to templates."
      },
      {
        "question": "Can it update existing email templates?",
        "answer": "Yes. It can align existing templates with the shared Layout, typed props, and branding config."
      },
      {
        "question": "Is it safe for marketing email campaigns?",
        "answer": "It is designed for transactional messages. Campaign sending needs consent, unsubscribe, and compliance controls."
      }
    ]
  },
  "file_structure": [
    {
      "name": "reference.md",
      "type": "file",
      "path": "reference.md",
      "lines": 35
    },
    {
      "name": "SKILL.md",
      "type": "file",
      "path": "SKILL.md",
      "lines": 97
    }
  ]
}
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall