amitray007

Claude Code Schema — Development skill for Claude Code

Development community

Machine-readable, versioned schema of Claude Code's configuration surface — settings, env vars, CLI flags, and keybindings, auto-generated per release.

How to install Claude Code Schema

This entry records only its repository, not the path inside it, so there is no exact command to give. Open amitray007/claude-code-schema and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Schema does

Machine-readable, versioned schema of Claude Code's configuration surface — settings, env vars, CLI flags, and keybindings, auto-generated per release.

Alternatives in Development

README

claude-code-schema

A machine-readable, versioned description of selected **Claude Code configuration interfaces**: validation schemas for `settings.json` and `keybindings.json`, an environment-map schema, and catalogs for CLI flags and default keybindings.

It is purpose-built for Claude Code and **auto-maintained**: keyed on the actual npm release, grounded in first-party sources, and independently checked against the integrity-verified release binary. SchemaStore is a benchmark, not a generation dependency.

**Status:** production generator, validation suite, release discovery, review workflow, and publication staging are implemented. [`experiments/`](experiments/) retains the four source-strategy proofs that established the production design.

Release files

Start with `settings.schema.json` for `settings.json`, or `environment.schema.json` for environment variables. Both files are self-contained; the settings schema bundles the environment schema for its `env` field.

File Contains
catalog.json Entry point and file guide
settings.schema.json settings.json keys and validation
settings.catalog.json Settings source and runtime evidence
environment.schema.json Environment-variable names and validation
environment.catalog.json Environment source and binary evidence
cli.catalog.json CLI commands, arguments, and options
global-config.schema.json ~/.claude.json validation
keybindings.schema.json ~/.claude/keybindings.json validation
keybindings.compat.schema.json More permissive keybinding validation