/create-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
$ 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.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/create-skill
Context 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
SKILL.md
create-skill.SKILL.mdname: 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
List Affitor Skill
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.
Stage
This skill belongs to Stage S8: Meta
When to Use
- User has a prompt they keep reusing and wants to turn it into a shareable skill
- User wants to create a new skill for the affiliate-skills repository
- User wants to write a SKILL.md file in the standard format
- User says "make this a skill" or "write a skill for X"
- User wants to package an AI workflow so others can replicate it
Input Schema
{
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
}Workflow
Step 1: Understand What the Prompt Actually Does
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:
- "What do you typically paste into ChatGPT/Claude for this?"
- "What does the output look like when it works well?"
- "What goes wrong when it doesn't?"
If the user says "just do it", infer from context and proceed.
Step 2: Determine Skill Metadata
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 |
Step 3: Write the SKILL.md
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:
- **Action** — what to do
- **Approach** — how to do it specifically
- **Quality bar** — what good looks like
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:
- User input
- Key decisions made during the workflow
- What the output looks like (excerpt, not full)
**Flywheel Connections**
- Feeds Into: which skills consume this skill's output
- Fed By: which skills produce input for this skill
- Feedback Loop: how community engagement improves the skill
- `chain_metadata` YAML block with `skill_slug`, `stage`, `timestamp`, `suggested_next`
**Qual
Read more
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
List Affitor Skill
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.
Stage
This skill belongs to Stage S8: Meta
When to Use
- User has a prompt they keep reusing and wants to turn it into a shareable skill
- User wants to create a new skill for the affiliate-skills repository
- User wants to write a SKILL.md file in the standard format
- User says "make this a skill" or "write a skill for X"
- User wants to package an AI workflow so others can replicate it
Input Schema
{
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
}Workflow
Step 1: Understand What the Prompt Actually Does
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:
- "What do you typically paste into ChatGPT/Claude for this?"
- "What does the output look like when it works well?"
- "What goes wrong when it doesn't?"
If the user says "just do it", infer from context and proceed.
Step 2: Determine Skill Metadata
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 |
Step 3: Write the SKILL.md
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:
- **Action** — what to do
- **Approach** — how to do it specifically
- **Quality bar** — what good looks like
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:
- User input
- Key decisions made during the workflow
- What the output looks like (excerpt, not full)
**Flywheel Connections**
- Feeds Into: which skills consume this skill's output
- Fed By: which skills produce input for this skill
- Feedback Loop: how community engagement improves the skill
- `chain_metadata` YAML block with `skill_slug`, `stage`, `timestamp`, `suggested_next`
**Qual
Turn any AI into your affiliate marketing team. 52 AI-powered skills across 8 stages with a closed-loop flywheel.
Other skills on affiliate-skills.
- /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 ideas", "improve click-through rate", "test my landing page copy", "headline alternatives", "CTA variations", "which version
Open skill - /conversion-tracker
Set up affiliate conversion tracking with UTM parameters and link tagging. Triggers on: "set up tracking", "create UTM links", "track my affiliate links", "tracking pixels", "click attribution", "organize my links", "UTM parameters", "tag my links", "campaign tracking", "link
Open skill - /internal-linking-optimizer
Analyze site's internal link structure and optimize for hub-and-spoke SEO architecture. Triggers on: "optimize internal links", "internal linking", "link structure", "hub and spoke links", "orphan pages", "link equity", "internal link audit", "fix my internal links", "link
Open skill - /performance-report
Generate affiliate performance reports with KPIs and recommendations. Triggers on: "show my affiliate report", "how are my programs doing", "performance review", "earnings report", "monthly affiliate report", "weekly report", "analyze my affiliate earnings", "which program is
Open skill - /seo-audit
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", "SEO checklist", "on-page SEO audit", "keyword optimization check", "why isn't my page ranking", "SEO score", "content
Open skill - /content-repurposer
Repurpose one piece of affiliate content into multiple formats. Triggers on: "repurpose my content", "turn my blog into tweets", "cross-post this", "content recycling", "convert to newsletter", "make a tweet thread from this", "adapt for TikTok", "omnichannel content", "scale my
Open skill

