regen-schema · git:20261009.6f28305 · 2026-10-09 · sha256 b4a04893c82605ac

regen-schema git:20261009.6f28305A

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

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_yvnyi7hxcv55gjwq/b4a04893c82605ac86c22c44db4721061184e23ea419a0dcadf31f3b0e4c613a.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 generated 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 are committed separately.

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