# Regen Schema

> Regenerate docs/schemas/config.schema.json from the Config struct. Use after editing internal/config/config.go.

- **Type:** Skill
- **Install:** `agentstack add skill-chemaclass-agnostic-ai-regen-schema`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Chemaclass](https://agentstack.voostack.com/s/chemaclass)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Chemaclass](https://github.com/Chemaclass)
- **Source:** https://github.com/Chemaclass/agnostic-ai/tree/main/.agnostic-ai/skills/regen-schema
- **Website:** https://chemaclass.github.io/agnostic-ai/

## Install

```sh
agentstack add skill-chemaclass-agnostic-ai-regen-schema
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Chemaclass](https://github.com/Chemaclass)
- **Source:** [Chemaclass/agnostic-ai](https://github.com/Chemaclass/agnostic-ai)
- **License:** MIT
- **Homepage:** https://chemaclass.github.io/agnostic-ai/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-chemaclass-agnostic-ai-regen-schema
- Seller: https://agentstack.voostack.com/s/chemaclass
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
