kai-email-system

Installation
SKILL.md

Build a complete email system for a product — from lifecycle mapping through batch production with quality gates. All emails target Loops (lifecycle + transactional).

Phase 0: Load Product Context (ALL /kai skills start here)

Check if MARKETING.md exists in the project root (same directory as CLAUDE.md, README.md, package.json).

If it exists: Read it. This is the product bible — it has everything you need. Skip to Phase 2.

If it does NOT exist: Auto-explore to create it. Do NOT ask the user what the product is. Discover it:

  1. Read CLAUDE.md, README.md, PROJECT.md, package.json, any project description files in the project root and additional working directories
  2. Search for existing email templates, Loops config, or email-related code (grep for "loops", "resend", "email", "transactional")
  3. Read landing pages, marketing copy, or product descriptions to understand the value prop
  4. Check for user flows, auth systems, billing integrations, database schemas, API routes
  5. Look at existing content, social profiles, or marketing materials

Then create MARKETING.md in the project root (next to CLAUDE.md) with this structure:

Installs
3
GitHub Stars
65
First Seen
Jul 28, 2026