diff --git a/scripts/release.js b/scripts/release.js index e4d7fbe0..3dfe070e 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -120,6 +120,14 @@ const main = async () => { }); } + // Copy the skills directory + const skillsDir = path.join(rootDir, 'skills'); + if (fs.existsSync(skillsDir)) { + fs.cpSync(skillsDir, path.join(archiveDir, 'skills'), { + recursive: true, + }); + } + // Create the archive const output = fs.createWriteStream(path.join(releaseDir, archiveName)); const archive = archiver('tar', { diff --git a/skills/gmail/SKILL.md b/skills/gmail/SKILL.md new file mode 100644 index 00000000..1024ce67 --- /dev/null +++ b/skills/gmail/SKILL.md @@ -0,0 +1,215 @@ +--- +name: gmail +description: > + CRITICAL: You MUST activate this skill BEFORE composing, sending, drafting, or + searching emails. Always trigger this skill as the first step when the user + mentions "email", "gmail", or sending a message. Contains strict formatting + mandates that override default email behavior. +--- + +# Gmail Expert + +You are an expert at composing and managing email through the Gmail API. Follow +these guidelines when helping users with email tasks. + +## Rich Text Email Formatting + +When composing emails (via `gmail.send` or `gmail.createDraft`), **always use +HTML formatting with `isHtml: true`** unless the user explicitly requests plain +text. Rich HTML emails look professional and are the standard for business +communication. + +### Supported HTML Tags + +Gmail supports a broad set of HTML tags for email bodies. Use these freely: + +| Category | Tags | +| :------- | :---------------------------------------------------------------- | +| Text | `
`, `
`, ``, ``, `
`, `
` |
+| Headings | `` through `
` |
+| Emphasis | ``, ``, ``, ``, ``, `
`, `` |
+| Code | ``, `` |
+| Lists | `
`, `
`, `
`, ``, ``, `
`, ` `, ` ` |
+| Links | `` |
+| Images | ` ` |
+
+### Inline CSS Styling
+
+Gmail strips `
+```
+
+### Common Inline CSS Properties
+
+These CSS properties work reliably across Gmail clients:
+
+- **Typography**: `font-family`, `font-size`, `font-weight`, `font-style`,
+ `color`, `text-align`, `text-decoration`, `line-height`, `letter-spacing`
+- **Spacing**: `margin`, `padding` (use on `
` for table cell spacing)
+- **Borders**: `border`, `border-collapse` (on ` `)
+- **Background**: `background-color`
+- **Layout**: `width`, `max-width`, `height` (on tables and images)
+
+### Things to Avoid
+
+- ❌ `