AGENTS.md
Guidelines for AI agents working in this repository.
Repository Overview
This repository contains Agent Skills for AI agents following the Agent Skills specification. Skills install to .agents/skills/ (the cross-agent standard). This repo also serves as a Claude Code plugin marketplace via .claude-plugin/marketplace.json.
- Name: Marketing Skills
- GitHub: coreyhaines31/marketingskills
- Creator: Corey Haines
- License: MIT
Repository Structure
marketingskills/
├── .claude-plugin/
│ └── marketplace.json # Claude Code plugin marketplace manifest
├── skills/ # Agent Skills
│ └── skill-name/
│ └── SKILL.md # Required skill file
├── tools/
│ ├── clis/ # Zero-dependency Node.js CLI tools (51 tools)
│ ├── integrations/ # API integration guides per tool
│ └── REGISTRY.md # Tool index with capabilities
├── CONTRIBUTING.md
├── LICENSE
└── README.mdBuild / Lint / Test Commands
Skills are content-only (no build step). Verify manually:
- YAML frontmatter is valid
namefield matches directory name exactlynameis 1-64 chars, lowercase alphanumeric and hyphens onlydescriptionis 1-1024 characters
CLI tools (tools/clis/*.js) are zero-dependency Node.js scripts (Node 18+). Verify with:
node --check tools/clis/<name>.js # Syntax check
node tools/clis/<name>.js # Show usage (no args = help)
node tools/clis/<name>.js <cmd> --dry-run # Preview request without sendingAgent Skills Specification
Skills follow the Agent Skills spec.
Required Frontmatter
---
name: skill-name
description: What this skill does and when to use it. Include trigger phrases.
---Frontmatter Field Constraints
| Field | Required | Constraints |
|---|---|---|
name | Yes | 1-64 chars, lowercase a-z, numbers, hyphens. Must match dir. |
description | Yes | 1-1024 chars. Describe what it does and when to use it. |
license | No | License name (default: MIT) |
metadata | No | Key-value pairs (author, version, etc.) |
Name Field Rules
- Lowercase letters, numbers, and hyphens only
- Cannot start or end with hyphen
- No consecutive hyphens (
--) - Must match parent directory name exactly
Valid: page-cro, email-sequence, ab-test-setupInvalid: Page-CRO, -page, page--cro
Optional Skill Directories
skills/skill-name/
├── SKILL.md # Required - main instructions (<500 lines)
├── references/ # Optional - detailed docs loaded on demand
├── scripts/ # Optional - executable code
└── assets/ # Optional - templates, data filesWriting Style Guidelines
Structure
- Keep
SKILL.mdunder 500 lines (move details toreferences/) - Use H2 (
##) for main sections, H3 (###) for subsections - Use bullet points and numbered lists liberally
- Short paragraphs (2-4 sentences max)
Tone
- Direct and instructional
- Second person ("You are a conversion rate optimization expert")
- Professional but approachable
Formatting
- Bold (
**text**) for key terms - Code blocks for examples and templates
- Tables for reference data
- No excessive emojis
Clarity Principles
- Clarity over cleverness
- Specific over vague
- Active voice over passive
- One idea per section
Description Field Best Practices
The description is critical for skill discovery. Include:
- What the skill does
- When to use it (trigger phrases)
- Related skills for scope boundaries
description: When the user wants to optimize conversions on any marketing page. Use when the user says "CRO," "conversion rate optimization," "this page isn't converting." For signup flows, see signup-flow-cro.Claude Code Plugin
This repo also serves as a plugin marketplace. The manifest at .claude-plugin/marketplace.json lists all skills for installation via:
/plugin marketplace add coreyhaines31/marketingskills
/plugin install marketing-skillsSee Claude Code plugins documentation for details.
Git Workflow
Branch Naming
- New skills:
feature/skill-name - Improvements:
fix/skill-name-description - Documentation:
docs/description
Commit Messages
Follow the Conventional Commits specification:
feat: add skill-name skillfix: improve clarity in page-crodocs: update README
Pull Request Checklist
- [ ]
namematches directory name exactly - [ ]
namefollows naming rules (lowercase, hyphens, no--) - [ ]
descriptionis 1-1024 chars with trigger phrases - [ ]
SKILL.mdis under 500 lines - [ ] No sensitive data or credentials
Tool Integrations
This repository includes a tools registry for agent-compatible marketing tools.
- Tool discovery: Read
tools/REGISTRY.mdto see available tools and their capabilities - Integration details: See
tools/integrations/{tool}.mdfor API endpoints, auth, and common operations - MCP-enabled tools: ga4, stripe, mailchimp, google-ads, resend, zapier
Registry Structure
tools/
├── REGISTRY.md # Index of all tools with capabilities
└── integrations/ # Detailed integration guides
├── ga4.md
├── stripe.md
├── rewardful.md
└── ...When to Use Tools
Skills reference relevant tools for implementation. For example:
referral-programskill → rewardful, tolt, dub-co, mention-me guidesanalytics-trackingskill → ga4, mixpanel, segment guidesemail-sequenceskill → customer-io, mailchimp, resend guidespaid-adsskill → google-ads, meta-ads, linkedin-ads guides
Checking for Updates
When using any skill from this repository:
Once per session, on first skill use, check for updates:
- Fetch
VERSIONS.mdfrom GitHub: https://raw.githubusercontent.com/coreyhaines31/marketingskills/main/VERSIONS.md - Compare versions against local skill files
- Fetch
Only prompt if meaningful:
- 2 or more skills have updates, OR
- Any skill has a major version bump (e.g., 1.x to 2.x)
Non-blocking notification at end of response:
--- Skills update available: X marketing skills have updates. Say "update skills" to update automatically, or run `git pull` in your marketingskills folder.If user says "update skills":
- Run
git pullin the marketingskills directory - Confirm what was updated
- Run
Skill Categories
See README.md for the current list of skills organized by category. When adding new skills, follow the naming patterns of existing skills in that category.