cd /news/ai-agents/don-t-write-evals-for-your-skills · home › topics › ai-agents › article
[ARTICLE · art-182442] src=blog.mastykarz.nl ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Don't write evals for your skills

Developers building skills for AI coding agents should write evals around the user's end task rather than around the skill's instructions, and should run each scenario with and without the skill installed, according to guidance published on Microsoft's developer blog. The post argues that a skill-only eval shows how well an agent follows instructions but not whether users are better off, and recommends comparing success rate and task cost across multiple runs against an agent without the skill to determine whether the skill improves outcomes, cuts cost, or only adds expense. The guidance also suggests that fixing documentation may beat shipping a skill when agents already read the docs but misinterpret an example.

recommendation

Define evals around the user's end task, not your skill's instructions, and compare success rate and task cost across repeated runs with and without the skill installed.

more in playbook: Evals and testing for LLM apps
read5 min views2 publishedDec 5, 2026

Don't write evals for your skills. You've built a skill for AI coding agents and tested it on a few examples. Writing evals to prove that it works seems like the logical next step. But when you start with your skill, you start with your solution instead of your user's problem. An eval built around your skill shows how well the agent follows its instructions. It can't show whether your users are better off for having installed it.

When developers open their coding agent, they want to upgrade a project, integrate an API, configure authentication, or deploy an application. Your skill is one means to that end, so build your eval around the end itself. Define a realistic scenario and describe what a good outcome looks like. Then run the eval using an agent without your skill.

You might discover that the agent already accomplishes the task on its own. Or you might discover that it succeeds only occasionally, makes specific mistakes, or spends considerably more tokens than necessary. Each of these findings tells you whether there's a problem worth solving and, if there is, what that problem is. None of them are visible in an eval that only ever runs with your skill installed.

Evaluating what users want to accomplish doesn't mean accepting any solution that happens to work. Say you want agents to integrate your API using the authentication pattern you recommend. That pattern can be part of your definition of good, so an agent that authenticates differently might produce working code and still fail your eval. Every eval captures a definition of good like this one. It can reflect what the industry accepts today or where you want the industry to go.

But write that definition without reference to your skill. If an agent meets all your criteria without using your skill, that's a successful outcome. Whether the agent followed your skill's instructions makes no difference to the user when the result meets the same requirements. Criteria that reward using your skill would score that run as a failure and hide the fact that the agent didn't need your help.

Starting with an eval rather than a skill leaves you free to choose how to improve the experience. Imagine that you're building a skill to help agents integrate your API. You run an eval and discover that agents regularly consult your documentation but misinterpret one of your examples. Should you build a skill that explains how to use your API correctly, or should you fix the example?

Fixing the documentation helps every agent that already reads it without asking users to change anything. A skill, on the other hand, creates another dependency, because users need to find and install it, then keep it up to date. A skill might still be the best solution. But you can make that decision based on evidence, by testing each option against the same eval, rather than assuming the answer upfront.

If you've already built a skill, you don't need to start over. Instead of writing evals based on your skill's instructions, go back to the user tasks that motivated it in the first place. Represent those tasks as realistically as possible and compare two configurations: Run each scenario multiple times and compare both the success rate and the task cost. Your skill might help agents succeed more often. It might help them get the same results for less money, or do both. You might also discover that it doesn't improve the outcome at all and only makes the task more expensive. Without a baseline, you can't tell which of these is true. You can show that an agent succeeds with your skill, but you can't attribute that success to your skill.

Once users install your skill, it stays available while they work on everything else too. A skill that improves one scenario can make another one worse. It can load instructions the agent doesn't need or lead the agent to apply patterns where they don't fit. So don't limit your evals to the scenarios your skill was designed to improve. Consider the broader set of tasks your users perform with their agents and verify that your skill doesn't make those tasks worse.

Building that broader set of scenarios is also an opportunity for product teams and their communities to collaborate. Product teams can contribute scenarios that reflect how they designed their technology to be used, while the community contributes scenarios that reflect how people actually use it. Together, these evals give you a more representative picture of the experience you're trying to improve.

Agents and models keep evolving, so the tasks agents struggle with today might be the ones they handle effortlessly tomorrow. Because your evals describe user tasks rather than your skill, you can rerun them as new agents and models become available and check whether your skill still adds value. You might discover that the latest models no longer need it while smaller or older models still benefit considerably. Not everyone has access to state-of-the-art models, and not everyone wants to pay for them.

So publish your updated eval results and adjust your recommendations accordingly. And if your skill is no longer needed, there's nothing wrong with admitting it. Retiring the skill doesn't invalidate the work you put into it or the value it delivered in the past.

Model capabilities don't improve uniformly, either. A future generation of models might regress on a particular task and benefit from your skill again. With an eval for that task, you'll discover the regression instead of speculating about it.

The next time you're considering building a skill, start by writing an eval for what your users want to accomplish. Use it to understand where agents struggle and to decide what, if anything, to build. Then use it again to measure whether your improvements help and, model after model, whether they're still necessary. In the end, the goal is to help more people succeed with their agents, whether or not they use your skill. Your skill is one way of getting there. Your eval is how you know whether you're getting there at all.

── more in #ai-agents 4 stories · sorted by recency
── more on @microsoft 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/don-t-write-evals-fo…] indexed:0 read:5min 2026-12-05 · —