Write, Save, and Test Your Skill
Write, Save, and Test Your Skill
This is the capstone, and the objective the course exists for: you will compose a skill of your own, with no programming.
Here is what that means concretely. A skill is a Markdown file. At the top, between two rows of
dashes, are two lines - a name and a description. Below that, ordinary prose telling Claude how to
do a piece of work. That is all. You have used one in Module 1, read one closely in Module 2, and
modified one in Module 3 - you already know this format, even if nobody has yet said so plainly.
The instructions are the easy half, and you wrote them this morning. outputs/workflow.md is already
a set of instructions: stages, inputs, outputs, the decisions that stay with a person, the conditions
that stop the work.
The description is the half that decides whether any of it ever runs. Claude reads descriptions to
work out which skill fits the request in front of it, so a description has to describe situations -
the circumstances in which someone needs this - and not the procedure the skill carries out. Open the
two skills you installed during setup and read their descriptions. Both are lists of occasions,
phrased in the words a person with that problem would use. That is the pattern to copy.
Then you test it, which matters more than writing it. You start a fresh conversation, say what you need in ordinary words, and find out whether your skill loads. Often it will not. The description was too narrow, or too abstract, or written in vocabulary nobody uses out loud. Fixing that is the single most useful thing you will learn today, because it is the failure that hides itself: Claude answers your question perfectly well from general knowledge, and nothing tells you your skill sat there unused.
A research-support task is not complete when the generating stops. It is complete when there is a usable handoff, a transparent method, a human who reviewed it, and a deliberate decision about what is kept. Your skill produces the first two. You do the third. This exercise finishes with the fourth.
Open a skill you already have
Before writing one, read one. Send Claude the prompt below.
Look at what arrives. Each is a Markdown file with two lines at the top between two rows of dashes, then ordinary prose headings and numbered instructions. That is the whole format:
---
name: practice-library-reference-interview
description: Role-play and debrief a simulated research-library reference interview. Use when a librarian, library student, or workshop participant wants to practice question negotiation, clarify a research request, identify search-changing details...
---
# Practice a Library Reference Interview
Play a simulated patron while the learner practices the interview...
Now read the two description lines side by side and notice what they are doing. Neither one describes the steps the skill performs. Both describe the situations in which the skill applies - "use when a librarian... wants to practice question negotiation," "use when a research librarian... asks to inspect a research report, search plan, citation list." They are lists of circumstances, written in the words someone would actually use when they had that problem.
That is not a stylistic choice. The description is the only part Claude reads when deciding whether to load the skill.
Show me the SKILL.md file for the reference-interview practice skill I installed, exactly as it is written. Then show me the one for the review-ai-research-output skill.
You have read both SKILL.md files and can name the two frontmatter fields and say which one determines whether the skill triggers.