Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generate Zod/JSON Schema configuration validators with defaults and error messages.
.claude/skills/a5c-ai-config-schema-validator/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -46% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -35% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 12% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -36% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -18% | 0% |
Generate configuration schema validators.
typescriptimport { z } from 'zod'; export const configSchema = z.object({ server: z.object({ host: z.string().default('localhost'), port: z.number().int().min(1).max(65535).default(3000), cors: z.object({ origins: z.array(z.string().url()).default(['*']), credentials: z.boolean().default(false), }).default({}), }).default({}), logging: z.object({ level: z.enum(['debug', 'info', 'warn', 'error']).default('info'), format: z.enum(['json', 'pretty']).default('pretty'), }).default({}), }).strict(); export type Config = z.infer<typeof configSchema>; export function validateConfig(input: unknown): Config { return configSchema.parse(input); } export function getConfigWithDefaults(partial: Partial<Config> = {}): Config { return configSchema.parse(partial); }
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 15,809 | 7,248 | -54% | 1 | 1 | 0% | 3,389 | 1,831 | -46% | 0 | 0 | — |
case-02 | fail→pass | 14,677 | 7,841 | -47% | 1 | 1 | 0% | 2,440 | 1,584 | -35% | 0 | 0 | — |
case-03 | fail→pass | 12,211 | 11,598 | -5% | 1 | 1 | 0% | 2,646 | 2,963 | +12% | 0 | 0 | — |
case-04 | fail→fail | 11,399 | 4,843 | -58% | 1 | 1 | 0% | 2,560 | 1,265 | -51% | 0 | 0 | — |
case-05 | pass→pass | 7,217 | 5,233 | -27% | 1 | 1 | 0% | 1,772 | 1,428 | -19% | 0 | 0 | — |
case-06 | fail→fail | 8,160 | 5,278 | -35% | 1 | 1 | 0% | 1,656 | 1,407 | -15% | 0 | 0 | — |
case-07 | fail→fail | 9,711 | 5,139 | -47% | 1 | 1 | 0% | 1,793 | 1,234 | -31% | 0 | 0 | — |
case-08 | fail→fail | 13,611 | 10,136 | -26% | 1 | 1 | 0% | 2,711 | 2,353 | -13% | 0 | 0 | — |
case-09 | fail→pass | 11,337 | 8,001 | -29% | 1 | 1 | 0% | 2,430 | 1,567 | -36% | 0 | 0 | — |
case-10 | fail→pass | 5,513 | 3,729 | -32% | 1 | 1 | 0% | 1,089 | 893 | -18% | 0 | 0 | — |
case-11 | fail→pass | 8,912 | 5,897 | -34% | 1 | 1 | 0% | 1,510 | 1,290 | -15% | 0 | 0 | — |
case-12 | fail→pass | 12,604 | 4,656 | -63% | 1 | 1 | 0% | 2,070 | 1,128 | -46% | 0 | 0 | — |
case-13 | fail→pass | 9,690 | 3,318 | -66% | 1 | 1 | 0% | 1,663 | 942 | -43% | 0 | 0 | — |
case-14 | fail→fail | 5,583 | 2,711 | -51% | 1 | 1 | 0% | 948 | 809 | -15% | 0 | 0 | — |
case-15 | fail→fail | 8,914 | 4,256 | -52% | 1 | 1 | 0% | 1,712 | 1,063 | -38% | 0 | 0 | — |
case-16 | fail→pass | 2,809 | 1,695 | -40% | 1 | 1 | 0% | 384 | 469 | +22% | 0 | 0 | — |
case-17 | fail→pass | 3,494 | 1,646 | -53% | 1 | 1 | 0% | 568 | 531 | -7% | 0 | 0 | — |
case-18 | fail→pass | 17,950 | 8,395 | -53% | 1 | 1 | 0% | 3,085 | 2,218 | -28% | 0 | 0 | — |
case-19 | fail→pass | 11,714 | 9,096 | -22% | 1 | 1 | 0% | 2,542 | 2,428 | -4% | 0 | 0 | — |
case-20 | fail→fail | 14,310 | 7,909 | -45% | 1 | 1 | 0% | 2,993 | 1,929 | -36% | 0 | 0 | — |
case-21 | fail→fail | 13,207 | 11,666 | -12% | 1 | 1 | 0% | 2,626 | 2,896 | +10% | 0 | 0 | — |
case-22 | fail→fail | 10,325 | 9,483 | -8% | 1 | 1 | 0% | 2,062 | 2,340 | +13% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +55 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.