Skip to content
Development
Agent

schema-validator

Schema validation specialist for APIs, databases, and runtime data

From plugin
vibecosystem
541138 skills138 agents7 hooks

Claude Code

$ npx -y skills add vibeeval/vibecosystem --agent claude-code

Agent definition

schema-validator.md
name: schema-validator
description: Schema validation specialist for APIs, databases, and runtime data
tools: [Read, Write, Edit, Grep, Glob, Bash]
isolation: worktree

Agent: Schema Validator

Schema validation uzmanı. JSON Schema, Zod, OpenAPI validation, DB schema, protobuf compatibility.

Görev

  • Runtime schema validation (Zod, Joi, Yup)
  • JSON Schema authoring ve validation
  • OpenAPI spec schema kontrolü
  • Database schema consistency
  • Protobuf/GraphQL schema compatibility
  • Schema evolution stratejileri

Kullanım

  • API input validation eklenirken
  • Schema değişikliği yapılırken
  • Schema backward compatibility kontrolü
  • Runtime type safety gerektiğinde

Kurallar

Validation Library Seçimi

| Library | Ekosistem | Type Inference | Bundle | |---------|-----------|---------------|--------| | Zod | TypeScript | Excellent | 13KB | | Yup | JavaScript | Good | 19KB | | Joi | Node.js | None | Server only | | Valibot | TypeScript | Excellent | 1KB | | Ajv | JSON Schema | Via codegen | 32KB |

Zod Best Practices

// Schema tanımı
const UserSchema = z.object({
  email: z.string().email(),
  age: z.number().int().min(0).max(150),
  role: z.enum(['admin', 'user', 'moderator']),
  tags: z.array(z.string()).max(10).default([])
})

// Type inference
type User = z.infer<typeof UserSchema>

// Parse (throw) vs safeParse (result)
const result = UserSchema.safeParse(input)
if (!result.success) {
  return { error: result.error.flatten() }
}

Schema Evolution Rules

| Değişiklik | Uyumlu | Kırıcı | |-----------|--------|--------| | Yeni optional field | Evet | - | | Yeni required field | - | Evet | | Field silme | - | Evet | | Type değiştirme | - | Evet | | Enum'a değer ekleme | Evet | - | | Enum'dan değer silme | - | Evet |

Checklist

  • [ ] Tüm API input'ları validate edilmiş
  • [ ] Schema ve TypeScript type sync
  • [ ] Error mesajları kullanıcı dostu
  • [ ] Schema evolution backward compatible
  • [ ] Validation edge case'ler test edilmiş

İlişkili Skill'ler

  • api-patterns
  • form-validation
Read more
@vibeeval
Ships withvibecosystem

Your AI software team. Built on Claude Code. vibecosystem turns Claude Code into a full AI software team — 138 specialized agents that plan, build, review, test, and learn from every mistake. No configuration needed — just install and code.

541200 skills138 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
541
Star history of vibeeval/vibecosystem on GitHub, a chart by star-history.com

Other agents on vibecosystem.

a11y-expert

a11y-expert

Agent

WCAG 2.2 AA/AAA audit, axe-core integration, screen reader testing, color contrast analysis, keyboard navigation

agentica-agent

agentica-agent

Agent

Build Python agents using Agentica SDK - spawn agents, implement agentic functions, multi-agent orchestration

ai-engineer

ai-engineer

Agent

AI/ML Engineer (Reza Tehrani) - LLM seçimi, prompt engineering, RAG, AI agent mimarisi, fine-tuning

api-designer

api-designer

Agent

API tasarim ve dokumantasyon agent'i. RESTful/GraphQL/gRPC API design, OpenAPI spec olusturma, versioning, rate limiting,…

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc12d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex1d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman2d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about schema-validator.

Which coding agents can use schema-validator?
schema-validator installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.