<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: 曾宇</title>
    <description>The latest articles on DEV Community by 曾宇 (@zengyu199).</description>
    <link>https://dev.to/zengyu199</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4267342%2F77aa5615-3f8d-4c75-97b7-a2f1332fb55e.jpg</url>
      <title>DEV Community: 曾宇</title>
      <link>https://dev.to/zengyu199</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zengyu199"/>
    <language>en</language>
    <item>
      <title>What I got wrong writing SKILL.md files (and the format that finally worked)</title>
      <dc:creator>曾宇</dc:creator>
      <pubDate>Thu, 26 Nov 2026 16:52:01 +0000</pubDate>
      <link>https://dev.to/zengyu199/what-i-got-wrong-writing-skillmd-files-and-the-format-that-finally-worked-3mdc</link>
      <guid>https://dev.to/zengyu199/what-i-got-wrong-writing-skillmd-files-and-the-format-that-finally-worked-3mdc</guid>
      <description>&lt;p&gt;I've written five SKILL.md files, sold some of them, and had one submission rejected for being "too simple and reproducible."&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h3&gt;
  
  
  What a SKILL.md actually is
&lt;/h3&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h3&gt;
  
  
  The description line is your whole contract
&lt;/h3&gt;

&lt;p&gt;An agent decides whether to load your skill from the frontmatter description alone. Not from your body, not from your README. The description.&lt;/p&gt;

&lt;p&gt;So write it as a trigger condition:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# No. This is marketing copy.
&lt;/span&gt;&lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Advanced financial analysis for modern startups&lt;/span&gt;

&lt;span class="c1"&gt;# Yes. This is a trigger.
&lt;/span&gt;&lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Run a one-person-company financial health check. Use when the user asks about runway, burn multiple, NDR, or LTV:CAC.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;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.&lt;/p&gt;

&lt;h3&gt;
  
  
  Write commands, not vibes
&lt;/h3&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h3&gt;
  
  
  The section everyone skips, and shouldn't
&lt;/h3&gt;

&lt;p&gt;Pitfalls.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h3&gt;
  
  
  Three things that got my skills rejected
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;1. Generic prompts dressed as skills.&lt;/strong&gt; My first submission got "too simple and reproducible" — accurate. Adding real benchmark tables and computation steps is what fixed it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Secrets in the file.&lt;/strong&gt; 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.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Numbers with no sources behind them.&lt;/strong&gt; "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.&lt;/p&gt;

&lt;h3&gt;
  
  
  A block that works
&lt;/h3&gt;

&lt;p&gt;Here's a real section from a financial health-check skill. It's short, numeric, and checkable:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;## Red Flags
&lt;/span&gt;If any of these are true, flag them prominently:
&lt;span class="k"&gt;- &lt;/span&gt;Runway &amp;lt; 6 months
&lt;span class="k"&gt;- &lt;/span&gt;Burn multiple &amp;gt; 2.0 (burning faster than growth)
&lt;span class="k"&gt;- &lt;/span&gt;NDR &amp;lt; 90% (existing customers are shrinking)
&lt;span class="k"&gt;- &lt;/span&gt;LTV:CAC &amp;lt; 3 (customer economics don't work)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;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.&lt;/p&gt;

&lt;h3&gt;
  
  
  The install rule nobody writes down
&lt;/h3&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h3&gt;
  
  
  If you want a full example
&lt;/h3&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;https://skills.alqedge.com&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>productivity</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
