Skills 101: turn any repeat workflow into one command
I build Settl, an expense-splitting app, solo with Claude, and I used to retype my release checklist prompt every Friday, slightly differently each time, with slightly different results each time. Now it is a file in my repo and I type one word. This guide is how to get there.
The rule of three
The first time you prompt a workflow, you are discovering the steps. The second time, you are confirming them. The third time you type the same instructions, stop: you are now maintaining an unversioned program in your own head. Save it as a skill.
Do not save on the first use. You do not know the shape of the workflow yet, and a skill written too early hardcodes guesses. By the third run you know the real steps, the order that works, and the one step that fails when you forget it. That is exactly what belongs in the file.
What a skill file looks like
Most agent tools have a folder convention for this. Claude Code reads markdown files from a .claude/ directory inside your repo; other tools have their equivalents. The concept is identical everywhere: a markdown file with a small frontmatter header, then instructions addressed to the agent.
---
name: release
description: Run the pre-release checklist and prepare a release
---
When I trigger this:
1. Run the full test suite and the production build. If either fails, stop
and show me the failure. Do not continue.
2. Check for uncommitted changes and unpushed commits. List them.
3. Ask me: patch, minor, or major. Bump the version in package.json.
4. Update CHANGELOG.md from commit messages since the last tag.
5. Show me everything as a diff and wait for my approval before tagging.
Trigger it with one word, /release or your tool's equivalent, and the same procedure runs the same way every time. The value is not automation, it is consistency: step 1 never gets skipped because it was late on a Friday.
Five skills ranked by payoff
- /release. Highest payoff because a skipped step costs the most. Tests, build, changelog, version, tag, in that order, every single time.
- /review. Your personal review pass over the current diff: the checks you care about, the framework mistakes you keep making, the error handling you keep forgetting. Cheaper than remembering to be disciplined.
- /deploy. The exact deploy steps for your setup, including the verification at the end: hit the health endpoint, check the logs, confirm the running version. The verification is the part humans skip.
- /report. Summarize the week from git log and closed issues into three plain bullets. Nobody enjoys writing these, which is exactly why a saved workflow beats good intentions.
- /scaffold. A new endpoint or component with your conventions baked in: file location, test file next to it, types, naming. Kills the "copy an old one and edit it" habit that spreads yesterday's mistakes.
Rank your own candidates by the same measure: frequency multiplied by the cost of getting it wrong. A daily workflow with cheap failures can rank below a weekly one that hurts.
When a skill misfires
A skill is code. When it misbehaves, you do not rewrite it from scratch, you patch the step that failed:
- It skipped a step. Number the steps and make each one produce visible output. Agents skip vague prose far more often than they skip numbered lists.
- It did too much. Add a stop: "show me the diff and wait for approval before tagging." Any step that is hard to undo gets an explicit wait.
- It guessed when it should have asked. Name the decision in the file: "Ask me: patch, minor, or major." Decisions the file does not own belong to you.
- It broke on an edge case. Add that case to the file the same day it bites you. Over months the skill becomes the accumulated memory of every time this workflow went sideways, which is something a prompt retyped from memory can never be.
Because the file lives in your repo, it is versioned with your code. Your workflow improvements survive across sessions, machines, and model upgrades, and anyone who clones the repo gets them too.
Start with one
Do not build a library of ten skills this weekend. Save the single workflow that annoyed you most recently, run it for a week, patch it when it misfires, and only then save the next one. One reliable skill you trust beats five that need supervision.
Run this on your codebase
Paste this into a Claude session in your repo:
Help me create my first saved skill for this repo.
1. Look at package.json scripts, the CI config, and the README, and list
the workflows I probably repeat by hand: releasing, deploying,
reviewing, reporting, scaffolding.
2. Pick the one where a skipped step costs the most.
3. Draft it as a skill file: frontmatter with a name and one-line
description, then numbered steps specific to this project, with exact
commands, visible output per step, and an explicit "stop and ask me"
before anything hard to undo.
4. Save it where my tool loads skills from, and tell me the one word that
triggers it.