agentleFS
podopodo/design-agent-skills/skills/email-html-mjml/SKILL.md

email-html-mjml

Skill32 starsChanged 6 months agoMITView on GitHub

Generates cross-client responsive HTML email from MJML 5.x — Outlook 2013-365 safe, Gmail-optimized, WCAG 2.1 AA accessible. Triggers automatically when asked to create, compile, or troubleshoot HTML email. Compiles with npx mjml, so it needs Node.js 20+.

  • Installs packages

2 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

email-html-mjml

Catalogue stub — full skill: framix-team/skill-email-html-mjml

<!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block -->

Decision tree

  1. Is the full skill already installed?
    • Global: f=~/.agents/skills/email-html-mjml/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"
    • Project: f=.agents/skills/email-html-mjml/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"
    • installed → the skill is installed as email-html-mjml, invoke it and proceed
    • pointer → go to step 2
  2. Detect scope, then install:

    [ -e ~/.agents/skills/email-html-mjml ] && echo "global" || echo "project"

    Global:

    npx skills add framix-team/skill-email-html-mjml --skill email-html-mjml -g -y

    Project:

    npx skills add framix-team/skill-email-html-mjml --skill email-html-mjml -y

    Claude Code: send a command as a chat message starting with ! to run it without leaving the conversation.

Heads-up

  • Requires: Node.js 20 or later; MJML installed per project (npm install -D mjml), never globally
  • License: MIT
<!-- das:install:end -->

Invoke after install

  • Skill name: email-html-mjml
  • Trigger phrases: "MJML", "HTML email", "email template", "Outlook-safe email"

What it does

Generates production-ready HTML email using MJML 5.x as the authoring layer. MJML's responsive components compile to table-based HTML that is compatible with Outlook 2013 through 365, Gmail web and mobile, Apple Mail, and other major clients. The skill ships component references, example templates (newsletter, order confirmation, promo, basic layout) and compile instructions; it always delivers the .mjml source and the compiled .html, validated with MJML's strict mode and checked against Gmail's 102 KB clipping limit. Output follows accessibility rules (alt text, titles, contrast). The skill self-activates when asked to create, compile, or troubleshoot any HTML email.

It compiles with npx mjml, so Node.js 20 or later is required, and MJML itself is installed per project (npm install -D mjml).

When NOT to use

  • Marketing web page HTML — use design-html instead
  • Animated web content or interactive landing pages
  • Email rendering testing across clients (use a dedicated email testing service like Litmus)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.