Translation Diff Export
Devolutions/UniGetUI
Compares UniGetUI JSON locale files against English, identifies untranslated or source-changed keys, and generates patch, reference, and handoff files for a target language.
Load BEFORE translating Dafny source to Lean 4. An agent skill from sunblaze-ucb/vero.
$ npx skills add sunblaze-ucb/vero --skill vero-source-dafny -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sunblaze-ucb/vero vero-source-dafny --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/sunblaze-ucb/vero.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/vero-source-dafny .claude/skills/vero-source-dafny && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "vero-source-dafny" agent skill from https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-source-dafny into .claude/skills/vero-source-dafny/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vero-source-dafny", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-source-dafnyType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add sunblaze-ucb/vero --skill vero-source-dafny -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sunblaze-ucb/vero vero-source-dafny --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sunblaze-ucb/vero.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/vero-source-dafny .agents/skills/vero-source-dafny && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "vero-source-dafny" agent skill from https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-source-dafny into .agents/skills/vero-source-dafny/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vero-source-dafny", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sunblaze-ucb/vero --skill vero-source-dafny -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sunblaze-ucb/vero vero-source-dafny --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sunblaze-ucb/vero.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/vero-source-dafny .cursor/skills/vero-source-dafny && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "vero-source-dafny" agent skill from https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-source-dafny into .cursor/skills/vero-source-dafny/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vero-source-dafny", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/sunblaze-ucb/vero.git --path .claude/skills/vero-source-dafny--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add sunblaze-ucb/vero --skill vero-source-dafny -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sunblaze-ucb/vero vero-source-dafny --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sunblaze-ucb/vero.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/vero-source-dafny .gemini/skills/vero-source-dafny && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "vero-source-dafny" agent skill from https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-source-dafny into .gemini/skills/vero-source-dafny/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vero-source-dafny", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install sunblaze-ucb/vero vero-source-dafnyInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add sunblaze-ucb/vero --skill vero-source-dafny -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sunblaze-ucb/vero.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/vero-source-dafny .github/skills/vero-source-dafny && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "vero-source-dafny" agent skill from https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-source-dafny into .github/skills/vero-source-dafny/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vero-source-dafny", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sunblaze-ucb/vero --skill vero-source-dafny -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sunblaze-ucb/vero vero-source-dafny --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sunblaze-ucb/vero.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/vero-source-dafny .opencode/skills/vero-source-dafny && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "vero-source-dafny" agent skill from https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-source-dafny into .opencode/skills/vero-source-dafny/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "vero-source-dafny", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
vero-source-dafnyLoad BEFORE translating Dafny source to Lean 4. An agent skill from sunblaze-ucb/vero.
Vero Source Dafny is an agent skill from sunblaze-ucb/vero. Load BEFORE translating Dafny source to Lean 4. Provides Dafny-specific classification rules, type mappings, and patterns for mapping Dafny constructs (method / function / predicate / lemma / datatype / class) into the ratified bundle paradigm (Impl/ + Spec/ + Bundle + Harness). Pair with vero-discover, vero-plan, vero-translate, and vero-dafny-pitfalls.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Writing & Content, covering Translation. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 0a7325d. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteEditBashGrepGlobFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are dafny, json and lean).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Vero Source Dafny loads about 2k tokens when it runs. Until then it costs about 94 tokens; SKILL.md has 680 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Write, Edit, Bash, Grep, GlobAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from sunblaze-ucb/vero at commit 0a7325d, republished under its Apache-2.0 licence (© sunblaze-ucb). 680 words, ~2,047 tokens.
.claude/skills/vero-source-dafny/SKILL.md (or your agent's skills folder).Dafny-specific classification and translation patterns for the
ratified curation paradigm. The shape of the emitted Lean is
pinned by reference/BankLedger/ + .claude/skills/vero-translate/SKILL.md —
this skill teaches the language mapping.
.dfy) source (with vero-discover).vero-plan).vero-translate).For each source-side module you translate:
<Project>/Impl/<Module>.lean holds:
namespace Bank … abbrev <Fn>Sig := … per API signature (no
markers).def Bank.<fn> : Bank.<Fn>Sig := <translated reference impl>
wrapped in code / code_aux markers.!curation @review v1 annotations on each reference implementation.<Project>/Spec/<Module>.lean holds only
def spec_<…> (impl : RepoImpl) : Prop := …. Frozen; no markers.
Spec bodies access APIs via impl.<repo_impl_field>.<fn>.
<Project>/Bundle.lean + <Project>/Harness.lean are shared
across modules; translate emits them once per benchmark.
Test.lean carries #guard conformance tests against
Bank.* directly (no Bank.Ref namespace — retired 2026-04-20).
See .claude/skills/vero-translate/SKILL.md for exact file templates.
For each top-level Dafny item, decide what Lean artifact it becomes.
| Dafny item | Lean artifact | Notes |
|---|---|---|
datatype | inductive in Impl (foundation file) | No markers; fully defined. |
type (alias) | abbrev in Impl (foundation file) | No markers. |
type (opaque) | opaque in Impl | No markers; axiomatize via axiom. |
class / trait | structure in Impl + API abbrev <Fn>Sig per method | Methods → API reference implementations (code markers); class invariants often → spec_*. |
method | def Bank.<fn> : Bank.<Sig> := <translated reference impl> in Impl + one spec_* per ensures | ensures clauses translate to specs, not inline theorems. |
function (non-ghost) | Same as method — API with sig + translated body + ensures → spec_*. | |
function (ghost, vocabulary) | Full-body def in Impl or Spec helper — no markers | Vocabulary used by other specs (toSeq, isValid). Body given; not a benchmark task. |
predicate | Prop-returning vocabulary def in Impl or Spec, no markers | |
lemma (states a property worth tracking) | spec_* entry in plan.json | Lemmas become specs in the new paradigm. |
lemma (proof helper only) | Drop from plan — becomes proof_aux downstream | — |
method marked {:axiom} | axiom <name> : <type> in Impl | Documents external guarantees. |
Test (method Main or assert) | #guard in Test.lean | Computable values only. |
Classify by role, not keyword. A function marked ghost in Dafny
that gets used by other specs is vocabulary → Spec helper, no
markers. A method that implements push is an API → code slot,
markers.
| Dafny | Lean 4 |
|---|---|
int | Int |
nat | Nat |
bool | Bool |
string | String |
char | Char |
real | Float (prefer Rat if exact arithmetic matters) |
seq<T> | List T |
seq<char> | String (usually) |
set<T> | List T with uniqueness spec, or Finset T if Mathlib is in scope |
multiset<T> | List T (preserves multiplicity) |
map<K,V> | List (K × V) with uniqueness spec |
array<T> | Array T |
T? (nullable) | Option T |
tuple (T, U) | T × U |
function T -> U | T → U |
datatype Foo = A | B(x: Int) | inductive Foo where | A | B (x : Int) |
Arrows in Lean are → (U+2192), not ->.
Dafny:
method CreateAccount(id: int, ledger: Ledger) returns (r: Ledger)
requires /* … */
ensures /* post */
{ /* impl */ }plan.json entry:
{
"upstream_name": "CreateAccount",
"lean_name": "createAccount",
"sig_abbrev": "CreateAccountSig",
"lean_type": "AccountId → Ledger → Ledger",
"opaque": false,
"nl_description": "Add a new account with the given id to the ledger."
}Emitted Impl:
namespace Bank
abbrev CreateAccountSig := AccountId → Ledger → Ledger
end Bank
-- !benchmark @start code_aux def=createAccount
-- !benchmark @end code_aux def=createAccount
-- !curation @review v1 [ ] createAccount — Impl/Account, code, reference impl
def Bank.createAccount : Bank.CreateAccountSig :=
-- !benchmark @start code def=createAccount
-- translated Dafny body, not `sorry`
...
-- !benchmark @end code def=createAccountWhen Dafny declares requires:
requires; Lean type captures it.(h : <precond>) → <return>.Option <return> or
Except Err <return>.Match the project's other partial APIs for consistency.
ensures on an APIEach ensures clause becomes one spec_* entry:
method Deposit(id: int, amt: nat, l: Ledger) returns (r: Option<Ledger>)
ensures r.Some? ==> Sum(r.value) == Sum(l) + amtplan.json:
{
"name": "spec_deposit_preserves_sum",
"nl_description": "After a successful deposit, the total equals the previous total plus the amount.",
"lean_form": "∀ (id : AccountId) (amt : Balance) (l : Ledger) (l' : Ledger), impl.bankLedger.deposit id amt l = some l' → impl.bankLedger.totalAssets l' = impl.bankLedger.totalAssets l + amt",
"apis_referenced": ["deposit", "totalAssets"],
"curator_intended_truth": "prove"
}Emitted Spec:
/-- After a successful deposit, the total equals the previous total plus the amount. -/
def spec_deposit_preserves_sum (impl : RepoImpl) : Prop :=
∀ (id : AccountId) (amt : Balance) (l : Ledger) (l' : Ledger),
impl.bankLedger.deposit id amt l = some l' →
impl.bankLedger.totalAssets l' = impl.bankLedger.totalAssets l + amtlemmaA lemma whose statement encodes a property the benchmark should track:
lemma DepositCommutes(a b: Value, l: Ledger)
ensures Deposit(a, Deposit(b, l).value) == Deposit(b, Deposit(a, l).value)→ plan.json spec_deposit_commutes (same schema as above).
A pure proof helper (no new property): drop from the plan.
invariant patternclass Ledger {
var accounts: seq<Account>;
predicate Valid() { NoDuplicateIds(accounts) }
method Deposit(id, amt) requires Valid() ensures Valid() { … }
}Ledger struct in Impl foundation file (no markers).Valid is vocabulary — Spec helper def valid : Ledger → Prop if
purely spec; foundation-file helper if also used in Impl code.Deposit → API reference implementation with code markers.requires Valid() + ensures Valid() → one
spec_deposit_preserves_valid.vero-dafny-pitfalls)seq[i] is total with side-condition i < |seq|; Lean
List.get? returns Option. Choose one consistently.multiset semantics don't map cleanly — pick List with explicit
multiplicity spec or document divergence.assume clauses are red flags; surface as !curation @review in
the emitted Impl.Load vero-dafny-pitfalls before translating any non-trivial item.
vero-plan — consumes Dafny classifications.vero-translate — emits Lean per the templates.vero-dafny-pitfalls — Dafny→Lean corner cases.vero-lean-pitfalls — universal Lean traps.© sunblaze-ucb, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/vero-source-dafny of sunblaze-ucb/vero.
Open the folder on GitHubat commit 0a7325d
Vero Source Dafny next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Vero Source Dafny this skillsunblaze-ucb/vero | 107 | — | ~2k | Automated safety check: Notes | Apache-2.0 | |
| Translation Diff ExportDevolutions/UniGetUI | 26k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Sync Translationssymfony/symfony | 31k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Translation Diff ImportDevolutions/UniGetUI | 26k | — | ~750 | Automated safety check: Pass | MIT | |
| Translation Diff TranslateDevolutions/UniGetUI | 26k | — | ~934 | Automated safety check: Pass | MIT | |
| Generate Translationspayloadcms/payload | 45k | — | ~1.1k | Automated safety check: Pass | MIT |
Devolutions/UniGetUI
Compares UniGetUI JSON locale files against English, identifies untranslated or source-changed keys, and generates patch, reference, and handoff files for a target language.
symfony/symfony
Synchronize translation catalogs across maintained Symfony branches: find messages that newer branches added to the English catalogs but that are still missing from the oldest maintained branch…
Devolutions/UniGetUI
Merges translated key-value pairs from a UniGetUI JSON localization patch back into the full language file and validates the merged result.
Devolutions/UniGetUI
Translates a sparse UniGetUI JSON language patch, writes completed entries into the working copy, preserves placeholders and terminology, and prepares the patch for merge-back.
payloadcms/payload
A skill your agent uses when new translation keys are added to packages to generate new translations strings
Narcooo/inkos
Drives long-form fiction, scripts, storyboards, interactive films and long-document translation through InkOS, with every change made by a typed action.
sunblaze-ucb/vero
A skill your agent uses when scanning a verified source repo (Dafny, Verus, or Coq) to classify every item and produce per-file discovery markdown for human curation.
sunblaze-ucb/vero
A skill your agent uses when translating selected verified items from Dafny/Verus/Coq into a compilable Lean 4 benchmark.
sunblaze-ucb/vero
Load BEFORE translating any Coq item to Lean 4 to avoid known Coq→Lean pitfalls.
sunblaze-ucb/vero
Load BEFORE translating any Dafny item to Lean 4 to avoid known Dafny→Lean pitfalls.
sunblaze-ucb/vero
Load BEFORE writing any Lean 4 translation to avoid common Lean pitfalls (universes, coercions, type-class resolution, notation).
sunblaze-ucb/vero
Use after vero-select to write a detailed translation plan as .vero/plan.json — the authoritative contract the TRANSLATE stage executes.
Categories
Load BEFORE translating Dafny source to Lean 4. An agent skill from sunblaze-ucb/vero. Vero Source Dafny is an agent skill from sunblaze-ucb/vero. Load BEFORE translating Dafny source to Lean 4.
Vero Source Dafny fits situations like: tasks that involve Translation.
Run `npx skills add sunblaze-ucb/vero --skill vero-source-dafny -a claude-code`. Or copy the skill folder (.claude/skills/vero-source-dafny in sunblaze-ucb/vero) into .claude/skills/vero-source-dafny in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sunblaze-ucb/vero --skill vero-source-dafny -a codex`. Or copy the skill folder (.claude/skills/vero-source-dafny in sunblaze-ucb/vero) into .agents/skills/vero-source-dafny in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sunblaze-ucb/vero --skill vero-source-dafny -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/vero-source-dafny, .gemini/skills/vero-source-dafny, .github/skills/vero-source-dafny and .opencode/skills/vero-source-dafny in your project.
SKILL.md names no scripts, command-line tools or credentials: Vero Source Dafny is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, Grep, Glob.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Vero Source Dafny is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Vero Source Dafny: Translation Diff Export (Devolutions/UniGetUI, 26k stars), Sync Translations (symfony/symfony, 31k stars), Translation Diff Import (Devolutions/UniGetUI, 26k stars) and Translation Diff Translate (Devolutions/UniGetUI, 26k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
sunblaze-ucb (a GitHub organization) maintains it in sunblaze-ucb/vero, which has 107 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on August 17, 2026.
Source: sunblaze-ucb/vero on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.