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 #762
Corey Hainesc368e136c702
diff --cc validate-skills.shindex de246f9,fa39853..7714af4--- a/validate-skills.sh+++ b/validate-skills.sh@@@ -41,13 -41,19 +41,20 @@@ for skill_dir in "$SKILLS_DIR"/*/; dcontinuefi- # Extract frontmatter (between the first two `---` markers, exclusive)- frontmatter=$(awk '{sub(/\r$/, "")} /^---$/{count++; next} count==1' "$skill_file")+ # Frontmatter must start the file and have a closing marker. Body sections+ # containing `---` must not supply skill metadata.+ frontmatter=$(awk '++ { sub(/\r$/, "") }+ NR == 1 && $0 != "---" { exit 1 }+ /^---$/ { count++; if (count == 2) exit; next }+ count == 1 { print }+ END { if (count != 2) exit 1 }+ ' "$skill_file")- # Validate frontmatter exists- if [[ -z "$frontmatter" ]]; then+ # Validate both marker boundaries before using the extracted metadata.+ if [[ $? -ne 0 || -z "$frontmatter" ]]; thenecho -e "${RED}❌ $skill_name${NC}"- echo " Missing YAML frontmatter (---)"+ echo " Missing or unclosed YAML frontmatter (---)"((ISSUES++))continuefi