Command Palette

Search for a command to run...

Назад к скиллам
скилл № 81726

Specify

Write, check, refresh formal-area skills: bare proposes; create PROMISE writes model/skill (catches seeded break); check gates contract; refresh realigns…

БесплатноБез исполняемых скриптов
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Specify в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Specify

Arguments. [create [<promise>]|check [<dir> ...]|refresh [<dir> ...] [--convert <dir>]] [--unattended]. Each <dir> is a skill folder; --unattended applies to create and refresh. Quote a promise of more than one word. e.g. /formal-verification:specify, /formal-verification:specify create "a claimed item has one holder", /formal-verification:specify check, /formal-verification:specify refresh

A test checks the cases that someone thought to write. Formal verification checks every case in a stated scope: every order of steps in a model, every input up to a bound, or every input. This skill finds the part of the repo where that matters most, verifies one property of it, and leaves a formal-<area> skill that lets the next agent check a change against that property. That skill follows the formal-area contract (${CLAUDE_PLUGIN_ROOT}/reference/formal-skill.md); read it before any form below.

The reference files write this plugin's folder as <plugin-root>, which is ${CLAUDE_PLUGIN_ROOT}; when the plugin is not installed and runs from a checkout of its source, it is the folder that holds its .claude-plugin/plugin.json. "$PWD" in a command is the repository root: pass its absolute path where the shell's working directory does not carry between calls.

This skill names no verification tool. The question and the repository choose it, by reference/choose-a-tool.md, and the choice is recorded only in the area's formal-<area> skill, under ## Tool and why.

Forms

Form Writes What it does
bare nothing Proposes the target.
create "<promise>" the formal-<area> folder, after the yeses below Builds and proves one check.
create with no promise nothing until a yes Shows the bare form's proposal and waits for a yes.
create --unattended nothing A dry run: the plan, and the open questions a person must answer.
check [SKILL_DIR...] nothing Runs the contract gate over each formal-<area> skill.
refresh [SKILL_DIR...] the formal-<area> folder, in a commit of its own Brings each check back in line with the code.
refresh --convert SKILL_DIR that skill, as a formal-<area> folder Converts a verification skill outside the contract, attended only.

A run with no person present (a lane, CI, a model that invoked this skill with nobody to answer) is unattended, whatever its arguments.

Bare: propose

Follow reference/create.md "Choose the target from the code" and "Let the question choose the tool", and stop before anything is written. Give the strongest candidate first, then up to two more, each as:

  • Promise: one plain sentence, with the file and line that makes it.
  • Harm: what breaks for a user when it fails, in one plain sentence.
  • Tool: the tool and why, and whether it runs here: declared by this plugin's setup, found on this machine, or missing (with its official install page).
  • Folder: the formal-<area> folder create would write, under the skills_dir setting.

Say once whether the repository's project instructions opt in to formal verification (reference/create.md "Before anything" step 2). Then name the command that takes it: /formal-verification:specify create "<promise>".

create

Follow reference/create.md from the top. It checks the enforcement ladder's opt-in first: without it, it goes on only on an attended yes for this run, and an unattended run reports blocked: formal verification not opted in. It reads every existing formal-* skill first, asks before it records a tool, makes its seeded break in a throwaway git worktree, and hands off only after the check caught that break. Its opt-in check reads the enforcement ladder "Tier 3: Verification".

check

Run the contract check. It reads each formal-<area> skill and its sync.yaml, and edits nothing:

node "${CLAUDE_PLUGIN_ROOT}/scripts/check.mjs" --project-dir "$PWD" [--default-ref <ref>] [SKILL_DIR...]

With no folder named it checks every formal-* folder under the skills_dir setting. Pass --default-ref with the default branch's tip, read from its remote, as any ref or SHA git resolves to a commit (a remote-tracking branch or the fetched SHA), so a sync commit that only the working branch holds fails now rather than after the merge. It prints one FAIL or WARN line per finding and a summary, and exits 0 with no failure, 1 with one, 2 when it cannot run. The findings it reports are listed in the contract's "The contract check". Report the lines as printed. A stale-coverage warning means the check needs another look, not that it fails: say which check and which files.

refresh

Follow reference/refresh.md from the top. It finds each check, runs it unchanged, reads ev

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • reference/choose-a-tool.md
  • reference/create.md
  • reference/enforcement-ladder.md
  • reference/refresh.md

FAQ

Что делает скилл Specify?

Write, check, refresh formal-area skills: bare proposes; create PROMISE writes model/skill (catches seeded break); check gates contract; refresh realigns checks with changed code. Use when: 'what should we formally verify', 'prove this invariant', 'check our formal skills', 'is the model still true', or race/state machines need more than tests.

Как установить скилл Specify?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Specify запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Specify с