/schema-converter:schema-to-go <schema-path> <package-path> <package-name>from schema-converter
A skill that converts JSON Schema to Go struct definitions.
Ships in schema-converter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate inside $package-path in the file $package-name.go the Golang structures according to the local JSON Schema $schema-path.
The generation must follow the coding structure provided below.
// Code generated by AI ({Agent}).
package $package-name
// ObjectName <object description>.
type ObjectName struct {
// PropertyName <the property description>.
PropertyName <the property type> `json:"propertyName,omitempty" yaml:"property_name,omitempty"`
// EnumName <the enum description>.
//
// Enums:
// - <value>
// - <value>
//
// Examples:
// - <value>
// - <value>
EnumName <the enum type> `json:"enumName,omitempty" yaml:"enum_name,omitempty"`
// ChildObject <object description>.
ChildObject *ChildObject `json:"childObject,omitempty" yaml:"child_object,omitempty"`
// ArrayName <array description>.
ArrayName []<the array type> `json:"arrayName,omitempty" yaml:"array_name,omitempty"`
}
// ChildObject <object description>.
type ChildObject struct {
...
}
allOf with $ref, merge both objects into the same struct (fields must be sorted alphabetically).struct fields.{Agent} by the name of the agent runtime you are running in, never the model.For all 'enums' values, the available values must be created as const inside constants.go with below code structure.
// Code generated by AI ({Agent}).
package $package-name
const (
EnumName<Option Name> = <value>
)
const (
AnotherEnumName<Option Name> = <value>
)
const (...) section.{Agent} by the name of the agent runtime you are running in, never the model.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub kilianpaquier/ai-integration --plugin schema-converter