CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

quint-lang

Quint language and CLI reference — the expert on Quint syntax, operators, types, `basicSpells`, the toolchain (typecheck/run/test/verify), and how to read simulation and counterexample output. Use when writing or debugging the contents of a `.qnt` file, fixing a typecheck/parse error, looking up an operator or idiom, analyzing an invariant violation or counterexample trace, or optimizing state-space exploration. This is for working IN Quint at the language level — not for analyzing or running TLA+/TLC itself. For building a NEW model end-to-end from some source — including translating a TLA+ spec into Quint, or modeling code/requirements/an idea — use the quint-modeling skill, which owns that workflow and consults this reference for syntax. Keywords: quint, syntax, operators, typecheck, model checking, counterexample, basicSpells, CLI, specification language.

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is quint-lang in crocoder-dev/shared-context-engineering

SKILL.md
Quality
Evals
Security

Quality

Content

78%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A dense, highly executable language reference with excellent code examples, useful anti-pattern guidance (grouped records, idiomatic updates), and embedded validation loops like the assume-check pattern. The two real defects are the triple-repetition of variable-grouping guidance and the Guidelines section pointing at seven `guidelines/*.md` files that are absent from the bundle, leaving progressive disclosure's navigation dangling.

Suggestions

Include the seven `guidelines/*.md` files (operators, simulations, constraints, cli, patterns, tests, choreo) in the bundle — or remove/trim the Guidelines table — so the body's references resolve to real files.

Consolidate the three overlapping treatments of variable grouping (State variables, Records → when to group, and the Variable grouping decision guide) into one section with the decision table.

Add a short ordered validation workflow (e.g. `quint typecheck` → `quint test` → `quint run`/`verify`) so the toolchain sections form a coherent sequence rather than isolated commands.

DimensionReasoningScore

Conciseness

The body is a lean operator/idiom reference — tables like the Set/List/Map operator blocks and the basicSpells table earn their tokens. However, the variable-grouping guidance is repeated three times ("State variables", "Records → when to group variables", and the "Variable grouping — decision guide" section), and the intro ("Quint is an executable specification language for complex systems, developed by Informal Systems") plus "Records group related fields into a named type" explain background Claude could be assumed to know. This fits "efficient; minor instances of over-explanation that could be trimmed" (4) rather than the every-token-earns-its-place level (5).

4 / 5

Actionability

Nearly every section is copy-paste-ready executable Quint: full module skeletons, working `Set(1,2,3).fold(...)` examples, concrete record-update forms (`{ ...n, phase: Propose }` vs `.with()`), a working nondet pattern, and specific CLI commands (`quint typecheck`, `quint test`, `quint -r spec.qnt::ModuleName`). The common cases (lookup an operator, write/update records, nondet choice, check an invariant) are covered with real, complete syntax — the score-5 anchor. The few `// ...` placeholders are justified elision in a reference, not pseudocode.

5 / 5

Workflow Clarity

The reference includes real sequences with checkpoints: the assume section gives a check-then-fail loop ("write a `run` test that asserts it... the test fails (reporting which conjunct broke)"), and the file-layout section gives a decision table for which `--main` to pass to `quint run` plus explicit module responsibilities ("`step` must live in the main module"). What keeps it at 4 rather than 5: there is no stated validation order (e.g. typecheck → test → verify) tying the toolchain into a coherent protocol, and REPL guidance is a single line rather than a sequence.

4 / 5

Progressive Disclosure

Structure and signaling are good — a clearly labeled "Guidelines" table maps each `guidelines/*.md` file to its contents (one level deep, easy to navigate). But scored against the actual bundle, none of the seven referenced files (`guidelines/operators.md`, `simulations.md`, `constraints.md`, `cli.md`, `patterns.md`, `tests.md`, `choreo.md`) exist — there is no `guidelines/` directory (nor `references/`, `scripts/`, or `assets/`). The navigation is broken in practice, which lands between "references present but not clearly signaled" (3) and clearly below the good-structure level (4), where references would be real and resolvable.

3 / 5

Total

16

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An exemplary description: it states concrete capabilities, gives explicit "Use when..." triggers with natural keywords and file extensions, and includes boundary guidance against both TLA+/TLC and the sibling quint-modeling skill. It is dense rather than padded — every clause disambiguates or triggers.

DimensionReasoningScore

Specificity

Quotes: "the expert on Quint syntax, operators, types, `basicSpells`, the toolchain (typecheck/run/test/verify), and how to read simulation and counterexample output" plus concrete actions like "fixing a typecheck/parse error", "analyzing an invariant violation or counterexample trace", and "optimizing state-space exploration". This lists multiple specific concrete capabilities with comprehensive coverage, matching the score-5 anchor; it is well above the score-4 anchor's "minor gaps in coverage".

5 / 5

Completeness

Both questions answered explicitly: "what" ("Quint language and CLI reference — the expert on Quint syntax, operators, types...") and "when" ("Use when writing or debugging the contents of a `.qnt` file, fixing a typecheck/parse error, looking up an operator or idiom..."). This is the score-5 pattern of a clear what followed by concrete "Use when..." trigger phrases, not the score-4 anchor where "when" could be more specific.

5 / 5

Trigger Term Quality

Natural trigger phrases: "writing or debugging the contents of a `.qnt` file", "fixing a typecheck/parse error", "looking up an operator or idiom", "invariant violation", "counterexample trace" — plus an explicit keyword list ("quint, syntax, operators, typecheck, model checking, counterexample, basicSpells, CLI, specification language") that includes the file extension. Coverage including synonyms and extensions matches the score-5 anchor.

5 / 5

Distinctiveness Conflict Risk

The description actively de-conflicts: "not for analyzing or running TLA+/TLC itself" and "use the quint-modeling skill, which owns that workflow". It carves a clear niche (language-level Quint work) with explicit boundaries against the two most confusable neighbors, matching the score-5 anchor's "clear niche with distinct triggers; minimal conflict risk".

5 / 5

Total

20

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (564 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository

crocoder-dev/shared-context-engineering

Path

.claude/skills/quint-lang/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.