Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

regen-schema

БесплатноБез исполняемых скриптовНе проверен

Use after changing config fields, schema tags, nested types or cmd/schemagen mappings

Chemaclassот Chemaclass★ 31 звезда на GitHub

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

regen-schema

The JSON Schema published at docs/schemas/config.schema.json is generated from the config.Config Go struct.

When to run

Any of:

  • Changed a field on config.Config or a type it contains, including nested types in other internal/config/ files.
  • Changed a serialized name or schema constraint (yaml:, json:, jsonschema:, or jsonschema_description:).
  • Changed reflection or custom type mappings in cmd/schemagen/main.go.

Changing only the numeric config version does not itself change the reflected schema. Regenerate when its schema representation changes.

Steps

  1. go run ./cmd/schemagen from the repo root.
  2. git diff docs/schemas/config.schema.json to confirm the change is what you intended.
  3. Include any schema diff with the source change. CI's Schema drift job regenerates it and fails on a diff. A source-only change that leaves the schema identical needs no artificial schema edit.

Never hand-edit the schema file. The next regen overwrites it.

Установить regen-schema в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл regen-schema?

Use after changing config fields, schema tags, nested types or cmd/schemagen mappings

Как установить скилл regen-schema?

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

Скилл regen-schema запускает скрипты?

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

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

Сравнить regen-schema с