ab-test-generator
Generate A/B test variants for affiliate content. Triggers on: "create A/B test", "test my headline", "optimize my CTA", "generate variants", "split test…
Turn a repeatable AI prompt or workflow into a structured, shareable skill for the affiliate-skills GitHub repository. Use this skill when the user wants to create a new skill, write a SKILL.md, convert a prompt to a skill, share a skill via the GitHub repo, or document an AI
$ npx -y skills add Affitor/affiliate-skills --skill create-skill --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/create-skillContext preview
The summary Claude sees to decide when to auto-load this skill.
Turn a repeatable AI prompt or workflow into a structured, shareable skill for the affiliate-skills GitHub repository. Use this skill when the user wants to create a new skill, write a SKILL.md, convert a prompt to a skill, share a skill via the GitHub repo, or document an AI
name: create-skill description: > Turn a repeatable AI prompt or workflow into a structured, shareable skill for the affiliate-skills GitHub repository. Use this skill when the user wants to create a new skill, write a SKILL.md, convert a prompt to a skill, share a skill via the GitHub repo, or document an AI workflow. Also trigger for: "create a skill", "write a skill", "make this a skill", "turn this into a skill", "publish skill", "add skill to list", "write SKILL.md", "skill from prompt", "document this workflow", "package this as a skill". license: MIT version: "1.0.0" tags: ["meta", "skill-writing", "directory", "publishing", "workflow", "prompt-engineering"] compatibility: "Claude Code, ChatGPT, Gemini CLI, Cursor, Windsurf, OpenClaw, any AI agent" metadata: author: affitor version: "1.0" stage: S8-Meta
Turn a repeatable AI prompt or workflow into a structured, shareable skill for the [affiliate-skills GitHub repository](https://github.com/Affitor/affiliate-skills). The output is a complete SKILL.md file that works in any AI agent — shared via `npx skills add Affitor/affiliate-skills` so anyone can install it.
This skill belongs to Stage S8: Meta
{
raw_prompt: string # (required) The prompt, workflow description, or detailed explanation of what the skill does
failure_modes: string # (optional) What goes wrong when the output is bad — helps write better Instructions and Error Handling
niche: string # (optional) Category hint, e.g., "content", "research", "seo"
examples: string # (optional) Example input/output pairs the user already has
}Before writing anything, analyze the user's raw prompt or workflow description:
1. **Task type** — Is this content creation, research, analysis, planning, automation, or something else? 2. **Variable inputs** — What changes each time? (product name, URL, audience, topic, etc.) 3. **Fixed structure** — What stays the same? (output format, sections, tone, constraints) 4. **Quality differentiator** — What makes a good output vs. a bad one? 5. **Failure modes** — Where does the AI tend to go wrong without explicit guidance?
If the user gave a vague description instead of an actual prompt, ask:
If the user says "just do it", infer from context and proceed.
Based on the analysis, determine:
| Field | How to decide | |-------|--------------| | `name` | Short, action-oriented. "Comparison Post Writer" not "A Skill for Writing Comparison Posts" | | `slug` | kebab-case of name, e.g., `comparison-post-writer` | | `category` | One of: research, content, seo, landing, distribution, analytics, automation, meta | | `level` | beginner (1-step, no tools), intermediate (multi-step, 1 tool), advanced (complex workflow, multiple tools) | | `stage` | S1-Research, S2-Content, S3-Blog, S4-Landing, S5-Distribution, S6-Analytics, S7-Automation, S8-Meta | | `tags` | 3-6 lowercase tags relevant to the skill's domain | | `tools` | What external tools the skill needs: `web_search`, `web_fetch`, `code_execution`, none |
Create a complete SKILL.md following this exact structure. Every section is required.
**Frontmatter (YAML)**
--- name: [slug] description: > [2-3 lines. First line: what it does. Second line: trigger phrases. This is used for skill discovery — be specific about use cases.] license: MIT version: "1.0.0" tags: [relevant tags] compatibility: "Claude Code, ChatGPT, Gemini CLI, Cursor, Windsurf, OpenClaw, any AI agent" metadata: author: [user handle or "affitor"] version: "1.0" stage: [S1-S8] ---
**Title and Introduction** One paragraph. What the skill does and what makes the output reliable. No marketing speak.
**When to Use** 3-5 specific trigger scenarios. "Writing a blog post" is too vague. "You need to publish a comparison post for two competing SaaS tools this week" is useful.
**Input Schema** Typed definition of every variable input. Mark required vs optional.
**Workflow (numbered steps)** This is the core. Each step must be concrete enough that any AI model produces consistent output:
Bad: "3. Write the pros and cons" Good: "3. Write at least 3 pros and 2 cons. Each must reference a specific feature, not a vague category. 'Exports to 12 formats including PDF and DOCX' not 'Great export options'."
**Output Schema** Typed fields that other skills can consume via conversation context. Include `output_schema_version: "1.0.0"`.
**Output Format** A markdown code block showing the exact template with `[placeholder]` brackets. This is the single most important section for consistency.
**Error Handling** 3-5 named failure modes with specific recovery behavior. What happens when input is missing, ambiguous, or the task can't be completed?
**Examples** 2-3 concrete examples showing:
**Flywheel Connections**
**Qual
Turn any AI into your affiliate marketing team. 52 AI-powered skills across 8 stages with a closed-loop flywheel.
Generate A/B test variants for affiliate content. Triggers on: "create A/B test", "test my headline", "optimize my CTA", "generate variants", "split test…
Set up affiliate conversion tracking with UTM parameters and link tagging. Triggers on: "set up tracking", "create UTM links", "track my affiliate links",…
Analyze site's internal link structure and optimize for hub-and-spoke SEO architecture. Triggers on: "optimize internal links", "internal linking", "link…
Generate affiliate performance reports with KPIs and recommendations. Triggers on: "show my affiliate report", "how are my programs doing", "performance…
Audit affiliate blog posts and landing pages for SEO issues. Triggers on: "audit my blog post for SEO", "check my SEO", "SEO review", "improve my rankings",…
Repurpose one piece of affiliate content into multiple formats. Triggers on: "repurpose my content", "turn my blog into tweets", "cross-post this", "content…