DEV Community

What I got wrong writing SKILL.md files (and the format that finally worked)

I've written five SKILL.md files, sold some of them, and had one submission rejected for being "too simple and reproducible." The rejection stung because it was fair.

What I'd written was a prompt with headings. Here's what I changed, and the parts of the format that actually decide whether an agent uses your skill or ignores it.

What a SKILL.md actually is

A plain text playbook an agent reads before doing a task. No code execution, no hidden automation - the agent reads your instructions and then uses its own tools to follow them.

That's the whole trick, and it's also why most SKILL.md files fail: people write documentation for humans when they should be writing operating instructions for something that will follow them literally.

The description line is your whole contract

An agent decides whether to load your skill from the frontmatter description alone. Not from your body, not from your README. The description. So write it as a trigger condition:

No. This is marketing copy.

description: Advanced financial analysis for modern startups

Yes. This is a trigger.

description: Run a one-person-company financial health check. Use when the user asks about runway, burn multiple, NDR, or LTV:CAC.

The second one tells the agent exactly which questions should pull this skill in. The first one tells it nothing and gets loaded randomly or never.

Write commands, not vibes

Agents follow imperatives. Calculate burn multiple = monthly burn รท ARR produces a number. "Let's think about how the company is burning through money" produces three paragraphs of hedging.

If a step in your skill could be read as advice, rewrite it as an instruction with an input and an output. You'll be surprised how much of a "methodology" turns out to be unactionable once you force it into that shape - that's a useful test in itself.

The section everyone skips, and shouldn't

Pitfalls. Every workflow has five to ten ways it goes wrong: data missing, a field that means two different things depending on where it came from, an edge case where the usual method flips. Write those down.

An agent that knows your failure modes behaves differently from one that only knows the happy path. This is the cheapest quality upgrade available to a skill author, and almost nobody does it.

Three things that got my skills rejected

  1. Generic prompts dressed as skills. My first submission got "too simple and reproducible" - accurate. Adding real benchmark tables and computation steps is what fixed it.
  2. Secrets in the file. One committed API key and nobody trusts the repo again. Scan for keys, tokens, and internal paths before you publish. This is boring advice right up until you do it.
  3. Numbers with no sources behind them. "Use 2026 SaaS benchmarks" is fiction unless you name the benchmarks. Name them - Grid 130+, SaaSrise 2,500, Benchmarkit 342 companies in my case - so the agent can cite them and the buyer can check you.

A block that works

Here's a real section from a financial health-check skill. It's short, numeric, and checkable:

Red Flags

If any of these are true, flag them prominently:

  • Runway < 6 months
  • Burn multiple > 2.0 (burning faster than growth)
  • NDR < 90% (existing customers are shrinking)
  • LTV:CAC < 3 (customer economics don't work)

The agent can test each line and produce a verdict. Compare that to "assess overall financial health" - one gives you answers, the other gives you an essay.

The install rule nobody writes down

The reason SKILL.md won as a format is that install is "drop a file in a folder." No config, no dependencies, no prompt engineering. If using your skill takes more than that, it's not a skill yet - it's a project.

That constraint is worth respecting, because it's the only reason a stranger will try yours at all.

If you want a full example

The free section of my Opportunity Validation skill shows the complete structure with real density-check data, and the repo is public - the whole file, no signup. There's a paid edition with the computation steps, but the free one is enough to copy the shape of.

https://skills.alqedge.com

If you've had a skill rejected, I'd genuinely like to know the reason they gave - the feedback patterns are more useful than the format guides, and there isn't much written about them.

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.