Agent Skill Development in Practice: Build Your First Agent Skill in 20 Minutes
This article walks through building an Agent Skill from scratch in five steps. It explains what a Skill is (a structured instruction document that tells an AI Agent when to activate, what steps to follow, and which tools to use), the anatomy of a well-formed Skill (YAML frontmatter, SKILL.md workflow, and supporting references/scripts/assets), and why structure sets the ceiling on quality. It also covers testing and iteration, distillation as a subtractive discipline, publishing and version management, and the core argument that tasks get automated while experience and judgment do not.
Agent Skill Development in Practice: Build Your First Agent Skill in 20 Minutes
1. Before We Start: Will a Skill Replace Me?
The question I hear most often when introducing Skills to a team is: “You wrote your own workflow into a Skill and let the AI run it. Do you still need yourself? Do you still need me?”
It is really two sides of the same question: once AI has learned our “process,” what is left of our “value”?
One widely accepted view in the industry is this: tasks get automated, but experience and judgment do not. Consider what happened in medical imaging. As AI reading ability improved, the value of radiologists did not decline. Instead, once the mechanical part of the work — looking at the images — was handed to a tool, the physician’s role moved up a level, to diagnosing the disease itself.
Apply the same logic to Skills:
- A Skill does not replace you. It replaces the repetitive, lengthy, error-prone tasks on your plate that should never have been occupying your brain in the first place.
- What a Skill cannot replace is how smooth the experience of the Skill you designed feels, and your judgment about whether the Skill executed accurately. Together, these two things form the new professional value.
So the thing you should actually worry about is not “being replaced by a Skill.” It is “not having learned to use Skills yet.” When others start distilling, reusing, and amplifying their own experience while you keep running the same process by hand over and over — that is where the gap begins.
2. What a Skill Is, in One Minute
The short version: a Skill is a structured instruction document that tells an AI Agent in which scenario, following which steps, using which tools, to complete which task. You can think of it as a skill card for the Agent — plug it in and it works, pull it out and it is gone, loaded on demand without polluting the main context.
A comparison with the physical world:
| Real world | Skill world |
|---|---|
| Team operations manual | SKILL.md document |
| Manual cover (title + summary) | YAML frontmatter (name + description) |
| Operating steps | Workflow instructions in the Markdown body |
| Appendix (glossary, templates, scripts) | Supporting resource directories (scripts / references / assets) |
| Working from the manual | Agent executing the Skill |
The key difference: a manual is written for humans to read, a Skill is written for an Agent to execute. That means a Skill has to be written for machine determinism — explicit instructions, clear boundaries, verifiable outcomes.
3. The Skeleton of a Skill: Structure Sets the Ceiling
A well-formed Skill usually contains the following parts:
---name: code-review-assistantdescription: >Use when the user submits a code change or requests a review.Check naming, error handling, test coverage, and security risksagainst team standards, and output structured review commentswith suggested fixes.---
A typical directory layout:
code-review-assistant/├── SKILL.md # Main instruction document: trigger conditions + workflow├── references/│ ├── style-guide.md # Coding standard summary│ └── checklist.md # Review checklist├── scripts/│ └── analyze.py # Optional: deterministic check script└── assets/└── report-template.md
Three design points:
- The description is the trigger. The Agent relies on it to decide “when to activate this Skill.” It should state clearly which scenario it applies to and what problem it solves, rather than restating a feature list.
- The body is the process. Describe the workflow as numbered steps, making the input, output, and pass/fail criteria of each step explicit.
- Supporting resources are the external brain. Standards, checklists, templates, and scripts live in subdirectories and are referenced on demand, which avoids stuffing everything into the main document and bloating the context.
4. Building From Zero: Five Steps to Your First Skill
Step 1: Pick a task that is high-frequency and has a clear deliverable
Do not start with a grand goal. Choose a task you repeat every week, one with an unambiguous output and a describable standard for judging it. For example:
- Produce a weekly report that summarizes risks across projects;
- Review code changes against team standards;
- Turn meeting notes into a to-do list with owners assigned.
Step 2: Make your tacit experience explicit
Write down the real steps you take to complete the task, including:
- What information you base your judgment on (standards, historical data, thresholds);
- Which cases are exceptions, and how you handle them;
- The format of the deliverable and its acceptance criteria.
This step determines the ceiling of the Skill: any judgment you cannot articulate is a judgment the Agent cannot learn.
Step 3: Write SKILL.md
A recommended skeleton:
## When to Use(When to activate, and when not to)## Input- Change description / code diff / meeting notes ...## Workflow1. Collect and validate the input; ask the user for clarification if anything is missing2. Check item by item against references/checklist.md3. For each item, provide: conclusion / rationale / suggestion4. Consolidate into a structured report (using assets/report-template.md)## Output Format(Provide an explicit output template)## Boundaries and Exceptions- When a question cannot be determined, mark it "needs human confirmation" — do not guess
Step 4: Test and iterate
Drive testing with real cases, and watch for four classes of problems:
- Triggering problems: not activating when it should, or jumping in when it should not;
- Skipped steps: bypassing validation and going straight to a conclusion;
- Output drift: not honoring the format, missing fields;
- Boundary failures: fabricating conclusions when information is insufficient.
Every time you find a problem, go back to SKILL.md and add one explicit rule. Skill development is essentially programming with documentation, and testing is debugging.
Step 5: Distill — subtraction is harder than addition
Once the document grows long, the Agent’s execution tends to wander. The point of “distillation” is to converge a long document into high-density instructions:
- Delete repeated phrasing and irrelevant background;
- Compress long standards into decision tables or checklists;
- Move anything that “can be derived” out of the body and into references, to be read on demand;
- Keep only “an executable action + a decision condition” in each rule.
A practical standard: for every sentence you add to a Skill, be able to answer which class of mistake it prevents the Agent from making.
5. Publishing and Version Management
- Naming and metadata: use kebab-case for
name, and state the trigger scenario clearly indescription. Semantic Versioning (SemVer) is recommended for version numbers — bump minor for rule changes, major for incompatible adjustments. - Change notes: maintain a short CHANGELOG recording the problem each adjustment solved, so the team can trace changes back.
- Gradual rollout: start with a small group, collect failure cases, and confirm stability before wider adoption.
- Permissions and security: if a Skill runs scripts or calls external systems, define the permission boundary explicitly so the Agent does not exceed its authority. When sensitive data is involved, specify redaction and data-minimization rules.
6. Actually, You Only Need One Skill
Back to the opening question: in the age of AI, is “me” still needed?
My answer: you only need to carefully polish one Skill that is your own. The polishing process forces you to do three things — articulate vague experience clearly, standardize error-prone tasks, and turn your judgment criteria into a reusable asset. Having done those three things, your understanding of your work moves up a level, and that Skill becomes an externalization and amplifier of your experience.
Do not rush to build ten Skills. Start with the task you least want to do by hand this week, spend 20 minutes writing the first version, then iterate in real use. Once your first Skill is reliably doing work for you, your understanding of human–AI collaboration already puts you ahead of most people still watching from the sidelines.
