<?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: Changsu Seong</title>
    <description>The latest articles on DEV Community by Changsu Seong (@scs0209).</description>
    <link>https://dev.to/scs0209</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%2F4131411%2F92a8da6c-b465-4fa0-a4b9-cf2c4cf69d88.jpg</url>
      <title>DEV Community: Changsu Seong</title>
      <link>https://dev.to/scs0209</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/scs0209"/>
    <language>en</language>
    <item>
      <title>Your SKILL.md is production config. Test it like one.</title>
      <dc:creator>Changsu Seong</dc:creator>
      <pubDate>Fri, 18 Sep 2026 11:06:59 +0000</pubDate>
      <link>https://dev.to/scs0209/your-skillmd-is-production-config-test-it-like-one-d91</link>
      <guid>https://dev.to/scs0209/your-skillmd-is-production-config-test-it-like-one-d91</guid>
      <description>&lt;h1&gt;
  
  
  Your SKILL.md is production config. Test it like one.
&lt;/h1&gt;

&lt;p&gt;You maintain agent skills — the SKILL.md instruction files that steer Claude Code, Cursor, Codex, or any coding agent. Careless edits feel cheap: rewrite one instruction line, done.&lt;/p&gt;

&lt;p&gt;The problem is what happens next. That one line silently changes how the agent behaves on the next run. Files you didn't ask it to touch. A tool call sequence that skips a step. A task that used to complete in one shot now stumbles through four attempts.&lt;/p&gt;

&lt;p&gt;Usually you find out weeks later. Not from a test — from a user.&lt;/p&gt;

&lt;h2&gt;
  
  
  Text diffs can't tell you what an agent will do differently
&lt;/h2&gt;

&lt;p&gt;A git diff of SKILL.md shows you which words changed. It can't show you what the &lt;em&gt;agent&lt;/em&gt; will do differently, because agent behavior is emergent. The same prompt line can produce completely different tool trajectories depending on context.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prompt evals miss it too
&lt;/h2&gt;

&lt;p&gt;Offline evals score a final answer against a gold label. They don't see the trajectory: the extra tool hop, the silent regression where the agent still prints the right string but took a forbidden shortcut to get there.&lt;/p&gt;

&lt;p&gt;Here's a real example. I dogfooded skilldiff on itself — it tests its own skills. Two versions of a note-taking skill were run against the same scenario:&lt;br&gt;
old skill: 2 tool calls, 1 file(s) changed, 0 command(s) run files: NOTES.md&lt;/p&gt;

&lt;p&gt;new skill: 3 tool calls, 2 file(s) changed, 0 command(s) run files: NOTES.md, TODO.md&lt;/p&gt;

&lt;p&gt;Assertions: ✓ [files_changed] NOTES.md ✓ [tool_calls] read ✓ [tool_calls] write ✗ [must_not] files_changed does not include TODO.md actual (new): VIOLATED — TODO.md was changed note: this is a REGRESSION — old skill passed, new skill fails&lt;/p&gt;

&lt;p&gt;Both versions appended &lt;code&gt;SPIKE RAN OK&lt;/code&gt; to NOTES.md — the standard diff would look fine. But the new version &lt;em&gt;also&lt;/em&gt; created TODO.md, which the scenario explicitly forbids. A text diff would never have caught that. That's behavioral regression.&lt;/p&gt;
&lt;h2&gt;
  
  
  The approach: run the skill twice, diff what the agent actually did
&lt;/h2&gt;

&lt;p&gt;skilldiff runs your skill in a real agent harness against a fixture repo — twice:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Old&lt;/strong&gt; — the skill as it exists on the base branch&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;New&lt;/strong&gt; — the skill as changed in your PR&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then it captures what the agent &lt;em&gt;actually did&lt;/em&gt;: files changed, commands run, tool calls made. And it asserts on those observations.&lt;/p&gt;
&lt;h2&gt;
  
  
  Five assertions you can write in plain YAML
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Kind&lt;/th&gt;
&lt;th&gt;Meaning&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;files_changed&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;paths the agent modified&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;commands_run&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;commands the agent executed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;tool_calls&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;tools invoked (normalized across harnesses)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;must_not&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;forbidden files / commands / tools&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;output_contains&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;substrings in the final output&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A scenario looks like this:&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="na"&gt;skill&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;notes-helper&lt;/span&gt;
&lt;span class="na"&gt;fixture&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;repo/notes-helper-scratch&lt;/span&gt;
&lt;span class="na"&gt;expect&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;files_changed&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;NOTES.md&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
  &lt;span class="na"&gt;tool_calls&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;read&lt;/span&gt;&lt;span class="pi"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;write&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
  &lt;span class="na"&gt;must_not&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;files_changed&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;TODO.md&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;span class="s"&gt;Drop it into your PR flow&lt;/span&gt;
&lt;span class="s"&gt;npx skilldiff init&lt;/span&gt;   &lt;span class="c1"&gt;# discovers .claude/skills, skills/, .agents/skills&lt;/span&gt;
                     &lt;span class="c1"&gt;# and writes a starter scenario per skill&lt;/span&gt;

&lt;span class="s"&gt;npx skilldiff run skilldiff/notes-helper.scenario.yaml --live --base origin/main&lt;/span&gt;
&lt;span class="s"&gt;For CI it replays recorded traces, so it's deterministic and needs no API key or credits. The PR that touched a skill gets a comment with the behavior report; failures gate the merge.&lt;/span&gt;

&lt;span class="s"&gt;Live runs use whatever harness and login you already have. There's no shared API key shipped with the tool — each contributor runs on their own account (opencode, Claude Code CLI, Cursor, Codex, Freebuff).&lt;/span&gt;

&lt;span class="s"&gt;Honest limitations (v0.1)&lt;/span&gt;
&lt;span class="s"&gt;Skills are emergent, so a single run is a sample. Recorded/CI mode is deterministic; live runs vary run to run.&lt;/span&gt;
&lt;span class="na"&gt;Five assertion kinds is deliberately few. They cover the 80% case&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;files, commands, tools, forbidden behavior, output markers.&lt;/span&gt;
&lt;span class="na"&gt;This is not a replacement for full eval harnesses like Inspect or Promptfoo. It answers one question&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;did this change regress agent behavior I'm relying on?&lt;/span&gt;
&lt;span class="s"&gt;Contribute&lt;/span&gt;
&lt;span class="s"&gt;If your harness is missing, an adapter is roughly 40 lines — and the highest-value way to contribute.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Repo: &lt;a href="https://github.com/scs0209/skilldiff" rel="noopener noreferrer"&gt;https://github.com/scs0209/skilldiff&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you maintain skills and this doesn't match your workflow, I'd genuinely like to hear how you review skill changes today.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>testing</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
