affitor/affiliate-skills/create-skill
Claude Code and agent skill by affitor/affiliate-skills
- community
Checking that the SKILL.md file is still in the repository.
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".
Install
npx vskill@latest install affitor/affiliate-skills/create-skillSKILL.md
The same SKILL.md was published earlier as affitor/affiliate-skills/create-skill.
List Affitor Skill
Turn a repeatable AI prompt or workflow into a structured, shareable skill for the affiliate-skills GitHub repository. 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
Workflow
Step 1: Understand What the Prompt Actually Does
Before writing anything, analyze the user's raw prompt or workflow description:
- Task type — Is this content creation, research, analysis, planning, automation, or something else?
- Variable inputs — What changes each time? (product name, URL, audience, topic, etc.)
- Fixed structure — What stays the same? (output format, sections, tone, constraints)
- Quality differentiator — What makes a good output vs. a bad one?
- 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)
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_metadataYAML block withskill_slug,stage,timestamp,suggested_next
Quality Gate 5-7 numbered checklist items that must all pass before the output is delivered. These are the self-validation checks the AI runs silently.
References Links to supplementary reference files if applicable.
Step 4: Write the README Description
Separately from the SKILL.md, write a community-facing description for the skill's README section (for GitHub and the affiliate-skills registry). This is what people see when browsing — it sells the skill, not documents it.
Structure:
- Opening (2 sentences) — what the skill does, who it's for
- When to Use (3 bullets) — specific scenarios
- What Makes It Different (brief) — why this skill vs. just prompting
- Instructions summary — condensed version of the workflow
- Input Required — what the user needs to provide
- Output Format — what the skill produces (show template)
- Example — one concrete input/output
- Tips (3-5) — practical advice for getting the best results
This is NOT the SKILL.md content — it's a human-friendly summary for discovery.
Step 5: Assemble Output
Present two clearly separated outputs:
- SKILL.md — the full file, ready to save to
skills/{stage}/{slug}/SKILL.md - README Description — community-facing description for the GitHub repo and registry
Step 6: Self-Validation
Before presenting output, verify:
- [ ] SKILL.md has all required sections (frontmatter, intro, when-to-use, input schema, workflow, output schema, output format, error handling, examples, flywheel, quality gate)
- [ ] Every workflow step has action + approach + quality bar
- [ ] Output Format uses a code block with
[placeholder]brackets - [ ] At least 2 examples with concrete input/output
- [ ] Error handling covers realistic failure modes, not hypothetical ones
- [ ] Quality gate items are testable (not "make sure it's good")
- [ ] Description is specific enough that someone knows if it's relevant before clicking
- [ ] Frontmatter
namematches the slug exactly
Output Schema
Other skills consume these fields from conversation context:
Output Format
The skill produces two outputs:
Output 1: SKILL.md File
Output 2: README / Registry Description
Error Handling
- User gives a vague description instead of a prompt: Ask for the actual prompt they paste into AI, or a concrete example of input and expected output. If they say "just figure it out", do your best but flag that the skill may need iteration.
- Prompt is too simple for a skill: If the prompt is a single sentence with no variable inputs (e.g., "write me a joke"), tell the user this doesn't need to be a skill — it's already a prompt. Skills add value when there are variable inputs, structured outputs, and quality concerns.
- Prompt does too many things: If the workflow has 10+ distinct steps covering different domains, suggest splitting into 2-3 focused skills that chain together via flywheel connections.
- No clear output format: If the user can't describe what good output looks like, ask for 1-2 examples. Build the Output Format section from those examples.
- User wants to copy an existing skill: Check if a similar skill already exists in the affiliate-skills repo. If so, suggest improving the existing one rather than creating a duplicate.
Examples
Example 1: Converting a reused ChatGPT prompt
User: "I always ask ChatGPT to write me a comparison blog post about two SaaS tools for my affiliate site. Sometimes it's great, sometimes it writes a generic listicle."
Analysis:
- Task: content creation (comparison post)
- Variable inputs: product A, product B, niche
- Fixed structure: comparison table, pros/cons, recommendation with affiliate links
- Failure mode: generic listicle instead of specific comparison
- Stage: S3-Blog, Category: seo
Output: SKILL.md with comparison-post-writer slug, detailed workflow for researching both products, building comparison tables, writing specific pros/cons, and a quality gate that checks for concrete feature comparisons (not generic praise).
Example 2: Packaging a workflow that spans multiple tools
User: "I have a workflow where I research a product on G2, check their pricing page, then write a review post with SEO keywords. Can you make this a skill?"
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/meta/create-skill/SKILL.md
Popularity
- Repository stars
- 506
- Repository forks
- 173
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/affitor/affiliate-skills/create-skill)