vstack-s2-spec — скилл для Claude Code: что делает и установка
Скилл vstack-s2-spec для Claude Code фиксирует проверяемые свойства системы и условия их проверки. Он включается при подготовке спецификации по утверждённому проекту S1 и матрице обязательств.
MIT ★ 89 обновлён 2026-11-16
/plugin marketplace add hao-ai-lab/vstack
/plugin install vstack@hao-ai-lab-vstackЧто делает vstack-s2-spec
Скилл помогает описать наблюдаемое поведение системы, явные ограничения и условия, при которых утверждения верны. Он размечает свойства по классам, учитывает требования потребителей и исторические ошибки, а также проверяет законные граничные случаи и примеры недопустимого поведения. Перед фиксацией спецификации нужно откалибровать примеры и минимальный масштаб проверки.
Координатор закрепляет одобренный текст, эталонную модель и настройки проверок; владелец свойства утверждает их. Скрипт scripts/check_spec_pins.sh ROOT PINS сравнивает закреплённые данные, а набор проверок запускается на эталонной модели. Часть проверки полноты выполняется вручную. Для изменения свойства нужен новый вердикт владельца, повторная проверка регрессий и закрепление версии; прежние результаты доказательства не переносятся.
Какие задачи решает
- зафиксировать наблюдаемое поведение и явные ограничения системы
- разобрать допустимые и недопустимые граничные случаи
- сопоставить свойства с классами проверок и требованиями потребителей
- закрепить одобренную спецификацию и настройки проверок
Примеры запросов агенту
- Подготовь спецификацию по утверждённому проекту S1 и матрице обязательств.
- Опиши проверяемое поведение и явные ограничения для этого протокола.
- Проверь примеры недопустимого поведения и условия эталонной модели.
Как установить vstack-s2-spec
1Через маркетплейс плагинов
/plugin marketplace add hao-ai-lab/vstack/plugin install vstack@hao-ai-lab-vstackКоманда ставит плагин vstack целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add hao-ai-lab/vstack --skill vstack-s2-spec -a claude-code3Вручную: положить файлы
~/.claude/skills/vstack-s2-spec/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/vstack-s2-spec/
1Через Skills CLI (Vercel)
npx skills add hao-ai-lab/vstack --skill vstack-s2-spec -a codex2Вручную: положить файлы
.agents/skills/vstack-s2-spec/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add hao-ai-lab/vstack --skill vstack-s2-spec -a cursor2Вручную: положить файлы
.cursor/skills/vstack-s2-spec/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install hao-ai-lab/vstack skills/vstack-s2-spec2Вручную: положить файлы
.github/skills/vstack-s2-spec/SKILL.md1Через Skills CLI (Vercel)
npx skills add hao-ai-lab/vstack --skill vstack-s2-spec -a gemini-cli2Командой платформы
gemini skills install https://github.com/hao-ai-lab/vstack --path skills/vstack-s2-specВручную: положить файлы
.devin/skills/vstack-s2-spec/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о vstack-s2-spec
Как установить vstack-s2-spec в Claude Code?
Выполни команды по порядку: /plugin marketplace add hao-ai-lab/vstack, затем /plugin install vstack@hao-ai-lab-vstack.
Что делает vstack-s2-spec?
Он формирует проверяемые спецификации и эталонную модель, фиксирует настройки проверок и помогает откалибровать допустимые и недопустимые случаи.
Какие входные данные нужны vstack-s2-spec?
Нужны утверждённый проект S1 и матрица обязательств. Одобрение спецификации даёт владелец свойства.
Исходный текст
SKILL.md · MIT
--- name: vstack-s2-spec description: "Derive observable contracts, calibrate both legal and illegal behavior, then freeze owner-approved specifications and configurations." --- # S2 — Freeze specifications and contracts Read [Layer 0: shared operating rules](../../docs/layer-0.md), this stage and the assigned input bundle. ## Role and write scope The coordinator writes top-level promises and pins; the property owner approves them. Workers supply anchored evidence and staged proposals. ## 1. Input The approved S1 design and obligation matrix. ## 2. Procedure 1. Write a short, reviewable statement of observable consequences and explicit non-goals. Use [contract discovery](../../docs/contracts.md) and [the card template](../../templates/contract-card.md). Name each property clause's pillar and formal class from [property classes](../../docs/method-selection.md#property-classes-and-the-seven-pillars); the class decides the checker and whether fairness is needed. 2. Require top-level decomposition plus historical bugs or consumer requirements; complete one-step induction for ledger and protocol families. Scan all seven consumer-precondition categories. 3. Calibrate negative examples, legal edge behavior, witnesses and minimum scale before freezing. S4 repeats calibration on the complete model. 4. Expose environment assumptions and ambiguous semantics as sourced switches. State which interpretation each claim requires. 5. Have the coordinator pin the approved text, ideal model and check configurations: S2 freezes the property clauses and the ideal reference model of the [three artifacts](../../docs/contracts.md#three-artifacts); S3 builds the code-anchored model against them. Before deductive proof, also freeze the complete inductive invariant and root statement, including explicit parameter ranges and configuration premises. Check content hashes before every counted run. ## 3. Exit checks - Check approval, provenance, consumer scans and calibration records for completeness. This is partly manual. - Require `scripts/check_spec_pins.sh ROOT PINS` to succeed; it compares pinned bytes mechanically. - Run the approved bad-implementation suite against the frozen ideal: bad cases must fail and controls must pass. These project-specific runs do not grant approval. ## 4. Rollback Report an overly strong property or missing assumption with [a rollback ticket](../../templates/rollback.md). Stage the change, compare full regressions, obtain a new property-owner decision, then let the coordinator independently rerun and re-pin. An invariant change requires new Init and affected preservation checks in the same tree, then fresh acceptance. Old proof results do not carry over. ## Concrete Examples For a PD KV slot, a posted write must not simply disappear from the ideal model. Freeze that promise and the configurations that check it; revise them only through the property owner and coordinator.
© Hao AI Lab · MIT · hao-ai-lab/vstack