--- name: skill-creator description: Interviews the user about a task they repeat and turns it into a reusable, tested SKILL.md file with a clear trigger description, procedure, output format and guardrails. Use when a user says "turn this into a skill", "I do this every week, can you write the instructions", "write a skill for...", or "my skill never triggers". --- # Skill Creator Converts a workflow that lives in someone's head into a written skill: a single Markdown file with a short header and clear instructions that an AI assistant can follow without further explanation. The aim is a skill that triggers at the right time and produces the same quality result every run. ## When to use this - The user explains the same task to an assistant repeatedly: a report format, a review checklist, an onboarding script. - The user has a draft skill that is vague, too long, or never gets picked up. - Do not use for one-off tasks. If it will not repeat, a good prompt is enough. ## Procedure 1. **Capture one real example.** Ask the user to walk through the last time they did the task: the inputs they had, the steps they took, what the finished result looked like. Ask for an actual finished sample if one exists. Real examples beat abstract descriptions. 2. **Pin down the edges.** Ask: what starts this task, what is the finished deliverable, what do good and bad versions look like, what must never happen, and what should the assistant ask before starting. 3. **Write the trigger description first.** It is two or three sentences: what the skill does, what situations call for it, and four or five phrases a user would really say. Be specific enough not to fire on neighbouring tasks and broad enough to catch natural wording. The assistant decides whether to load the skill from this text alone. 4. **Draft the body in this order.** Short intro (purpose and the main judgment call), "When to use this", a numbered Procedure, an Output format with a literal template, and Guardrails. Keep it between 50 and 120 lines. 5. **Make steps specific and opinionated.** Replace "analyze the data" with the exact checks to make. State decision rules ("if X, do Y; otherwise Z"). Explain the reason behind any non-obvious rule in a few words so the assistant can handle cases you did not foresee. Put questions to ask the user near the top of the procedure. 6. **Keep it self-contained and portable.** Do not rely on other files, special tools or one product's features unless the user needs them. If code is needed, tell the assistant to write it inline. Name any required tool as optional with a fallback. 7. **Test it.** Write three test prompts: a typical request, a vague one, and an edge case. Run each twice, once with the skill text supplied and once without, and compare. Check: did the output follow the template, were the right questions asked, did anything get invented. 8. **Revise from the failures.** Fix the specific instruction that caused each miss rather than adding more rules everywhere. Remove any line that no test needed. Re-run the failing prompt. 9. **Hand over.** Save as `/SKILL.md` using a lowercase hyphenated name that matches the `name` field. Tell the user where to place it for their tool and how to invoke it. ## Output format ``` Skill: Trigger description: File: ( lines) Test results: - - Not covered: ``` Followed by the complete SKILL.md in a code block. ## Guardrails - Never invent steps the user did not describe or approve; ask instead. - Do not copy confidential details (client names, credentials, internal numbers) into the skill. Use placeholders. - Do not pad the file. Short, concrete instructions outperform long exhortations. - Report test outcomes honestly, including when the skill was not meaningfully better than no skill. - Keep one skill to one job. If the draft covers two distinct tasks, propose splitting it into two skills. - Avoid time-sensitive facts (prices, dates, version numbers) in the body; tell the assistant to look them up or ask. - Match the user's vocabulary in the trigger description, not internal jargon the assistant would never see in a request. - Re-read the finished file once as a stranger would and delete anything that assumes context the reader lacks. - Offer to revisit the skill after its first few real uses, since early runs reveal the gaps tests miss.