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
Merge PR #778
Corey Hainesb7e503a2f07a
diff --cc skills/attribution/evals/evals.jsonindex 1871b25,9e78e17..51e7f73--- a/skills/attribution/evals/evals.json+++ b/skills/attribution/evals/evals.json@@@ -100,16 -100,16 +100,29 @@@},{"id": 8,+ "prompt": "Our capture-phase SavvyCal decorator added metadata[ph_distinct_id]=anonymous-old to a booking anchor. On the same page the visitor identifies by email, then activates that same anchor again (including middle-click). Our helper correctly returns null for the identified email. Is returning early enough to fail closed? Preserve the booking path, campaign query parameter and fragment.",+ "expected_output": "Should recognize that anchor.href is already mutated: returning early preserves the old anonymous ID. On each supported booking-link activation, set the metadata parameter when a current safe anonymous ID exists, otherwise delete only metadata[ph_distinct_id] and write the refreshed URL back. Apply to click and auxclick, including unavailable identity. Preserve unrelated query parameters, hash, destination and unrelated hosts. Keep the existing identity-model guard; do not use identified email/UUID as a substitute.",+ "assertions": [+ "Explains why early return retains stale metadata on a reused anchor",+ "Deletes only the attribution parameter when identity is rejected or unavailable",+ "Refreshes the parameter for a new valid anonymous ID",+ "Covers click and auxclick without changing unrelated destinations or URL components",+ "Does not substitute an identified user ID"+ ],+ "files": []++ },++ {++ "id": 9,+ "prompt": "Our booking webhook sends PostHog identity and conversion events with fetch and a three-second timeout. When analytics times out it fails the webhook; HTTP 503 resolves without any diagnostic. How should the attribution recipe preserve a successful booking and show ingestion failures without exposing identities?",+ "expected_output": "Should run analytics after business-critical work, catch network and timeout rejections, inspect response.ok for rejected HTTP ingestion, and emit only a booking identifier plus safe status diagnostics. Keep analytics non-fatal for the booking. Do not log the email, payload or raw exception, or claim a fulfilled fetch means events were accepted. If reliable delivery is required, recommend a separate idempotent queue rather than replaying the booking.",+ "assertions": [+ "Catches timeout and network rejection without failing the booking",+ "Checks HTTP response acceptance separately from promise fulfillment",+ "Logs only booking identifier and safe status",+ "Keeps payload, email and raw exception out of diagnostics",+ "Separates reliable analytics delivery from booking execution"+ ],+ "files": []}]}