How coreyhaines31/marketingskills works
Purpose and Distribution
This is a versioned, Markdown-first library of marketing workflows for AI coding agents, not a running application. Consumers install the skills/ directories through the external npx skills CLI, clone/submodule them, or load them as a Claude Code plugin. Primary package entry points are .claude-plugin/plugin.json and .claude-plugin/marketplace.json; the repository’s usable content begins in each skill’s SKILL.md.
Skill Contract and Catalog
Each domain skill is a self-contained agent instruction package rooted at skills/<name>/SKILL.md, with optional supporting material. Examples: skills/product-marketing/SKILL.md, skills/cro/SKILL.md, and skills/analytics/SKILL.md. The SKILL.md files define activation/use cases, workflow guidance, and relationships; they are the primary interface consumed by compatible agents.
The catalog spans conversion, content, SEO, paid acquisition, measurement, retention, and GTM. Directory naming is therefore a compatibility surface: installer selection and direct invocation target these skill names.
Shared Context and Dependency Model
product-marketing is the architectural root: downstream skills are expected to establish product, audience, and positioning context from it before specialized work. Its entry point is skills/product-marketing/SKILL.md. In installed consumer projects, the durable shared context belongs in .agents/product-marketing.md, with legacy .claude/ locations supported by the skills’ documented migration behavior.
Specialist skills form a cross-reference graph rather than an executable pipeline: for example, CRO/copy/testing, SEO/schema/AI SEO, and RevOps/sales/cold-email coordinate through their related-skill guidance. Representative nodes include skills/ab-testing/SKILL.md, skills/seo-audit/SKILL.md, and skills/revops/SKILL.md.
Evidence, Templates, and Evaluation Boundaries
Skill guidance is layered: the core workflow stays in SKILL.md; detailed knowledge and reusable formats live under per-skill references/ and, where needed, assets/. For example: skills/ads/references/, skills/marketing-plan/references/, and skills/ad-creative/assets/creative-review-template.html.
Each skill also owns an evaluation fixture at skills/<name>/evals/evals.json, such as skills/copywriting/evals/evals.json. These provide a validation boundary for skill behavior/content rather than application runtime tests.
Tool and Integration Knowledge Base
The repository separates neutral external-tool guidance from core skill workflows. tools/integrations/ documents supported marketing platforms and services, including tools/integrations/ga4.md, tools/integrations/hubspot.md, and tools/integrations/stripe.md. tools/clis/ provides JavaScript CLI-oriented tool descriptors, e.g. tools/clis/ga4.js and tools/clis/google-ads.js; tools/composio/ covers Composio-oriented access.
This layer names integrations but does not itself operate services. Material external ecosystems include analytics, ad networks, CRM, email delivery, SEO data providers, CMSs, payment systems, and automation platforms.
Partner Registry and Generated Content
Partner disclosure is isolated from neutral integration documentation. Canonical partner data is partners.json; scripts/sync-partners.mjs generates the README partner block, while policy and registry outputs are tools/PARTNERS.md and tools/REGISTRY.md. This boundary is intended to prevent commercial relationships from changing core skill recommendations.
Validation and Release Automation
Shell validation entry points are validate-skills.sh and validate-skills-official.sh; CI invokes repository checks through .github/workflows/validate-skill.yml. Release and catalog synchronization are managed by .github/workflows/release.yml and .github/workflows/sync-skills.yml, with .github/scripts/sync-skills.js maintaining published skill metadata. The effective runtime is Markdown interpreted by an AI agent; Node.js is used for repository generation/synchronization scripts and GitHub Actions supplies automation infrastructure.
Components 21
Distribution
- Claude plugin manifest
.claude-plugin/plugin.json - Marketplace manifest
.claude-plugin/marketplace.json - Consumer installation · npx skills, clone/submodule, or Claude plugin loading.
Skill Library
- Skill directories · Directory names are installer and invocation compatibility surfaces.
- Product marketing · Establishes product, audience, and positioning context.
skills/product-marketing/SKILL.md - Installed shared context · Durable product-marketing context with legacy Claude migration support.
- Specialist skills · Conversion, content, SEO, paid, measurement, retention, and GTM guidance.
- A/B testing
skills/ab-testing/SKILL.md - SEO audit
skills/seo-audit/SKILL.md - RevOps
skills/revops/SKILL.md - References & assets · Detailed knowledge and reusable formats supplement core workflows.
- Skill evaluations
skills/copywriting/evals/evals.json
Knowledge & Partners
- Integration guidance · Documents marketing platforms without operating them.
- CLI descriptors
- Partner registry
partners.json - Partner sync · Generates partner disclosure content from the registry.
scripts/sync-partners.mjs - Partner disclosures
tools/PARTNERS.md
Validation & Release
- Skill validation
validate-skills.sh - Validation workflow
.github/workflows/validate-skill.yml - Release & catalog sync · Publishes and synchronizes skill metadata.
.github/workflows/sync-skills.yml - Published metadata sync
.github/scripts/sync-skills.js
Connections 19
- Claude plugin manifest → Skill directories: loads
- Marketplace manifest → Skill directories: catalogs
- Consumer installation → Skill directories: installs
- Skill directories → Product marketing: includes
- Product marketing → Installed shared context: persists context
- Product marketing → Specialist skills: provides context for
- Specialist skills → A/B testing: includes
- Specialist skills → SEO audit: includes
- Specialist skills → RevOps: includes
- Skill directories → References & assets: supplemented by
- Skill directories → Skill evaluations: validated by
- Specialist skills → Integration guidance: consults
- Integration guidance → CLI descriptors: paired with
- Partner registry → Partner sync: input
- Partner sync → Partner disclosures: generates
- Skill validation → Skill directories: checks
- Validation workflow → Skill validation: invokes
- Release & catalog sync → Published metadata sync: runs
- Published metadata sync → Marketplace manifest: maintains metadata