<?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: Ezequiel Maraschio</title>
    <description>The latest articles on DEV Community by Ezequiel Maraschio (@emaraschio).</description>
    <link>https://dev.to/emaraschio</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%2F90924%2Fa9c9621a-ae39-4049-9068-2826ced84604.jpeg</url>
      <title>DEV Community: Ezequiel Maraschio</title>
      <link>https://dev.to/emaraschio</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/emaraschio"/>
    <language>en</language>
    <item>
      <title>Treat prompts like code: skills, evals, and ship-gate CI for Cursor slash commands</title>
      <dc:creator>Ezequiel Maraschio</dc:creator>
      <pubDate>Sun, 02 Aug 2026 21:22:36 +0000</pubDate>
      <link>https://dev.to/emaraschio/treat-prompts-like-code-skills-evals-and-ship-gate-ci-for-cursor-slash-commands-1o03</link>
      <guid>https://dev.to/emaraschio/treat-prompts-like-code-skills-evals-and-ship-gate-ci-for-cursor-slash-commands-1o03</guid>
      <description>&lt;p&gt;Most Cursor command packs are markdown snippets. You paste a prompt, hope the agent behaves, and when it regresses you shrug and rewrite the paragraph. That is fine for personal notes. It is a bad way to ship workflows other people install.&lt;/p&gt;

&lt;p&gt;I wanted the opposite: slash commands that behave like a small product. Each &lt;code&gt;/command&lt;/code&gt; is a thin entry. The real contract lives in a paired skill. Behavioral evals score PASS / PARTIAL / FAIL. Ship-gate fixtures in CI fail the build if a safety guard disappears from the skill text. No LLM judge on every PR. Structural anchors only: cheap, boring, enforceable.&lt;/p&gt;

&lt;h3&gt;
  
  
  A walk through &lt;code&gt;/gauntlet-loop&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;Take &lt;code&gt;/gauntlet-loop&lt;/code&gt;. The idea is simple and mean: stop saying "make it better." Beat a real example.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Command file.&lt;/strong&gt; Thin YAML frontmatter plus Overview, Defaults, Steps, Anti-patterns, Examples. Step 1 always resolves the skill contract (workspace path, then user install fallback). Anti-patterns use a fixed shape: Trigger / Wrong / Correct / Reason. The Correct behavior must also exist as a positive guard in the skill.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Skill contract.&lt;/strong&gt; Intake requires a GOAL and a REAL-WORLD EQUIVALENT, plus an inspectable reference pack (files, screenshots, clip, build, or repo path). A famous name alone is not a pack. The agent decomposes into independent parts, runs a per-part state machine (build → critique → pass | iterate | terminal), and never lets builders grade their own work. Critics use fresh context. Pass only if better than the reference; equal fails. After all parts pass, an integration critic grades the whole. Optional budget, taste-domain pride gate, and a gap ledger for resume.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Eval rubric.&lt;/strong&gt; Cases cover missing reference, missing pack, equal-is-fail, skip-critic, fabricated blind, budget exhaustion, resume-without-retrying-stalled-gaps, and more. PARTIAL counts as fail on the ship gate.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Fixtures in CI.&lt;/strong&gt; &lt;code&gt;eval/fixtures.yaml&lt;/code&gt; lists &lt;code&gt;skill_required&lt;/code&gt; phrases that must appear verbatim in &lt;code&gt;SKILL.md&lt;/code&gt;. Delete "Do not let builders evaluate their own work" and &lt;code&gt;run-eval-fixtures.py --strict&lt;/code&gt; turns red. That is the point: negative knowledge is locked, not tribal.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Why this matters for installers
&lt;/h3&gt;

&lt;p&gt;When you add the repo as a Cursor user plugin, you get the contracts and the CI story, not just a menu of vibes. The catalog stays portable (generic examples, no employer names). Plugin install syncs with your account across desktop, web, CLI, and mobile.&lt;/p&gt;

&lt;p&gt;Install: &lt;a href="https://github.com/emaraschio/cursor-commands" rel="noopener noreferrer"&gt;https://github.com/emaraschio/cursor-commands&lt;/a&gt; via Customize → Plugins. Not an official Cursor product. MIT.&lt;/p&gt;

&lt;p&gt;If you maintain your own slash commands, the reusable idea is smaller than the whole catalog: pair every command with a skill, write a few ship-gate cases, and fail CI when the guard text disappears. That alone beats hoping the model remembers last month's prompt.&lt;/p&gt;

</description>
      <category>cursor</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
