MCPcopy Create free account
hub / github.com/codeaashu/claude-code / generateSettingsSchema

Function generateSettingsSchema

src/skills/bundled/updateConfig.ts:10–13  ·  view source on GitHub ↗

* Generate JSON Schema from the settings Zod schema. * This keeps the skill prompt in sync with the actual types.

()

Source from the content-addressed store, hash-verified

8 * This keeps the skill prompt in sync with the actual types.
9 */
10function generateSettingsSchema(): string {
11 const jsonSchema = toJSONSchema(SettingsSchema(), { io: 'input' })
12 return jsonStringify(jsonSchema, null, 2)
13}
14
15const SETTINGS_EXAMPLES_DOCS = `## Settings File Locations
16

Callers 1

getPromptForCommandFunction · 0.85

Calls 1

jsonStringifyFunction · 0.85

Tested by

no test coverage detected