Dev.to AI 🤖 Ai 👁 0 📖 4 min read

I Asked AI to Find the Slop. It Wrote More of It.

I have written a lot of AI skills this year. Starter recipes for frontend and backend projects. A seven-phase workflow for building features with an agent. They work. But if you had asked me how to build a good one, I c

I have written a lot of AI skills this year. Starter recipes for frontend and backend projects. A seven-phase workflow for building features with an agent.

They work. But if you had asked me how to build a good one, I could have shown you an example, not a method.

So I picked one job and built a skill for it the slow way, testing every version against real documents.

This series is the method that came out of it: what a skill is, and how to build one you can rely on.

It starts with a prompt that was not enough.

A prompt cannot carry your judgement

The job sounded small. Someone sends me an article or a long memo, and I want to know what it says and whether I can rely on it, without reading every padded paragraph.

So I tried one line: "Summarise this document and tell me whether it is AI slop."

On a 372-word opinion piece about story points, the answer came back at 491 words. Longer than the essay it was judging. Its verdict was "not slop", because the essay made "a careful observation, not an attack."

That "this, not that" pattern is exactly what slop is made of.

I asked it to find the slop. It wrote more of it.

My first instinct was to blame the model. There is an old saying about that instinct, and I will come back to it.

Then I reread my line. Half of it was a clear job, summarise this, and the model did it well. The other half was a single word: slop.

I know exactly what I mean by that word. The model had no way to know. So it used its own meaning, about padding and about who wrote the text. Whether I could rely on the document never came up, because my line never asked.

What the model lacked was my judgement.

Generation is free. Judgement is not.

That judgement needs a place the model reads every single time. That place is a skill.

A skill is a folder the AI opens when the job arrives

A skill is a folder with one required file, SKILL.md, holding plain instructions for one kind of job. Beside it you can keep reference notes and small scripts.

Here is the one I built for the job above. I called it slop-sieve:

slop-sieve/
├── SKILL.md      # instructions
├── references/   # detail, read on need
├── scripts/      # counting as code
└── config/       # cutoffs and settings

The AI does not read all of it at once. Anthropic calls this progressive disclosure, "the core design principle that makes Agent Skills flexible and scalable." It works in three levels:

┌──────────────────────────────────────┐
│ Always    name + description         │
│ On match  SKILL.md instructions      │
│ On need   references/ and scripts/   │
└──────────────────────────────────────┘

The description is the only part the AI sees before it decides. So the description decides when your skill runs at all. It sits in a short header at the top of SKILL.md:

---
name: slop-sieve
description: ">-"
  Use this skill when the user hands over a finished
  piece of writing by someone else [...] and wants to
  know what it actually says without the padding.
  [...] It never judges authorship.
---

Meet slop-sieve, the skill on my bench

slop-sieve takes someone else's document and tells you what it actually says, in plain English, with a short note wherever something in it is wrong or unsafe.

I use it in this series because every part of it can be checked. It was run against 56 real documents, including opinion pieces, runbooks and emails.

You do not need slop-sieve to follow along. Each piece takes one step of building a skill and shows how that step went in slop-sieve: the files, the tests, the numbers.

And the wrong turns, because those taught me the most.

Writing a SKILL.md takes an afternoon. Building one you can trust takes seven steps.

  1. Run the bare prompt first, so you know what the skill has to beat.
  2. Write a description that says when to run, and when not to.
  3. Give the skill one job.
  4. Let scripts count and the model judge.
  5. Label your test documents yourself, before the first run.
  6. Check the output with something other than the skill.
  7. Test with everything else switched off, then test again later.

Some of these sound obvious. slop-sieve still got several of them wrong, and each gets its own piece.

A bad workman blames his tools

Back to that old saying.

A bad workman blames his tools.

When the cut comes out crooked, the easy move is to blame the saw. The better move is to check your own hands first.

Good craftspeople go one step further. They build a jig, a simple guide that holds the work and steers the tool, so every cut comes out right even on a shaky day. You have used the same idea if you have ever traced a stencil or cut cloth from a sewing pattern. Someone put their judgement in once, and everyone after them gets the same result.

That is what a skill does for AI. The model is the tool. My one-line prompt was a freehand cut. A skill is the jig.

That is why this series is called A Bad Workman. When the AI gets something wrong, I check my own hands first, and then build the guide that keeps the next cut straight.

By the end, you will have built one of your own: a skill that runs when it should, does one job, and is tested against documents you labelled yourself.

A good workman builds the jig.

Next in the series: step one. How to run the bare prompt properly, and what it tells you before you write a single instruction.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.