regen-schema · git:20261024.50c112d · 2026-10-24 · sha256 0f9ff40bf9eba006
regen-schema git:20261024.50c112dA
Immutable. This exact content never changes and is served at /api/v1/blob/0f9ff40bf9eba006.
No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_yvnyi7hxcv55gjwq/0f9ff40bf9eba0060adf4ed0692e105fc478c69fab7321175141e2ff680929b7.json
Then /plugin install regen-schema@markdownregistry-yvnyi7hxcv55gjwq in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.
--- name: regen-schema description: Regenerate docs/schemas/config.schema.json after changes to config fields, schema tags, nested types, or cmd/schemagen mappings. --- # 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.