regen-schema · git:20260513.6483052 · 2026-05-13 · sha256 0fa47b419b4f68e9

regen-schema git:20260513.6483052A

Immutable. This exact content never changes and is served at /api/v1/blob/0fa47b419b4f68e9.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_yvnyi7hxcv55gjwq/0fa47b419b4f68e9f55f5aa20e364de33dbe24f170db6352b8da12616f99137c.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 from the Config struct. Use after editing internal/config/config.go.
---

# regen-schema

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

## When to run

Any of:

- Added, removed, or renamed a field on `config.Config`, `config.Output`, `config.Sources`, or `config.Gitignore`.
- Changed a struct tag (`yaml:` or `json:`) on those types.
- Bumped the schema `version`.

## 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. Commit the regenerated schema alongside the struct change. CI's `Schema drift` job fails if they land separately.

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