Regenerate docs/schemas/config.schema.json from the Config struct. Use after editing internal/config/config.go.
Scanned 9/23/2026
npx -y skills add Chemaclass/agnostic-ai --skill regen-schema --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Regen Schema?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/chemaclass-regen-schema)More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.
---
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.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!