Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.
JavaScript agent-skillsai-agentsai-seoclaudeclaude-codeclaude-code-pluginclaude-skillscodexcontent-marketingconversion-rate-optimizationcopywritingcursoremail-marketinggenerative-engine-optimizationgrowth-marketingmarketingmarketing-automationsaas-marketingseoskill-md
fix: post-merge review fixes (2.11.6) (#612)
Corey Hainesc0e35b78ad29
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex 234e68a..631135a 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -6,7 +6,7 @@},"metadata": {"description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, and growth",- "version": "2.11.5",+ "version": "2.11.6","repository": "https://github.com/coreyhaines31/marketingskills"},"plugins": [diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex 56a2ee2..0c5af13 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "marketing-skills","description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth",- "version": "2.11.5",+ "version": "2.11.6","author": {"name": "Corey Haines"},diff --git a/VERSIONS.md b/VERSIONS.mdindex be3dbef..6480bbd 100644--- a/VERSIONS.md+++ b/VERSIONS.md@@ -36,7 +36,7 @@ Current versions of all skills. Agents can compare against local versions to che| marketing-psychology | 2.0.0 | 2026-05-05 || offers | 1.0.1 | 2026-08-23 || onboarding | 2.0.1 | 2026-08-23 |-| ads | 2.4.0 | 2026-10-01 |+| ads | 2.4.1 | 2026-10-01 || paywalls | 2.0.0 | 2026-05-05 || popups | 2.0.0 | 2026-05-05 || pricing | 2.1.1 | 2026-08-23 |@@ -46,7 +46,7 @@ Current versions of all skills. Agents can compare against local versions to che| public-relations | 1.1.1 | 2026-08-23 || referrals | 2.0.1 | 2026-08-23 || revops | 2.0.0 | 2026-05-05 |-| sales-enablement | 2.3.0 | 2026-10-01 |+| sales-enablement | 2.3.1 | 2026-10-01 || schema | 2.0.0 | 2026-05-05 || seo-audit | 2.0.1 | 2026-08-19 || signup | 2.0.0 | 2026-05-05 |@@ -57,6 +57,15 @@ Current versions of all skills. Agents can compare against local versions to che## Recent Changes+### 2.11.6 (2026-10-01)++Post-merge review fixes. Closes #611.++- **ads** (2.4.0 → 2.4.1): `reading-google-ads-data.md` corrections. The 30-day limit is `change_event`'s; `change_status` covers 90 days without field detail. `metrics.conversions` can include secondary actions a custom goal pulls in. `client_type` names the client, not who or why, and Editor changes aren't returned. Learning phase blocks optimizing, not fixing verified breakage.+- **sales-enablement** (2.3.0 → 2.3.1): Battle Cards points single live objections at Live Deal Objection.+- **tools/google-ads**: computed date ranges use the local calendar date (UTC shifted them a day late in US evenings), and invalid `--days` values are rejected.+- **CI**: `check-versions.mjs` requires skill and repo versions to increase, and the repo version to match the newest changelog block.+### 2.11.5 (2026-10-01)Three competitive-PMM jobs added to existing skills instead of new ones, so the evidence rules from 2.11.3 apply to all of them. Closes #604.diff --git a/scripts/check-versions.mjs b/scripts/check-versions.mjsindex d52ee9c..5165cd3 100644--- a/scripts/check-versions.mjs+++ b/scripts/check-versions.mjs@@ -6,7 +6,7 @@//// Consistency:// - every skill's metadata.version matches its VERSIONS.md row, and every skill has a row-// - plugin.json and marketplace.json share one repo version with a `### x.y.z` block in VERSIONS.md+// - plugin.json and marketplace.json share one repo version, matching the newest `### x.y.z` block in VERSIONS.md// - every file in skills/<name>/references/ is linked from that skill's SKILL.md// or from another of its reference files (no orphans)// With --base:@@ -31,6 +31,11 @@ const frontmatter = (text) => text.replace(/\r\n/g, "\n").match(/^---\n([\s\S]*?const skillVersion = (text) => frontmatter(text).match(/^metadata:\s*\n(?:[ \t]+.*\n)*?[ \t]+version:\s*["']?([\d.]+)/m)?.[1];const repoVersion = (json) => JSON.parse(json).version;const marketVersion = (json) => JSON.parse(json).metadata?.version;+const newer = (a, b) => {+ const [x, y] = [a, b].map((v) => v.split(".").map(Number));+ for (let i = 0; i < 3; i++) if (x[i] !== y[i]) return x[i] > y[i];+ return false;+};const skills = readdirSync(resolve(ROOT, "skills"), { withFileTypes: true }).filter((d) => d.isDirectory() && existsSync(resolve(ROOT, "skills", d.name, "SKILL.md")))@@ -56,7 +61,8 @@ for (const name of Object.keys(table)) {const plugin = repoVersion(read(".claude-plugin/plugin.json"));const market = marketVersion(read(".claude-plugin/marketplace.json"));if (plugin !== market) errors.push(`plugin.json is ${plugin} but marketplace.json metadata.version is ${market}`);-if (!new RegExp(`^### ${plugin.replaceAll(".", "\\.")}(\\s|$)`, "m").test(versionsMd)) errors.push(`VERSIONS.md: no "### ${plugin}" changelog block`);+const latestHeading = versionsMd.match(/^### (\d+\.\d+\.\d+)(\s|$)/m)?.[1];+if (latestHeading !== plugin) errors.push(`VERSIONS.md: newest changelog block is ${latestHeading ?? "missing"}, but repo version is ${plugin}`);// Orphan referencesfor (const name of skills) {@@ -89,12 +95,12 @@ if (base) {if (!before) continue;const was = skillVersion(before);const now = skillVersion(read(`skills/${name}/SKILL.md`));- if (was === now) errors.push(`${name}: files changed but metadata.version is still ${now}`);+ if (was && now && !newer(now, was)) errors.push(`${name}: files changed but metadata.version went ${was} → ${now}; it must increase`);}const basePlugin = atBase(".claude-plugin/plugin.json");- if (changedSkills.length && basePlugin && repoVersion(basePlugin) === plugin) {- errors.push(`skills changed (${changedSkills.join(", ")}) but repo version is still ${plugin}`);+ if (changedSkills.length && basePlugin && !newer(plugin, repoVersion(basePlugin))) {+ errors.push(`skills changed (${changedSkills.join(", ")}) but repo version went ${repoVersion(basePlugin)} → ${plugin}; it must increase`);}}diff --git a/skills/ads/SKILL.md b/skills/ads/SKILL.mdindex 36c6aa2..cf95626 100644--- a/skills/ads/SKILL.md+++ b/skills/ads/SKILL.md@@ -2,7 +2,7 @@name: adsdescription: "When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' 'audience targeting,' 'Google Ads,' 'Facebook ads,' 'LinkedIn ads,' 'ad budget,' 'cost per click,' 'ad spend,' 'should I run ads,' 'ABM,' 'account-based marketing,' 'B2B ads,' 'lead quality,' 'negative keywords,' 'Performance Max,' 'thought leader ads,' 'when should I kill an ad,' 'search terms report,' 'wasted spend,' or 'is this campaign working.' Use this for campaign strategy, audience targeting, bidding, and optimization. For bulk ad creative generation and iteration, see ad-creative. For landing page optimization, see cro."metadata:- version: 2.4.0+ version: 2.4.1---# Paid Adsdiff --git a/skills/ads/references/reading-google-ads-data.md b/skills/ads/references/reading-google-ads-data.mdindex 7bd1a5b..1cc68ee 100644--- a/skills/ads/references/reading-google-ads-data.md+++ b/skills/ads/references/reading-google-ads-data.md@@ -28,7 +28,7 @@ An ad group called "Competitor - Commercial" can hold entirely informational key### "Conversions" is several things in one column-`metrics.conversions` counts only actions marked primary. `metrics.all_conversions` adds secondary ones. One campaign's conversions might mix a page-view proxy, a trial signup, and a booked demo.+`metrics.conversions` counts actions marked primary, plus any secondary action a campaign's custom goal pulls in. `metrics.all_conversions` adds the rest. Check campaign goals as well as action settings. One campaign's conversions might mix a page-view proxy, a trial signup, and a booked demo.- Segment by conversion action before calling anything a lead or a demo.- Check each action's attribution model and click window while you're there.@@ -46,13 +46,13 @@ Conversions are attributed back to the originating click. A conversion recordedExpired experiment arms inherit the base campaign's name and can keep an ENABLED status while serving nothing. Check `campaign.experiment_type` and `campaign.serving_status` before believing a duplicate exists.-### Change history only goes back 30 days+### Change history is short: 30 days with detail, 90 without-Anything older is invisible through the API. A performance shift three months ago may have no recoverable explanation, so say that instead of guessing one.+`change_event` (field-level before and after) covers 30 days. `change_status` covers 90 days but only says which resource changed, not what. Past that, the API has nothing. A performance shift four months ago may have no recoverable explanation, so say that instead of guessing one.### Other people are changing the account-Client staff, automated rules, scripts, and agents all leave changes. In `change_event`, `client_type` tells them apart: `GOOGLE_ADS_WEB_CLIENT` is a human in the UI, `GOOGLE_ADS_API` is an API integration or agent, `GOOGLE_ADS_SCRIPTS` and `GOOGLE_ADS_AUTOMATED_RULE` are scheduled automation, `GOOGLE_ADS_EDITOR` and `GOOGLE_ADS_BULK_UPLOAD` are batch edits, `GOOGLE_ADS_RECOMMENDATIONS` is an applied recommendation, and `INTERNAL_TOOL` is mostly Google's own automated asset generation. Check the enum for others. A repeating weekday-and-time pattern under one user is a scheduled job, not a person.+Client staff, automated rules, scripts, and agents all leave changes. In `change_event`, `client_type` says which client made the change: `GOOGLE_ADS_WEB_CLIENT` (the UI), `GOOGLE_ADS_API`, `GOOGLE_ADS_SCRIPTS`, `GOOGLE_ADS_AUTOMATED_RULE`, `GOOGLE_ADS_BULK_UPLOAD`, `GOOGLE_ADS_RECOMMENDATIONS`, `INTERNAL_TOOL` (Google-side tooling), and others in the enum. Report the client, not a guess at who or why: an API change could be an agency tool or a script. Google Ads Editor changes aren't returned at all, so a missing edit doesn't mean nobody made one. A repeating weekday-and-time pattern under one user is a scheduled job, not a person.## The window is not the picture@@ -61,7 +61,7 @@ A 30-day pull on a campaign that has run since spring is a slice of a longer ser- **Establish how long something has run** before quoting any efficiency number. Quote both recent and lifetime when they diverge.- **Don't pool across configuration changes.** If bids, keywords, budget, ads, or targeting changed mid-window, the period is several experiments averaged together.- **Bid-only changes are a special case.** They invalidate cost and volume comparisons but leave intent and audience questions readable.-- **Bid strategies in learning are unreadable.** `primary_status = LEARNING` means don't judge performance and don't change anything.+- **Bid strategies in learning are unreadable.** `primary_status = LEARNING` means don't judge performance or optimize on it. Fixing a verified break (tracking down, wrong URL) still comes first; see [audit-guardrails.md](audit-guardrails.md).## Small numbersdiff --git a/skills/sales-enablement/SKILL.md b/skills/sales-enablement/SKILL.mdindex 3bbdca4..730adab 100644--- a/skills/sales-enablement/SKILL.md+++ b/skills/sales-enablement/SKILL.md@@ -2,7 +2,7 @@name: sales-enablementdescription: "When the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'battle card,' 'battlecard,' 'competitive one-pager,' 'win-loss analysis,' 'why are we losing deals,' 'loss reasons,' 'how do I respond to this objection,' 'prospect just said,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps.' Use this for any document or asset that helps a sales team close deals. For public competitor comparison pages, see competitors. For running buyer interviews or churn research, see customer-research. For marketing website copy, see copywriting. For cold outreach emails, see cold-email. For the offer being sold (bonuses, guarantees, pricing structure), see offers."metadata:- version: 2.3.0+ version: 2.3.1---# Sales Enablement@@ -167,7 +167,7 @@ Afterward, suggest the rep log the objection and how it went. Live objections ar## Battle Cards-A battle card is a reusable one-competitor guide for reps, used across many deals. For a single live objection, use the objection doc. For public comparison pages, see competitors. Every line follows Claims Reps Can Defend.+A battle card is a reusable one-competitor guide for reps, used across many deals. For a single live objection, use Live Deal Objection. For public comparison pages, see competitors. Every line follows Claims Reps Can Defend.**Ask which competitor.** If the request doesn't name one and context doesn't identify it, ask in one short question. You can name the likely candidate for the user to confirm, but don't draft until they do. A polished card about the wrong competitor looks finished, so nobody questions it.diff --git a/tools/clis/google-ads.js b/tools/clis/google-ads.jsindex 0630338..27e5431 100755--- a/tools/clis/google-ads.js+++ b/tools/clis/google-ads.js@@ -60,10 +60,13 @@ function parseArgs(args) {const args = parseArgs(process.argv.slice(2))const [cmd, sub, ...rest] = args._+// Computed ranges use this machine's calendar date; Google evaluates them in the account's time zone.function dateFilter(days) {- const d = parseInt(days) || 30+ const d = days === undefined ? 30 : typeof days === 'string' ? Number(days) : NaN+ if (!Number.isInteger(d) || d < 1 || d > 3650) throw new Error('--days must be a whole number from 1 to 3650')if ([7, 14, 30].includes(d)) return `segments.date DURING LAST_${d}_DAYS`- const fmt = (date) => date.toISOString().slice(0, 10)+ const pad = (n) => String(n).padStart(2, '0')+ const fmt = (date) => `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`const end = new Date()end.setDate(end.getDate() - 1)const start = new Date(end)