dsl-refine

dsl-refine is a skill for Claude Code from YuDefine/nuxt-supabase-starter. It costs 83 tokens per session (967 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: disable-model-invocation in frontmatter.

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 967 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.00967
Opus 5 $0.00042 $0.00483
Sonnet 5 $0.00017 $0.00193
Haiku 4.5 $0.00008 $0.00097

Measured today against content hash 45b70c2cdcb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 today.

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/dsl-refine/SKILL.md · 44 lines

What it actually says

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.mdtruth-delta.mdspecs/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
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. today Changed 45b70c2cdcb4
  2. yesterday 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 today), licensed MIT. It adds 83 tokens to every session and 967 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

prd-v07-implementation-loop

Execute implementation within EPICs following test-first development, continuous SoT updates, and code traceability during PRD v0.7 Build Execution. Triggers on requests to start building, implement an epic, begin coding, or when user asks "start building", "implement epic", "coding", "development", "build execution"…

mattgierhart/PRD-driven-context-engineering · 113 tokens

prd-v07-test-planning

Define test cases BEFORE implementation, ensuring every API, business rule, and user journey has verifiable acceptance criteria during PRD v0.7 Build Execution. Triggers on requests to define tests, plan test coverage, create test cases, or when user asks "define tests", "test planning", "what to test?", "test cases"…

mattgierhart/PRD-driven-context-engineering · 125 tokens

python

Python development with ruff, mypy, pytest - TDD and type safety.

alinaqi/maggy · 18 tokens

conductor-implement

Execute tasks from a track's implementation plan following TDD workflow.

rmyndharis/antigravity-skills · 17 tokens

etl-stabilization

Phase-based orchestrator for fixing SnowConvert ETL conversion gaps in ETL-to-Snowflake migrations (SSIS, Informatica, and other platforms). Analyzes units holistically, creates a ROADMAP with test strategies, and executes fixes through phased TDD with cross-phase learning. Use when user says "fix ETL unit", "fix SSIS…

sfc-gh-dflippo/snowflake-dbt-demo · 154 tokens

python-testing-patterns

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.

RudyCity/superagent · 38 tokens