dsl-refine

dsl-refine is a skill for Claude Code from YuDefine/nuxt-supabase-starter. It costs 83 tokens per session (1,105 once invoked), scanned A, original, MIT.

A testing-specification skill that turns business journeys into executable interface feature files and shared test vocabulary. It keeps the current frontend and backend behavior descriptions in the project's truth files.

In plain words
What is it for?
Use it to split acceptance scenarios between interfaces, create or update Gherkin feature files and DSL entries, and check that each acceptance rule has an interface-level test counterpart.
Why use it?
It prevents acceptance requirements from being disconnected from the interface-level tests that implement them. It also exposes missing coverage and risky changes to existing behavior.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to split acceptance scenarios between interfaces, create or update Gherkin feature files and DSL entries, and check that each acceptance rule has an interface-level test counterpart.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yudefine/nuxt-supabase-starter/dsl-refine
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add YuDefine/nuxt-supabase-starter --skill dsl-refine
Clone the repo
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starter

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dsl-refine

README.md
[![agentmods](https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/dsl-refine/github.svg)](https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/dsl-refine)
Your own site
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/dsl-refine"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/dsl-refine/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dsl-refine

Your own site · 80×15
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/dsl-refine"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/dsl-refine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,105 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.01105
Opus 5.5 $0.00033 $0.00442
Sonnet 5.5 $0.00017 $0.00221
Haiku 4.5 $0.00008 $0.00111

Measured 19d ago against content hash 4bc75183fe87, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dsl-refine scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

template/.claude/skills/work-route/rules/.workflow/dsl-refine/SKILL.md · 45 lines

How it starts

The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.

clade 覆寫:clade lifecycle repo(本次 plan package 的 work.md(舊 package:plan.md)frontmatter 同時含 work_id: 與 truth_baseline:)或適用 canonical doctor 的 clade consumer:執行本 skill 前先讀 work-route skill 根下的 rules/上游覆寫-lifecycle落點與doctor.md,命中該檔判準的條目以該檔為準,未命中照本檔原文。

DSL Refine

dsl-refine 是 interface feature 與 DSL 的 truth owner。Acceptance Gherkin 留在 plan package;拆解後可執行的前後端介面 feature/dsl 則寫入 specs/truth/features/**,代表目前系統測試規格真相。

SOP

Phase 1 -- 對齊 acceptance、系統介面與 feature truth

  1. READ 讀取使用者要求、目標 plan package 的 features/acceptance/**、plan.md、truth-delta.md、specs/truth/techstack.md、相關 UI plan,以及受影響介面的既有功能模組、feature、模組 DSL 與介面根共用 DSL。
  2. THINK 從 plan.md、truth-delta 與現有 feature truth 辨識本次涉及的前端、後端或其他系統介面,以及各介面既有 feature/dsl 是否需要 ADD / MODIFY / DELETE。
  3. WRITE 向使用者回報本輪辨識出的介面、預計新增/修改/刪除的 truth feature files 與 DSL 範圍。

Phase 2 -- 分派 acceptance 規則並處理高影響變更

  1. READ 讀取 rules/介面Gherkin原子化與單一Act判準.md,確認介面 Gherkin 原子化與單一 Act 邊界。
  2. THINK 逐一盤點 acceptance 的 Rule、Example、關鍵 Given / When / Then 與 # [need clarification],分派到相關介面,確認每條 acceptance 規則至少由一個 interface truth 承接。
  3. DELEGATE 若高影響 MODIFY / DELETE 會改寫既有 interface 行為、移除既有驗收或削弱 DSL 驗證契約,且尚未有明確使用者決策,呼叫 /clarify;未收斂前停止。

Phase 3 -- 更新 interface feature truth

  1. READ 讀取 ../gherkin-and-dsl/SKILL.md 與 ../gherkin-and-dsl/STANDARDS.md,承接其已掛載的 Gherkin、DSL 與唯一歸屬判準。
  2. WRITE 依已載入規則在唯一權威位置建立、修改、移動或刪除受影響的 interface feature 與 DSL rows。
  3. DELEGATE 呼叫 /gherkin-and-dsl 檢查受影響介面,取得拓樸機械稽核、DSL 唯一歸屬、acceptance 覆蓋與 Gherkin 結構結果;若不符合,立即修正。
  4. THINK 將 feature/dsl truth 改動整理為語意單元層級的 ADD / MODIFY / DELETE / NOOP 列。

Phase 4 -- 更新 truth-delta 並交付

  1. DELEGATE 呼叫 /truth-delta,傳入 plan package、truth root、owner /dsl-refine、受影響模組、feature、模組 DSL、相關共用 DSL rows 與本輪 truth 改動列;DSL row 僅搬移權威位置而未改語意時,明示舊位置、新位置與「語意不變」。
  2. WRITE 向使用者回報更新的 interface feature/dsl truth、truth-delta 更新結果、已澄清決策、剩餘阻塞缺口,以及是否可交給 /tasks 或 /bdd。

Read the full file on GitHub · 45 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago Changed 4bc75183fe87
  2. 1mo ago Changed · -1 lines 7fd650706d29
  3. 1mo ago Changed 0d5ae380d9b4
  4. 1mo ago Changed e72fb22b4369
  5. 2mo ago Changed · +1 lines ca68c8257261
  6. 2mo ago Changed · +5 lines · +61 tokens per session 86e04612fc2b
  7. 2mo ago Changed · -4 lines · -61 tokens per session 625e3461aa85
  8. 2mo ago Changed 45b70c2cdcb4
  9. 2mo ago First seen · 44 lines · 83 tokens per session scan A c1fd17420224

Subscribe to this mod's changes

dsl-refine is a skill published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed 2d ago), licensed MIT. It adds 83 tokens to every session and 1,105 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-10.

Related

dsl-refine compared with skills from other repositories

dsl-refine next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dsl-refineYuDefine/nuxt-supabase-starterSkill452d agoMITA83Claude Code
prd-v07-implementation-loopmattgierhart/PRD-driven-context-engineeringSkill1793mo agoMITA113Claude Code
prd-v07-test-planningmattgierhart/PRD-driven-context-engineeringSkill1793mo agoMITA125Claude Code
prax-tdd-workflowChanningLua/prax-agentSkill2722mo agoMITA24Claude Code
flutter-qualitymorodomi/dev-crewSkill111d agoMITA74Claude Code
sb:executealo-exp/silver-bulletSkill7yesterdaynoneA25Claude Code
tddvincenzodomina/aiSkill25d agononeA45Claude Code, Codex